SPECS: multipath-tools.spec - separate package for kpartx; rel 2

glen glen at pld-linux.org
Sat May 24 02:25:03 CEST 2008


Author: glen                         Date: Sat May 24 00:25:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate package for kpartx; rel 2

---- Files affected:
SPECS:
   multipath-tools.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/multipath-tools.spec
diff -u SPECS/multipath-tools.spec:1.40 SPECS/multipath-tools.spec:1.41
--- SPECS/multipath-tools.spec:1.40	Sat Dec 15 15:39:18 2007
+++ SPECS/multipath-tools.spec	Sat May 24 02:24:57 2008
@@ -6,7 +6,7 @@
 Summary(pl.UTF-8):	Implementacja wielotrasowego dostępu do zasobów przy użyciu device-mappera
 Name:		multipath-tools
 Version:	0.4.8
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Base
 Source0:	http://christophe.varoqui.free.fr/multipath-tools/%{name}-%{version}.tar.bz2
@@ -33,6 +33,7 @@
 %endif
 Requires(post,preun):	/sbin/chkconfig
 Requires:	device-mapper >= 1.02.08
+Requires:	kpartx = %{version}-%{release}
 Requires:	libaio >= 0.3.106-2
 Requires:	rc-scripts
 Conflicts:	udev < 1:070-4.1
@@ -48,8 +49,6 @@
   and update the device-mapper's maps
 - multipathd: wait for maps events, then execs multipath
 - devmap-name: provides a meaningful device name to udev for devmaps
-- kpartx: maps linear devmaps upon device partitions, which makes
-  multipath maps partionable
 
 %description -l pl.UTF-8
 multipath-tools zawierają narzędzia do zarządzania wielotrasowym
@@ -61,8 +60,18 @@
   multipath
 - devmap-name - dostarcza do udev znaczącą nazwę urządzenia dla map
   urządzeń
-- kpartx - odwzorowuje liniowe mapy urządzeń na partycje urządzeń, co
-  umożliwia tworzenie partycji na odwzorowaniach wielotrasowych
+
+%package -n kpartx
+Summary:	Partition device manager for device-mapper devices
+Group:		Base
+
+%description -n kpartx
+kpartx maps linear devmaps upon device partitions, which makes
+multipath maps partionable
+
+%description -n kpartx -l pl.UTF-8
+kpartx odwzorowuje liniowe mapy urządzeń na partycje urządzeń, co
+umożliwia tworzenie partycji na odwzorowaniach wielotrasowych
 
 %prep
 %setup -q
@@ -71,7 +80,6 @@
 %patch1 -p1
 %patch2 -p1
 
-mv kpartx/README README.kpartx
 %{__sed} -i -e 's,/lib/libdevmapper.so,/%{_lib}/libdevmapper.so,' libmultipath/Makefile
 
 %build
@@ -119,7 +127,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHOR ChangeLog FAQ README* TODO
+%doc AUTHOR ChangeLog FAQ README TODO
 %attr(755,root,root) %{_sbindir}/devmap_name
 %attr(755,root,root) %{_sbindir}/kpartx
 %attr(755,root,root) %{_sbindir}/mpath_prio_alua
@@ -138,21 +146,28 @@
 %dir %{_sysconfdir}/multipath
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/multipath/bindings
 %{_sysconfdir}/udev/rules.d/40-multipath.rules
-%{_sysconfdir}/udev/rules.d/kpartx.rules
-%attr(755,root,root) /lib/udev/kpartx_id
 %{_mandir}/man5/multipath.conf.5*
 %{_mandir}/man8/devmap_name.8*
-%{_mandir}/man8/kpartx.8*
 %{_mandir}/man8/mpath_prio_alua.8*
 %{_mandir}/man8/multipath.8*
 %{_mandir}/man8/multipathd.8*
 
+%files -n kpartx
+%defattr(644,root,root,755)
+%doc kpartx/README
+%attr(755,root,root) /lib/udev/kpartx_id
+%{_sysconfdir}/udev/rules.d/kpartx.rules
+%{_mandir}/man8/kpartx.8*
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2008-05-24 00:24:57  glen
+- separate package for kpartx; rel 2
+
 Revision 1.40  2007-12-15 14:39:18  glen
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/multipath-tools.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list