rpms/parted/devel parted-1.9.0-swap-flag.patch, 1.3, 1.4 parted.spec, 1.150, 1.151

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


Author: jwrdegoede

Update of /cvs/extras/rpms/parted/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2276

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/devel/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 18:53:21 -0000	1.3
+++ parted-1.9.0-swap-flag.patch	8 Oct 2009 09:14:01 -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/devel/parted.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -p -r1.150 -r1.151
--- parted.spec	6 Oct 2009 20:57:12 -0000	1.150
+++ parted.spec	8 Oct 2009 09:14:01 -0000	1.151
@@ -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