[arch-general] provide with version
Hello everybody, I would like to replace xz 5.0.3-1 with xz-git 20111203-1. I added provides([...] 'xz') to the PKGBUILD, but the dependencies for libarchive (requires xz>=5.0.0) are not met. Any chance I can fix that? -- Best regards, Chris
On 03/12/11 14:36, Christian Hesse wrote:
Hello everybody,
I would like to replace xz 5.0.3-1 with xz-git 20111203-1. I added
provides([...] 'xz')
to the PKGBUILD, but the dependencies for libarchive (requires xz>=5.0.0) are not met. Any chance I can fix that?
Use provides(xz=5.0.0), more info on [1] [1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides -- Alex Ferrando
Alex Ferrando <alferpal@gmail.com> on Sat, 03 Dec 2011 15:43:05 +0100:
On 03/12/11 14:36, Christian Hesse wrote:
Hello everybody,
I would like to replace xz 5.0.3-1 with xz-git 20111203-1. I added
provides([...] 'xz')
to the PKGBUILD, but the dependencies for libarchive (requires xz>=5.0.0) are not met. Any chance I can fix that?
Use provides(xz=5.0.0), more info on [1]
Uh, I tried with '>' and '>='... Thanks a lot, works like a charm! -- Schoene Gruesse Chris
Alex Ferrando wrote:
Use provides(xz=5.0.0), more info on [1]
Shouldn't this be "provides=('xz=5.0.0')"? Afterall, this is an array variable? Or is there a bash function provides() of the same name? clemens
On 04/12/11 16:01, clemens fischer wrote:
Alex Ferrando wrote:
Use provides(xz=5.0.0), more info on [1]
[1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides Shouldn't this be "provides=('xz=5.0.0')"? Afterall, this is an array variable? Or is there a bash function provides() of the same name?
clemens
That's right, it should have been provides=('xz=5.0.0'). I wrote it wrong. I didn't realize of the typo until now -- Alex Ferrando
Alex Ferrando <alferpal@gmail.com> on Sun, 04 Dec 2011 16:30:42 +0100:
On 04/12/11 16:01, clemens fischer wrote:
Alex Ferrando wrote:
Use provides(xz=5.0.0), more info on [1]
[1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides Shouldn't this be "provides=('xz=5.0.0')"? Afterall, this is an array variable? Or is there a bash function provides() of the same name?
clemens
That's right, it should have been provides=('xz=5.0.0'). I wrote it wrong. I didn't realize of the typo until now
Hmm... Did not notice the typo as well... I used the correct syntax automatically. Being a human can be bad and good. :D -- Best regards, Chris
Christian Hesse wrote:
Hmm... Did not notice the typo as well... I used the correct syntax automatically. Being a human can be bad and good. :D
Right. But people consulting mailinglists might not know all the ins and outs. Therefore writing precise statements and citing without cut&paste errors might - for somebody else unbeknownst to the writer(!) - be the difference between "Ah! works! Nice!" and "Oh well, this is like micro$oft/apple, gotta live with it afterall". And it is about taking risks: Do I get hurt by slipping on the bar of soap I myself dropped earlier, or do I hurt somebody else I do not even know or care about by driving drunk? People will call it an accident either way. clemens
participants (3)
-
Alex Ferrando
-
Christian Hesse
-
clemens fischer