Python version in Requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Package pyfoo builds with python >= 2.0.0
But pyfoo rpm should only be installed on systems with the same major version of python because of the site-packages stuff.


If I use a macro to detect the exact version from Python from the requires, I get something like python = 2.3.4

If I use that for the requires, then it would break updating python to 2.3.6 even though package should still work.

If I just ask for python >= 2.3 than Python 2.4 also meets, but the site-packages don't work for that.

Do I need to do two macros? Or is there a better way?

--
Michael A. Peters
http://mpeters.us/



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux