rpms/mock/FC-3 mock.spec,1.7,1.8

Matthias Saou (thias) fedora-extras-commits at redhat.com
Tue Aug 16 16:40:24 UTC 2005


Author: thias

Update of /cvs/extras/rpms/mock/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27285/FC-3

Modified Files:
	mock.spec 
Log Message:
Fix build when %fedora isn't defined.



Index: mock.spec
===================================================================
RCS file: /cvs/extras/rpms/mock/FC-3/mock.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mock.spec	4 Aug 2005 05:02:06 -0000	1.7
+++ mock.spec	16 Aug 2005 16:40:22 -0000	1.8
@@ -27,7 +27,7 @@
 # make the default.cfg link
 cd $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
 
-%if %{?fedora}
+%if 0%{?fedora:1}
 if [ -f fedora-%{fedora}-%{_target_cpu}-core.cfg ]; then
    	ln -s fedora-%{fedora}-%{_target_cpu}-core.cfg default.cfg
 fi
@@ -65,6 +65,9 @@
 
 
 %changelog
+* Tue Aug 16 2005 Matthias Saou <http://freshrpms.net/> 0.4-2
+- Fix ?fedora check when not defined (would fail to parse).
+
 * Thu Aug  4 2005 Seth Vidal <skvidal at phy.duke.edu>
 - 0.4
 - update urls




More information about the scm-commits mailing list