On 11.06.2015 13:12, Tomáš Chvátal wrote:
Hello,
2) Redo how we think about optional features and why we use the suse_version.
Instead of %if suse_version > 1140 BuildRequires: bla %endif We could devise in rpm like TryBuildRequires which would pull in packages if they are around and otherwise provide some packagename = 0 for further depending conditions.
For defines we could instead of version requirement check for the define and if not found, define it with expected value/behaviour (like in python packages), and so on.
Would it be worth all the work?
There are so many more uses of suse_version than just buildrequires - check 13.2's systemd.spec :) But as you opened a new thread: perhaps we should move that to opensuse-packaging - factory isn't read by too many ;( Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org