[build] fix the "rpm" make target
authorChristophe Varoqui <root@xa-s05.(none)>
Fri, 11 Nov 2005 23:14:30 +0000 (00:14 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Fri, 11 Nov 2005 23:14:30 +0000 (00:14 +0100)
John Steinman reported "make rpm" was broken.
This is due to files disappearing and others spawning.
This patch bringd the spec file in sync with reality.

multipath-tools.spec.in
path_priority/pp_balance_units/Makefile

index 092091e..7db5b09 100644 (file)
@@ -44,11 +44,17 @@ rm -rf $RPM_BUILD_ROOT
 %{prefix}/sbin/devmap_name
 %{prefix}/sbin/multipath
 %{prefix}/sbin/kpartx
+%{prefix}/sbin/mpath_prio_alua
+%{prefix}/sbin/mpath_prio_emc
+%{prefix}/sbin/mpath_prio_random
+%{prefix}/sbin/mpath_prio_balance_units
 %{prefix}/usr/share/man/man8/devmap_name.8.gz
 %{prefix}/usr/share/man/man8/multipath.8.gz
+%{prefix}/usr/share/man/man8/kpartx.8.gz
+%{prefix}/usr/share/man/man8/mpath_prio_alua.8.gz
+%{prefix}/usr/share/man/man8/multipathd.8.gz
 %{prefix}/usr/bin/multipathd
-%{prefix}/etc/hotplug.d/scsi/multipath.hotplug
-%{prefix}/etc/init.d/multipathd
+%{prefix}/etc/udev/rules.d/multipath.rules
 
 
 %changelog
index 2ec583d..a3255bc 100644 (file)
@@ -18,7 +18,7 @@ else
        OBJS = pp_balance_units.o $(MULTIPATHLIB)-$(BUILD).a
 endif
 
-EXEC = pp_balance_units
+EXEC = mpath_prio_balance_units
 
 all: $(BUILD)