From: kloczek Date: Sun, 9 Sep 2001 21:52:19 +0000 (+0000) Subject: - use %%{_kernel_ver} only in Release field in with kernel modules packages, X-Git-Tag: drbd-0_5_8-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=8bbec5cd85e6103276c78157a0a9fad9a5b99086;p=packages%2Fdrbd.git - use %%{_kernel_ver} only in Release field in with kernel modules packages, - added "Requires: drbdsetup" for kernel modules packages. Changed files: drbd.spec -> 1.7 --- diff --git a/drbd.spec b/drbd.spec index b8d1f00..28a0622 100644 --- a/drbd.spec +++ b/drbd.spec @@ -7,7 +7,7 @@ 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 Version: 0.5.8 -Release: %{rel}@%{_kernel_ver} +Release: %{rel} License: GPL Group: Base/Kernel Group(de): Grundsätzlich/Kern @@ -33,7 +33,6 @@ Summary: Setup tool and scripts for DRBD Summary(es): Utilities to manage DRBD devices Summary(pl): Narzêdzie konfiguracyjne i skrypty dla DRBD Summary(pt_BR): Utilitários para gerenciar dispositivos DRBD -Release: %{rel} Group: Applications/System Group(de): Applikationen/System Group(pl): Aplikacje/System @@ -62,10 +61,12 @@ contains the utils to manage DRBD devices. %package -n kernel-block-drbd Summary: kernel module with drbd - a block device designed to build high availibility clusters Summary(pl): Modu³ kernela do drbd - urz±dzenia blokowego dla klastrów o wysokiej niezawodno¶ci +Release: %{rel}@%{_kernel_ver} Group: Base/Kernel Group(de): Grundsätzlich/Kern Group(pl): Podstawowe/J±dro Prereq: /sbin/depmod +Requires: drbdsetup Conflicts: kernel-smp-block-drbd Conflicts: kernel < %{_kernel_ver} Conflicts: kernel > %{_kernel_ver} @@ -83,10 +84,12 @@ przez (dedykowan %package -n kernel-smp-block-drbd Summary: SMP kernel module with drbd - a block device designed to build high availibility clusters Summary(pl): Modu³ kernela SMP do drbd - urz±dzenia blokowego dla klastrów o wysokiej niezawodno¶ci +Release: %{rel}@%{_kernel_ver} Group: Base/Kernel Group(de): Grundsätzlich/Kern Group(pl): Podstawowe/J±dro Prereq: /sbin/depmod +Requires: drbdsetup Conflicts: kernel-block-drbd Conflicts: kernel < %{_kernel_ver} Conflicts: kernel > %{_kernel_ver}