]> git.pld-linux.org Git - packages/aufs.git/commitdiff
- suffix src package with alt kernel name (if present) auto/ti/aufs-0-0_20080527_10
authorhawk <hawk@pld-linux.org>
Wed, 3 Sep 2008 10:15:00 +0000 (10:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- disable userspace for alt_kernels

Changed files:
    aufs.spec -> 1.37

aufs.spec

index 0df7e4b52ec1082fcf63b61ec3adfb30109d8874..8655481ca43316fa84bb97dbdb481509843b784c 100644 (file)
--- a/aufs.spec
+++ b/aufs.spec
 %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}
@@ -77,7 +82,7 @@ Sterownik dla Linuksa do aufs.
 Ten pakiet zawiera moduł jądra Linuksa.
 
 %prep
-%setup -qn %{name}
+%setup -qn %{pname}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
This page took 0.054016 seconds and 4 git commands to generate.