rpms/parted/devel parted-1.9.0-handle-dup-error.patch, NONE, 1.1 parted.spec, 1.138, 1.139
Joel Andres Granados Moreno
jgranado at fedoraproject.org
Wed Jul 22 10:18:08 UTC 2009
- Previous message (by thread): rpms/kdelibs/devel .cvsignore, 1.74, 1.75 kdelibs.spec, 1.489, 1.490 sources, 1.91, 1.92
- Next message (by thread): rpms/firefox/F-11 firefox.spec,1.331,1.332 firefox.png,1.4,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jgranado
Update of /cvs/pkgs/rpms/parted/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15146
Modified Files:
parted.spec
Added Files:
parted-1.9.0-handle-dup-error.patch
Log Message:
Better handle duplicate errors.
parted-1.9.0-handle-dup-error.patch:
disk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE parted-1.9.0-handle-dup-error.patch ---
>From 41bbcb45aaa89294cda404c89526aa7e251e02ca Mon Sep 17 00:00:00 2001
From: Joel Granados Moreno <jgranado at redhat.com>
Date: Wed, 22 Jul 2009 12:08:34 +0200
Subject: [PATCH] Try to handle the duplicate error a little better.
---
libparted/disk.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libparted/disk.c b/libparted/disk.c
index 3656d22..8529e50 100644
--- a/libparted/disk.c
+++ b/libparted/disk.c
@@ -278,6 +278,7 @@ ped_disk_duplicate (const PedDisk* old_disk)
old_part = ped_disk_next_partition (old_disk, old_part)) {
if (ped_partition_is_active (old_part)) {
if (!_add_duplicate_part (new_disk, old_part))
+ _disk_pop_update_mode (new_disk);
goto error_destroy_new_disk;
}
}
--
1.6.0.6
Index: parted.spec
===================================================================
RCS file: /cvs/pkgs/rpms/parted/devel/parted.spec,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -p -r1.138 -r1.139
--- parted.spec 21 Jul 2009 14:57:57 -0000 1.138
+++ parted.spec 22 Jul 2009 10:18:08 -0000 1.139
@@ -4,7 +4,7 @@
Summary: The GNU disk partition manipulation program
Name: parted
Version: 1.9.0
-Release: 4.20090721git980c%{?dist}
+Release: 5.20090721git980c%{?dist}
License: GPLv3+
Group: Applications/System
URL: http://www.gnu.org/software/parted
@@ -17,17 +17,18 @@ URL: http://www.gnu.org/software/par
#
# Note that this script will give different results if master changes in upstream.
#
-Source: %{name}/%{name}-%{version}.tar.gz
-Patch1: %{name}-1.9.0-appletv-support.patch
-Patch2: %{name}-1.9.0-extended-mbr.patch
-Patch3: %{name}-1.9.0-noheaders.patch
-Patch4: %{name}-1.9.0-pop-push-error.patch
-Patch5: %{name}-1.9.0-no-cylinder-align.patch
-Patch6: %{name}-1.9.0-swap-flag.patch
-Patch7: %{name}-1.9.0-remove-struct-elem.patch
-Patch8: %{name}-1.9.0-move-function-declarations.patch
-Patch9: %{name}-1.9.0-dasd-duplicate.patch
-Patch10: %{name}-1.9.0-new-duplicate.patch
+Source: %{name}/%{name}-%{version}.tar.gz
+Patch1: %{name}-1.9.0-appletv-support.patch
+Patch2: %{name}-1.9.0-extended-mbr.patch
+Patch3: %{name}-1.9.0-noheaders.patch
+Patch4: %{name}-1.9.0-pop-push-error.patch
+Patch5: %{name}-1.9.0-no-cylinder-align.patch
+Patch6: %{name}-1.9.0-swap-flag.patch
+Patch7: %{name}-1.9.0-remove-struct-elem.patch
+Patch8: %{name}-1.9.0-move-function-declarations.patch
+Patch9: %{name}-1.9.0-dasd-duplicate.patch
+Patch10: %{name}-1.9.0-new-duplicate.patch
+Patch11: %{name}-1.9.0-handle-dup-error.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: e2fsprogs-devel
@@ -77,6 +78,7 @@ Parted library, you need to install this
%patch8 -p1 -b .move-function-declarations
%patch9 -p1 -b .dasd-duplicate
%patch10 -p1 -b .new-duplicate
+%patch11 -p1 -b .handle-dup-error
%build
@@ -135,6 +137,9 @@ fi
%{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc
%changelog
+* Wed Jul 22 2009 Joel Granados <jgranado at redhat.com> - 1.9.0-5.20090721git980c
+- Better handle a duplicate error.
+
* Tue Jul 21 2009 Joel Granados <jgranado at redhat.com> - 1.9.0-4.20090721git980c
- New snapshot.
- Add patches to make dasd duplicate disk work.
- Previous message (by thread): rpms/kdelibs/devel .cvsignore, 1.74, 1.75 kdelibs.spec, 1.489, 1.490 sources, 1.91, 1.92
- Next message (by thread): rpms/firefox/F-11 firefox.spec,1.331,1.332 firefox.png,1.4,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list