https://bugzilla.novell.com/show_bug.cgi?id=305425#c305064 Summary: BuildRequires: %macro not supported Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: abockover@novell.com QAContact: adrian@novell.com Found By: --- In my spec files I like to have as much logic as possible at the top of the script in a single place so the rest of the spec file is as clean, readable, and maintainable as possible. I ran into an issue in bug #305064. It would be very nice to be able to do something like this: %if 0%{?suse_version} %define avahi_devel_package avahi-mono %else %define avahi_devel_package avahi-sharp %endif .. BuildRequires: %avahi_devel_package But apparently this is not supported. Now I have to introduce this logic elsewhere which adds clutter and readability issues for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.