[Bug 305425] New: BuildRequires: %macro not supported
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.
https://bugzilla.novell.com/show_bug.cgi?id=305425
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=305425
Adrian Schröter
https://bugzilla.novell.com/show_bug.cgi?id=305425
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=305425#c1
--- Comment #1 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=305425
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=305425
User abockover@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=305425#c2
Aaron Bockover
https://bugzilla.novell.com/show_bug.cgi?id=305425
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=305425#c3
--- Comment #3 from Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com