[DRBD-user] make rpm need corrections in .spec file

DaLiV DaLiV at apollo.lv
Thu Oct 23 08:53:48 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


source: latest from svn
below is difference for working rpm packaging by "make rpm"

diff --git a/drbd.spec.in b/drbd.spec.in
index d0c0e8b..48cdbd8 100644
--- a/drbd.spec.in
+++ b/drbd.spec.in
@@ -119,15 +119,21 @@ ___

  %files -f %{_builddir}/%{name}-%{version}/file.list
  %defattr(755,root,root)
-/sbin/drbdsetup
  /sbin/drbdadm
-/sbin/drbdmeta
  /usr/lib/drbd/outdate-peer.sh
  /usr/lib/drbd/snapshot-resync-target-lvm.sh
  /usr/lib/drbd/unsnapshot-resync-target-lvm.sh
  /etc/ha.d/resource.d/drbddisk
  /etc/xen/scripts/block-drbd

+%defattr(1750,root,haclient)
+/sbin/drbdsetup
+/sbin/drbdmeta
+
+/usr/lib/drbd/notify-out-of-sync.sh
+/usr/lib/drbd/notify-split-brain.sh
+/usr/lib/drbd/notify.sh
+
  %defattr(644,root,root)
  %config(noreplace) /etc/drbd.conf





More information about the drbd-user mailing list