SPECS: dmraid.spec - dmraid-1.0.0.rc13 - bcond_without selinux

areq areq at pld-linux.org
Sat Feb 3 17:20:19 CET 2007


Author: areq                         Date: Sat Feb  3 16:20:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- dmraid-1.0.0.rc13
- bcond_without  selinux

---- Files affected:
SPECS:
   dmraid.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/dmraid.spec
diff -u SPECS/dmraid.spec:1.31 SPECS/dmraid.spec:1.32
--- SPECS/dmraid.spec:1.31	Thu Oct  5 23:33:57 2006
+++ SPECS/dmraid.spec	Sat Feb  3 17:20:14 2007
@@ -2,17 +2,18 @@
 #
 # Conditional build:
 %bcond_without	initrd	# without initrd version
+%bcond_without  selinux # build without SELinux support
 #
 Summary:	Device-mapper RAID tool
 Summary(pl):	Narzędzie do RAID-u opartego o device-mapper
 Name:		dmraid
 Version:	1.0.0
-%define	_rc	rc11
+%define	_rc	rc13
 Release:	0.%{_rc}.1
 License:	GPL
 Group:		Base
 Source0:	http://people.redhat.com/~heinzm/sw/dmraid/src/%{name}-%{version}.%{_rc}.tar.bz2
-# Source0-md5:	f62b18b7793e0e3b0aff7a5111c1c17e
+# Source0-md5:	a2a8948de7717e2e76a1291fc1daf9d1
 Patch0:		%{name}-selinux-static.patch
 Patch1:		%{name}-fix.patch
 Patch2:		%{name}-optflags.patch
@@ -21,10 +22,12 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	device-mapper-devel >= 1.01.01
-%{?with_initrd:BuildRequires:	device-mapper-static >= 1.02.05-0.4}
-%{?with_initrd:BuildRequires:	glibc-static}
-%{?with_initrd:BuildRequires:	libselinux-static}
-%{?with_initrd:BuildRequires:	libsepol-static}
+%if %{with initrd}
+BuildRequires:	device-mapper-static >= 1.02.05-0.4
+BuildRequires:	glibc-static
+%{?with_selinux:BuildRequires:	libselinux-static}
+%{?with_selinux:BuildRequires:	libsepol-static}
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -80,7 +83,7 @@
 %prep
 %setup -q -n %{name}
 mv */* ./
-%patch0 -p2
+%{?with_selinux:%patch0 -p2}
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
@@ -149,6 +152,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2007/02/03 16:20:14  areq
+- dmraid-1.0.0.rc13
+- bcond_without  selinux
+
 Revision 1.31  2006/10/05 21:33:57  qboosh
 - updated to 1.0.0.rc11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dmraid.spec?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list