rpms/parted/devel parted-1.8.6-devmapper-header.patch, NONE, 1.1 parted.spec, 1.110, 1.111

David Cantrell (dcantrel) fedora-extras-commits at redhat.com
Thu Oct 4 19:52:56 UTC 2007


Author: dcantrel

Update of /cvs/pkgs/rpms/parted/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5425

Modified Files:
	parted.spec 
Added Files:
	parted-1.8.6-devmapper-header.patch 
Log Message:
* Thu Oct 04 2007 David Cantrell <dcantrell at redhat.com> - 1.8.6-9
- Always define PED_DEVICE_DM regardless of compile time options


parted-1.8.6-devmapper-header.patch:

--- NEW FILE parted-1.8.6-devmapper-header.patch ---
diff -up parted-1.8.6/include/parted/device.h.devmapper parted-1.8.6/include/parted/device.h
--- parted-1.8.6/include/parted/device.h.devmapper	2007-10-04 15:39:27.000000000 -0400
+++ parted-1.8.6/include/parted/device.h	2007-10-04 15:40:11.000000000 -0400
@@ -46,9 +46,7 @@ typedef enum {
         PED_DEVICE_DASD         = 9,
         PED_DEVICE_VIODASD      = 10,
         PED_DEVICE_SX8          = 11,
-#ifdef ENABLE_DEVICE_MAPPER
         PED_DEVICE_DM           = 12,
-#endif
         PED_DEVICE_XVD          = 13
 } PedDeviceType;
 


Index: parted.spec
===================================================================
RCS file: /cvs/pkgs/rpms/parted/devel/parted.spec,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- parted.spec	21 Aug 2007 18:24:24 -0000	1.110
+++ parted.spec	4 Oct 2007 19:52:24 -0000	1.111
@@ -4,7 +4,7 @@
 Summary: The GNU disk partition manipulation program
 Name:    parted
 Version: 1.8.6
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPLv2+
 Group:   Applications/System
 URL:     http://www.gnu.org/software/parted
@@ -15,6 +15,7 @@
 Patch2: %{name}-1.8.6-off-by-one.patch
 Patch3: %{name}-1.8.6-primary-boundary.patch
 Patch4: %{name}-1.8.6-xvd.patch
+Patch5: %{name}-1.8.6-devmapper-header.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: e2fsprogs-devel readline-devel ncurses-devel
@@ -49,6 +50,7 @@
 %patch2 -p1 -b .offbyone
 %patch3 -p1 -b .boundary
 %patch4 -p1 -b .xvd
+%patch5 -p1 -b .devmapper
 
 %build
 %configure --enable-device-mapper --enable-selinux --disable-static
@@ -93,6 +95,9 @@
 %{_libdir}/pkgconfig/libparted.pc
 
 %changelog
+* Thu Oct 04 2007 David Cantrell <dcantrell at redhat.com> - 1.8.6-9
+- Always define PED_DEVICE_DM regardless of compile time options
+
 * Tue Aug 21 2007 David Cantrell <dcantrell at redhat.com> - 1.8.6-8
 - Rebuild
 




More information about the fedora-extras-commits mailing list