https://bugzilla.novell.com/show_bug.cgi?id=213571 Summary: %if "%_repository" does not work 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: jigish.gohil@gmail.com QAContact: adrian@novell.com Trying to build package with the following gets ignored: %if "%_repository" != "XOrg7_SUSE_Linux_10.1" BuildRequires: xorg-x11-compat70-devel %endif I have also tried with the following %if %{_repository} == XOrg7_SUSE_Linux_10.1 Didnt work either. The reason to use the above method is that there is xorg-x11-libs package in xorg7 repository that obsoletes xorg-x11-compat70-devel, but the build service tries to install xorg-x11-compat70-devel on top of xorg-x11-libs. -- 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, or are watching someone who is.