defining requries in RPM's
programming... yeah why not...
can someone tell me how i can force a dependency in an RPM i'm trying to build. it automatically sets the requirement of perl-base to 5.800, which is what i'm using, but i only want the dependency to be for 5.600, but i can't suss out how to override this. If i set "Requires: perl-base >= 5.600" then it just requires BOTH version, which naturally makes no sense... incidentally i can't even install this rpm on my own system! Code:
[root@trevor RPM]# rpm -Uvh RPMS/noarch/acidrip-0.6-1.noarch.rpm |
Not being expert at rpm at all, but because I'm planning to make my first rpm soon, I've tried to look it up.
You may want to have a look here: http://www.rpm.org/max-rpm/s1-rpm-de...endencies.html Or, more general: http://www.rpm.org/ http://www.madboa.com/geek/specs/ If this doesn't help, posting your spec file, especially the "requires: ...." line(s) may help. |
well i've read those docs a dozen times today. it's that rpm uses a standard plugin type thing to find the requires as well as manually defining them
Code:
Finding Requires: (using /usr/lib/rpm/find-requires)... |
arse
Code:
AutoReqProv: no |
I'll try to remember that pitfall when I start speccing rpm's.
Thanks for posting the solution. |
All times are GMT -5. The time now is 10:40 AM. |