rpms/mach/devel mach.spec,1.15,1.16

Ville Skytta (scop) fedora-extras-commits at redhat.com
Wed Sep 12 18:43:48 UTC 2007


Author: scop

Update of /cvs/pkgs/rpms/mach/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26458

Modified Files:
	mach.spec 
Log Message:
* Wed Sep 12 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9.2-3
- Set default flavour to "epel" for EPEL builds.



Index: mach.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mach/devel/mach.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- mach.spec	8 Sep 2007 21:48:26 -0000	1.15
+++ mach.spec	12 Sep 2007 18:43:16 -0000	1.16
@@ -1,6 +1,6 @@
 Name:           mach
 Version:        0.9.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Make a chroot
 
 Group:          Applications/System
@@ -22,6 +22,13 @@
 BuildRequires:	gcc-c++
 BuildRequires:	libselinux-devel
 
+%if 0%{!?flavor:1}
+%if 0%{?rhel}
+%define flavor epel
+%else
+%define flavor updates
+%endif
+%endif
 %{!?builduser:  %define builduser  machbuild}
 %{!?buildgroup: %define buildgroup machbuild}
 
@@ -44,7 +51,7 @@
 %configure \
 	--enable-builduser=%{builduser} \
 	--enable-buildgroup=%{buildgroup} \
-	--with-flavor=updates
+	--with-flavor=%{flavor}
 make
 
 %install
@@ -96,6 +103,9 @@
 %attr(04750,root,mach) %{_sbindir}/mach-helper
 
 %changelog
+* Wed Sep 12 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9.2-3
+- Set default flavour to "epel" for EPEL builds.
+
 * Sun Sep  9 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9.2-2
 - Drop no longer needed (and failing) old ppc config bug workarounds.
 - Sync group creation scriptlet with current Fedora packaging guidelines.




More information about the fedora-extras-commits mailing list