rpms/device-mapper-multipath/devel multipath-tools-0.4.7.head2-sparc64fix.patch, NONE, 1.1 device-mapper-multipath.spec, 1.42, 1.43

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Feb 29 18:46:01 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/device-mapper-multipath/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11796

Modified Files:
	device-mapper-multipath.spec 
Added Files:
	multipath-tools-0.4.7.head2-sparc64fix.patch 
Log Message:

fix sparc64, fix license tag


multipath-tools-0.4.7.head2-sparc64fix.patch:

--- NEW FILE multipath-tools-0.4.7.head2-sparc64fix.patch ---
diff -up multipath-tools-0.4.7.head2/kpartx/lopart.c.BAD multipath-tools-0.4.7.head2/kpartx/lopart.c
--- multipath-tools-0.4.7.head2/kpartx/lopart.c.BAD	2008-02-29 13:35:19.000000000 -0500
+++ multipath-tools-0.4.7.head2/kpartx/lopart.c	2008-02-29 13:36:44.000000000 -0500
@@ -30,7 +30,7 @@
 #if defined(__hppa__) || defined(__powerpc64__) || defined (__alpha__) \
  || defined (__x86_64__)
 typedef unsigned long __kernel_old_dev_t;
-#elif defined(__powerpc__) || defined(__ia64__)
+#elif defined(__powerpc__) || defined(__ia64__) || (defined(__sparc__) && defined (__arch64__))
 typedef unsigned int __kernel_old_dev_t;
 #else
 typedef unsigned short __kernel_old_dev_t;


Index: device-mapper-multipath.spec
===================================================================
RCS file: /cvs/pkgs/rpms/device-mapper-multipath/devel/device-mapper-multipath.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- device-mapper-multipath.spec	19 Feb 2008 12:57:26 -0000	1.42
+++ device-mapper-multipath.spec	29 Feb 2008 18:45:25 -0000	1.43
@@ -1,11 +1,12 @@
 Summary: Tools to manage multipath devices using device-mapper
 Name: device-mapper-multipath
 Version: 0.4.7
-Release: 13%{?dist}
-License: GPL
+Release: 14%{?dist}
+License: GPL+
 Group: System Environment/Base
 URL: http://christophe.varoqui.free.fr/
 Source0: multipath-tools-0.4.7.head2.tgz
+Patch0: multipath-tools-0.4.7.head2-sparc64fix.patch
 Requires: kpartx = %{version}-%{release}
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): chkconfig
@@ -32,6 +33,7 @@
 
 %prep
 %setup -q -n multipath-tools-0.4.7.head2
+%patch0 -p1 -b .sparc64
 
 %build
 make DESTDIR=$RPM_BUILD_ROOT
@@ -79,6 +81,10 @@
 %{_mandir}/man8/kpartx.8.gz
 
 %changelog
+* Fri Feb 29 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.4.7-14
+- fix sparc64
+- fix license tag
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.4.7-13
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list