]> git.pld-linux.org Git - packages/drbd.git/commitdiff
- include alt_kernel in src.rpm (for .info files)
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 22 Oct 2007 21:36:28 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drbd.spec -> 1.90.4.16

drbd.spec

index e75f0e28c1ce5d08fd1b0c90340500160da9a113..b8416529dee25f435256d42e6d02b5c2a41ca82e 100644 (file)
--- a/drbd.spec
+++ b/drbd.spec
 %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
@@ -118,7 +119,7 @@ niezawodno
 przez (dedykowan±) sieæ. Mo¿e byæ widoczny jako sieciowy RAID1.
 
 %prep
-%setup -q
+%setup -q -n %{kname}-%{version}
 %patch0 -p1
 #%patch1 -p1
 
This page took 0.429049 seconds and 4 git commands to generate.