SPECS (AC-branch): drbd.spec - include alt_kernel in src.rpm (for ...

glen glen at pld-linux.org
Mon Oct 22 23:36:33 CEST 2007


Author: glen                         Date: Mon Oct 22 21:36:33 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- include alt_kernel in src.rpm (for .info files)

---- Files affected:
SPECS:
   drbd.spec (1.90.4.15 -> 1.90.4.16) 

---- Diffs:

================================================================
Index: SPECS/drbd.spec
diff -u SPECS/drbd.spec:1.90.4.15 SPECS/drbd.spec:1.90.4.16
--- SPECS/drbd.spec:1.90.4.15	Mon Oct 22 22:41:53 2007
+++ SPECS/drbd.spec	Mon Oct 22 23:36:28 2007
@@ -24,19 +24,20 @@
 %endif
 
 %define		_rel	55
+%define		kname	drbd
 Summary:	drbd is a block device designed to build high availibility clusters
 Summary(pl):	drbd jest urz±dzeniem blokowym dla klastrów o wysokiej niezawodno¶ci
-Name:		drbd
+Name:		%{kname}%{_alt_kernel}
 Version:	0.7.24
 Release:	%{_rel}
 License:	GPL
 Group:		Base/Kernel
-Source0:	http://oss.linbit.com/drbd/0.7/%{name}-%{version}.tar.gz
+Source0:	http://oss.linbit.com/drbd/0.7/%{kname}-%{version}.tar.gz
 # Source0-md5:	b2c7335514a355b874a634dc12b22522
-Patch0:		%{name}-Makefile.patch
+Patch0:		%{kname}-Makefile.patch
 # based on http://members.home.nl/maarten/drbd-0.7.22-2.6.19.patch but compliant
 # with older kernels
-Patch1:		%{name}-0.7.22-2.6.19-friendly.patch
+Patch1:		%{kname}-0.7.22-2.6.19-friendly.patch
 URL:		http://www.drbd.org/
 %if %{with userspace}
 BuildRequires:	bison
@@ -119,7 +120,7 @@
 przez (dedykowan±) sieæ. Mo¿e byæ widoczny jako sieciowy RAID1.
 
 %prep
-%setup -q
+%setup -q -n %{kname}-%{version}
 %patch0 -p1
 #%patch1 -p1
 
@@ -217,6 +218,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.90.4.16  2007/10/22 21:36:28  glen
+- include alt_kernel in src.rpm (for .info files)
+
 Revision 1.90.4.15  2007/10/22 20:41:53  glen
 - disable userspace for alt kernel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/drbd.spec?r1=1.90.4.15&r2=1.90.4.16&f=u



More information about the pld-cvs-commit mailing list