SPECS: aufs.spec - suffix src package with alt kernel name (if present) - d...

hawk hawk at pld-linux.org
Wed Sep 3 12:15:06 CEST 2008


Author: hawk                         Date: Wed Sep  3 10:15:06 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- suffix src package with alt kernel name (if present)
- disable userspace for alt_kernels

---- Files affected:
SPECS:
   aufs.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/aufs.spec
diff -u SPECS/aufs.spec:1.36 SPECS/aufs.spec:1.37
--- SPECS/aufs.spec:1.36	Tue Sep  2 08:41:26 2008
+++ SPECS/aufs.spec	Wed Sep  3 12:15:00 2008
@@ -13,23 +13,28 @@
 %undefine	with_dist_kernel
 %endif
 
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine	with_userspace
+%endif
+
 %define		subver		20080527
 %define		prel		0.%{subver}.%{rel}
 
+%define		pname		aufs
 %define		rel		10
 Summary:	aufs - Another Unionfs
 Summary(pl.UTF-8):	aufs (Another Unionfs) - inny unionfs
-Name:		aufs
+Name:		%{pname}%{_alt_kernel}
 Version:	0
 Release:	%{prel}
 License:	GPL v2
 Group:		Base/Kernel
-Source0:	%{name}-%{subver}.tar.bz2
+Source0:	%{pname}-%{subver}.tar.bz2
 # Source0-md5:	aeb6880930a8abcb60947e96b310d3df
-Patch0:		%{name}-vserver.patch
-Patch1:		%{name}-disable-security_inode_permission.patch
-Patch2:		%{name}-fixes.patch
-Patch3:		%{name}-spin_lock.patch
+Patch0:		%{pname}-vserver.patch
+Patch1:		%{pname}-disable-security_inode_permission.patch
+Patch2:		%{pname}-fixes.patch
+Patch3:		%{pname}-spin_lock.patch
 URL:		http://aufs.sourceforge.net/
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.25.2}
@@ -78,7 +83,7 @@
 Ten pakiet zawiera moduł jądra Linuksa.
 
 %prep
-%setup -qn %{name}
+%setup -qn %{pname}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -162,6 +167,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2008/09/03 10:15:00  hawk
+- suffix src package with alt kernel name (if present)
+- disable userspace for alt_kernels
+
 Revision 1.36  2008/09/02 06:41:26  arekm
 - release 10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/aufs.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list