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.