]> git.pld-linux.org Git - packages/drbd.git/commitdiff
- bconds up, smp removed
authorzbyniu <zbyniu@pld-linux.org>
Sat, 7 Apr 2007 21:04:53 +0000 (21:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drbd.spec -> 1.96

drbd.spec

index 977e20f0ef201d3f7c84f5288e059d0e4a4ba979..d025bd3ef47eea09a5b3a87af10f1ce8257ca316 100644 (file)
--- a/drbd.spec
+++ b/drbd.spec
@@ -2,8 +2,6 @@
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
 %bcond_without kernel          # don't build kernel modules
-%bcond_without up              # don't build UP module
-%bcond_without smp             # don't build SMP module
 %bcond_without userspace       # don't build userspace module
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_with    grsec_kernel    # build for kernel-grsecurity
 %define        alt_kernel      grsecurity
 %endif
 #
-%ifarch sparc
-%undefine      with_smp
-%endif
-
 %define        _rel    1
 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
@@ -33,7 +27,7 @@ BuildRequires:        bison
 BuildRequires: flex
 %endif
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build}
-BuildRequires: rpmbuild(macros) >= 1.330
+BuildRequires: rpmbuild(macros) >= 1.379
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -73,7 +67,7 @@ Summary:      Kernel module with drbd - a block device designed to build high availib
 Summary(pl.UTF-8):     Moduł jądra do drbd - urządzenia blokowego dla klastrów o wysokiej niezawodności
 Release:       %{_rel}@%{_kernel_ver_str}
 Group:         Base/Kernel
-%{?with_dist_kernel:%requires_releq_kernel_up}
+%{?with_dist_kernel:%requires_releq_kernel}
 Requires(post,postun): /sbin/depmod
 Requires:      drbdsetup
 
@@ -87,25 +81,6 @@ drbd jest urządzeniem blokowym zaprojektowanym dla klastrów o wysokiej
 niezawodności. drbd działa jako mirroring całego urządzenia blokowego
 przez (dedykowaną) sieć. Może być widoczny jako sieciowy RAID1.
 
-%package -n kernel%{_alt_kernel}-smp-block-drbd
-Summary:       SMP kernel module with drbd - a block device designed to build high availibility clusters
-Summary(pl.UTF-8):     Wersja SMP Modułu jądra do drbd - urządzenia blokowego dla klastrów o wysokiej niezawodności
-Release:       %{_rel}@%{_kernel_ver_str}
-Group:         Base/Kernel
-%{?with_dist_kernel:%requires_releq_kernel_smp}
-Requires(post,postun): /sbin/depmod
-Requires:      drbdsetup
-
-%description -n kernel%{_alt_kernel}-smp-block-drbd
-drbd is a block device which is designed to build high availability
-clusters. This is done by mirroring a whole block device via (a
-dedicated) network. You could see it as a network RAID1.
-
-%description -n kernel%{_alt_kernel}-smp-block-drbd -l pl.UTF-8
-drbd jest urządzeniem blokowym zaprojektowanym dla klastrów o wysokiej
-niezawodności. drbd działa jako mirroring całego urządzenia blokowego
-przez (dedykowaną) sieć. Może być widoczny jako sieciowy RAID1.
-
 %prep
 %setup -q
 %patch0 -p1
@@ -156,12 +131,6 @@ rm -rf $RPM_BUILD_ROOT
 %postun -n kernel%{_alt_kernel}-block-drbd
 %depmod %{_kernel_ver}
 
-%post -n kernel%{_alt_kernel}-smp-block-drbd
-%depmod %{_kernel_ver}smp
-
-%postun -n kernel%{_alt_kernel}-smp-block-drbd
-%depmod %{_kernel_ver}smp
-
 %post -n drbdsetup
 /sbin/chkconfig --add drbd
 %service drbd restart
@@ -187,11 +156,4 @@ fi
 %defattr(644,root,root,755)
 %doc ChangeLog README
 /lib/modules/%{_kernel_ver}/block/drbd.ko*
-
-%if %{with smp} && %{with dist_kernel}
-%files -n kernel%{_alt_kernel}-smp-block-drbd
-%defattr(644,root,root,755)
-%doc ChangeLog README
-/lib/modules/%{_kernel_ver}smp/block/drbd.ko*
-%endif
 %endif
This page took 0.071818 seconds and 4 git commands to generate.