[lsb-discuss] ISV building LSB 3.1 compliant packages needs help getting Requires line right
Dan Kegel
dank at kegel.com
Wed Jul 2 14:17:21 PDT 2008
If I'm an ISV building an rpm package that depends on LSB 3.1,
what should one give in the Requires line?
http://refspecs.linux-foundation.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/pkgdepend.html
implies
Requires : lsb-core-noarch = 3.0 lsb-core-ia32 = 3.0
http://refspecs.linux-foundation.org/LSB_3.1.0/LSB-Desktop-generic/LSB-Desktop-generic/desktoppkg.html
also implies you want a dependency on lsb = 3.1. So:
Requires : lsb = 3.1 lsb-core-noarch = 3.0 lsb-core-ia32 = 3.0
Problem is, if you follow this, your package won't install, because
most distributions seem to provide
lsb = 3.1 lsb-core-noarch = 3.1 lsb-core-ia32 = 3.1
So, what's a poor ISV to do? Is it safe to do
lsb = 3.1 lsb-core-noarch >= 3.0 lsb-core-ia32 >= 3.0
or should one ignore the standard, follow what distros seem to be doing, and do
lsb = 3.1 lsb-core-noarch = 3.1 lsb-core-ia32 = 3.1
?
More information about the lsb-discuss
mailing list