[pacman-dev] Version specs in replaces
Dan McGee
dpmcgee at gmail.com
Wed Feb 16 19:42:25 EST 2011
So the first command makes sense, and at least right now we parse
conflicts like we do depends- we allow version specifiers. However, I
found the oddity with REPLACES when doing some archweb work tonight.
Should we be allowing this? Should it be restricted to '=' only like
provides? I'm not sure, so please chime in.
On this note, it would probably be good to make sure we have all the
proper definitions nailed down in the manpage, as well as sanity
checks in makepkg:
depends: name[(=|<|<=|>=|>)version]
makedepends: name[(=|<|<=|>=|>)version] (same as depends)
checkdepends: name[(=|<|<=|>=|>)version] (same as depends)
optdepends: name[(=|<|<=|>=|>)version][: description] (this one is a bit tricky)
conflicts: name[(=|<|<=|>=|>)version] (same as depends)
provides: name[=version]
replaces: name (???)
-Dan
dmcgee at galway ~/projects/archweb (master)
$ zcat /tmp/updaterepos/i686/*.db.tar.gz | grep -A 1 -a CONFLICTS |
grep -a '[=><]' | sort | uniq
abiword-plugins<2.8.6-4
cloog-ppl<0.15.10-2
dbus<1.2.3-2
gnome-panel<2.31.92
gstreamer0.10-bad<=0.10.17
gtkmm<2.13.0
libx11<1.1.99.2
mesa<7.9
mkinitcpio<0.5.99
mlt++<=0.3.8
nexuiz<2.5.1-3
nvidia-utils<190.42-2
poppler<0.10.5
poppler-qt3<0.16.2
python<3
qt4-doc=4.7.1
tremulous<=1.1.0-5
wesnoth<1.8.5
xf86-video-ati<6.9.0-6
xf86-video-mach64<6.8.2
xf86-video-mga<1.4.11
xf86-video-r128<6.8.1
xf86-video-savage<2.3.1
xf86-video-sis<0.10.2
xf86-video-tdfx<1.4.3
xorg-server<1.9.0
dmcgee at galway ~/projects/archweb (master)
$ zcat /tmp/updaterepos/i686/*.db.tar.gz | grep -A 1 -a REPLACES |
grep -a '[=><]' | sort | uniq
haskell-array<0.3.0.1
More information about the pacman-dev
mailing list