rpms/parted/F-12 parted-1.9.0-swap-flag.patch, 1.3, 1.4 parted.spec, 1.149, 1.150

Hans de Goede jwrdegoede at fedoraproject.org
Thu Oct 8 09:14:57 UTC 2009


Author: jwrdegoede

Update of /cvs/extras/rpms/parted/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2556

Modified Files:
	parted-1.9.0-swap-flag.patch parted.spec 
Log Message:
* Thu Oct  8 2009 Hans de Goede <hdegoede at redhat.com> 1.9.0-17
- Only change the partition type to 82 when setting the swap flag on dos
  labels, not when resetting it


parted-1.9.0-swap-flag.patch:
 dos.c |   30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

Index: parted-1.9.0-swap-flag.patch
===================================================================
RCS file: /cvs/extras/rpms/parted/F-12/parted-1.9.0-swap-flag.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- parted-1.9.0-swap-flag.patch	6 Oct 2009 21:00:09 -0000	1.3
+++ parted-1.9.0-swap-flag.patch	8 Oct 2009 09:14:57 -0000	1.4
@@ -109,7 +109,7 @@ index 7ec15ee..f8307c5 100644
 +			dos_data->prep = 0;
 +		}
 +		dos_data->swap = state;
-+		return ped_partition_set_system (part, ped_file_system_type_get("linux-swap"));
++		return ped_partition_set_system (part, part->fs_type);
 +
  	default:
  		return 0;


Index: parted.spec
===================================================================
RCS file: /cvs/extras/rpms/parted/F-12/parted.spec,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -p -r1.149 -r1.150
--- parted.spec	6 Oct 2009 21:00:09 -0000	1.149
+++ parted.spec	8 Oct 2009 09:14:57 -0000	1.150
@@ -4,7 +4,7 @@
 Summary: The GNU disk partition manipulation program
 Name:    parted
 Version: 1.9.0
-Release: 16%{?dist}
+Release: 17%{?dist}
 License: GPLv3+
 Group:   Applications/System
 URL:     http://www.gnu.org/software/parted
@@ -142,6 +142,10 @@ fi
 %{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc
 
 %changelog
+* Thu Oct  8 2009 Hans de Goede <hdegoede at redhat.com> 1.9.0-17
+- Only change the partition type to 82 when setting the swap flag on dos
+  labels, not when resetting it
+
 * Tue Oct  6 2009 Hans de Goede <hdegoede at redhat.com> 1.9.0-16
 - Correctly handle GPT labels on big endian machines
 




More information about the scm-commits mailing list