[Bug 710869] New: #define does not work in project config
https://bugzilla.novell.com/show_bug.cgi?id=710869 https://bugzilla.novell.com/show_bug.cgi?id=710869#c0 Summary: #define does not work in project config Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: anixx@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.19) Gecko/20110420 SUSE/2.0.14-2.1 SeaMonkey/2.0.14 I have the following line in the project config: %define is_kde_kde3 1 Then in the spec file this is checked: %if 0%{?is_kde_kde3} > 0 .. %endif The package still builds as if the condition was not met. If to add the line %define is_kde_kde3 1 to the spec file the block under the condition runs. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=710869 https://bugzilla.novell.com/show_bug.cgi?id=710869#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |kde-maintainers@suse.de |ovo.novell.com | -- 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=710869 https://bugzilla.novell.com/show_bug.cgi?id=710869#c1 Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ctrippe@opensuse.org AssignedTo|kde-maintainers@suse.de |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #1 from Christian Trippe <ctrippe@opensuse.org> 2011-08-08 05:08:39 UTC --- This sounds more like a OBS bug/enhancement. -- 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=710869 https://bugzilla.novell.com/show_bug.cgi?id=710869#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |adrian@novell.com |ovo.novell.com | -- 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=710869 https://bugzilla.novell.com/show_bug.cgi?id=710869#c2 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Adrian Schröter <adrian@suse.com> 2012-04-04 08:41:36 UTC --- You need to specify it in build config below Macros line to have an effect inside of the build enviroment: osc meta prjconf -e $project and add Macros: %is_kde_kde3 1 lines. -- 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.
participants (1)
-
bugzilla_noreply@novell.com