Vincent Untz wrote:
Le mardi 11 août 2009, à 14:32 +0200, Pavol Rusnak a écrit :
Sorry, didn't checked, since there are other problems lurking. Watch this thread...
I've turned the check around for now, since coolo started using the new macros without providing compatibility code for the older builds...
%if %suse_version <= 1110 #define the new macros for the old distributions %endif I think that's the correct approach. The macro definitions are available here: http://rpm.org/ticket/83 . But instead of patching thousands of
Hans-Peter Jansen wrote: python packages all over the OBS, can't we add the definitions into prjconf of openSUSE:{10.3,11.0,11.1} and SLE:{10,11}? What do you think?
It means that somebody building the package outside of the build service will see a failure, so not perfect :/
Right :-( So the correct way how to handle this situation is to use this at the beginning of the each spec: %if 0%{?suse_version} < 1120 %define python_sitelib %py_sitedir %define python_sitearch %py_sitedir %endif (not needed macro could be omitted). Do all agree?
Vincent
-- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Community Multiplier Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org