https://bugzilla.novell.com/show_bug.cgi?id=679810 https://bugzilla.novell.com/show_bug.cgi?id=679810#c0 Summary: openSUSE:Tools/osc: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: adrian@novell.com ReportedBy: viliam.pucik@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- osc incorectly interprets macros if they are set in %if/%endif: In this example, "prerelease" macro should be interpeted as undefined, but osc thinks, it is defined and contains "pre1": --- BEGIN: part of rsync.spec taken from RHEL 6 %define isprerelease 0 %if %isprerelease %define prerelease pre1 %endif Summary: A program for synchronizing files over a network Name: rsync Version: 3.0.6 Release: 5%{?prerelease}%{?dist} Group: Applications/Internet URL: http://rsync.samba.org/ Source0: ftp://rsync.samba.org/pub/rsync/rsync-%{version}%{?prerelease}.tar.gz .. --- END $ cd rsync $ ls rsync-3.0.6-permissions.patch rsync-3.0.6.tar.gz rsync-patches-3.0.6.tar.gz rsync.spec rsync.xinetd $ osc ci rsync-3.0.6pre1.tar.gz mentioned in spec file does not exist. rsync-patches-3.0.6pre1.tar.gz mentioned in spec file does not exist. Attention, rsync-3.0.6.tar.gz is not mentioned in spec files as source or patch. Is this correct? [N/y/d] -- 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.