SPECS: ipw3945.spec - suffix src package with alt kernel name (if ...

shadzik shadzik at pld-linux.org
Fri Feb 1 22:43:50 CET 2008


Author: shadzik                      Date: Fri Feb  1 21:43:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- suffix src package with alt kernel name (if present)
- rel 16

---- Files affected:
SPECS:
   ipw3945.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: SPECS/ipw3945.spec
diff -u SPECS/ipw3945.spec:1.58 SPECS/ipw3945.spec:1.59
--- SPECS/ipw3945.spec:1.58	Mon Jan 21 08:06:51 2008
+++ SPECS/ipw3945.spec	Fri Feb  1 22:43:45 2008
@@ -4,22 +4,23 @@
 %bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_with	verbose		# verbose build (V=1)
 #
-%define		_rel		15
+%define		_rel		16
 %define		_fwver		1.14.2
 %define		_mod_suffix	current
+%define		pname	ipw3945
 Summary:	Intel(R) PRO/Wireless 3945 Driver for Linux
 Summary(de.UTF-8):	Intel(R) PRO/Wireless 3945 Treiber für Linux
 Summary(pl.UTF-8):	Sterownik dla Linuksa do kart Intel(R) PRO/Wireless 3945
-Name:		ipw3945
+Name:		%{pname}%{_alt_kernel}
 Version:	1.2.2
 Release:	%{_rel}
 License:	GPL v2
 Group:		Base/Kernel
-Source0:	http://dl.sourceforge.net/ipw3945/%{name}-%{version}.tgz
+Source0:	http://dl.sourceforge.net/ipw3945/%{pname}-%{version}.tgz
 # Source0-md5:	9e5ca2f3ffbb84270ede45d5572df4c9
-Source1:	%{name}-modprobe.conf
-Patch0:		%{name}-bashizm.patch
-Patch1:		%{name}-config.patch
+Source1:	%{pname}-modprobe.conf
+Patch0:		%{pname}-bashizm.patch
+Patch1:		%{pname}-config.patch
 URL:		http://ipw3945.sourceforge.net/
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.22}
 BuildRequires:	rpmbuild(macros) >= 1.379
@@ -65,7 +66,7 @@
 PRO/Wireless 3945.
 
 %prep
-%setup -q
+%setup -q -n %{pname}-%{version}
 %patch0 -p1
 %patch1 -p1
 
@@ -99,6 +100,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2008-02-01 21:43:45  shadzik
+- suffix src package with alt kernel name (if present)
+- rel 16
+
 Revision 1.58  2008-01-21 07:06:51  wolvverine
 - rel.15:2.6.22.16-4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ipw3945.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list