Author: glen                         Date: Wed Dec 26 11:58:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- alt kernel support from AC-branch

---- Files affected:
SPECS:
   drbd.spec (1.102 -> 1.103) 

---- Diffs:

================================================================
Index: SPECS/drbd.spec
diff -u SPECS/drbd.spec:1.102 SPECS/drbd.spec:1.103
--- SPECS/drbd.spec:1.102       Mon Dec 10 12:06:32 2007
+++ SPECS/drbd.spec     Wed Dec 26 12:57:58 2007
@@ -7,21 +7,32 @@
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_with    grsec_kernel    # build for kernel-grsecurity
 #
+%ifarch sparc
+%undefine      with_smp
+%endif
+
+%if %{without kernel}
+%undefine      with_dist_kernel
+%endif
 %if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
 %define        alt_kernel      grsecurity
 %endif
-#
-%define        _rel    1
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine      with_userspace
+%endif
+
+%define                _rel    2
+%define                pname   drbd
 Summary:       drbd is a block device designed to build high availibility 
clusters
 Summary(pl.UTF-8):     drbd jest urządzeniem blokowym dla klastrów o wysokiej 
niezawodności
-Name:          drbd
+Name:          %{pname}%{_alt_kernel}
 Version:       8.2.1
 Release:       %{_rel}
 License:       GPL
 Group:         Base/Kernel
-Source0:       http://oss.linbit.com/drbd/8.2/%{name}-%{version}.tar.gz
+Source0:       http://oss.linbit.com/drbd/8.2/%{pname}-%{version}.tar.gz
 # Source0-md5: 345c1056b2033184a7935c1bb79cc57e
-Patch0:                %{name}-Makefile.patch
+Patch0:                %{pname}-Makefile.patch
 URL:           http://www.drbd.org/
 %if %{with userspace}
 BuildRequires: bison
@@ -87,7 +98,7 @@
 przez (dedykowaną) sieć. Może być widoczny jako sieciowy RAID1.
 
 %prep
-%setup -q
+%setup -q -n %{pname}-%{version}
 %patch0 -p1
 
 %build
@@ -180,6 +191,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.103  2007-12-26 11:57:58  glen
+- alt kernel support from AC-branch
+
 Revision 1.102  2007-12-10 11:06:32  zbyniu
 - up to 8.2.1
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to