Thanks, but I would prefer having the version dependency at only one place and then using a conditional with a speaking name throughout the rest of the spec file. This makes it easier to distinguish stuff that belongs to this feature from other things that happen to depend on the same suse_version.
Thanks, but I would prefer having the version dependency at only one place and then using a conditional with a speaking name throughout the rest of the spec file. This makes it easier to distinguish stuff that belongs to this feature from other things that happen to depend on the same suse_version.
%if 0%{?suse_version} > 1500
%bcond_without usr_etc
%endif
[...]
%if %{with usr_etc}
[...]
%endif
I have to do a version upgrade anyway and will change the conditional on the way.
Great ! Thank you Reinhard !!!