Notification time stamped 2018-08-31 23:48:29 UTC
From 86b783ef9f00539a16f808105c2ca75eae4ce49c Mon Sep 17 00:00:00 2001
From: Mukundan Ragavan <nonamedotc(a)gmail.com>
Date: Aug 31 2018 23:48:25 +0000
Subject: update t0 0.32.0
---
diff --git a/.gitignore b/.gitignore
index 0f7f14b..2986ba7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ gparted-0.6.2.tar.bz2
/gparted-0.29.0.tar.gz
/gparted-0.30.0.tar.gz
/gparted-0.31.0.tar.gz
+/gparted-0.32.0.tar.gz
diff --git a/gparted-1-pvresize-yes-flag-v1.patch b/gparted-1-pvresize-yes-flag-v1.patch
deleted file mode 100644
index 085b20c..0000000
--- a/gparted-1-pvresize-yes-flag-v1.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 2f090b4a2b649c30c649d36b9919e1d4a4f65c07 Mon Sep 17 00:00:00 2001
-From: Mike Fleetwood <mike.fleetwood(a)googlemail.com>
-Date: Mon, 11 Jun 2018 12:57:52 +0100
-Subject: [PATCH] Fix LVM2 PV shrinking with lvm2 2.02.171 and later (#1)
-
-Shrinking an LVM2 Physical Volume on CentOS 7 with the latest
-lvm2 2.02.177 fails like this:
-
- Shrink /dev/sda9 from 1.00 GiB to 768.00 MiB
- * calibrate /dev/sda9
- * check file system on /dev/sda9 for errors and (if possib...(SUCCESS)
- * shrink file system (ERROR)
- * lvm pvresize -v --setphysicalvolumesize 786432K '/dev/...(ERROR)
- 0 physical volume(s) resized / 1 physical volume(s) not resized
-
- Wiping internal VG cache
- Wiping cache of LVM-capable devices
- /dev/sda9: Requested size 712.00 MiB is less than real size 1.00 GiB. Proceed?
[y/n]:[n]
- Physical Volume /dev/sda9 not resized.
-
-This upstream change to lvm2 [1] makes pvresize prompt for confirmation
-whenever the --setphysicalvolumesize option is used. (The change was
-included in lvm2 2.02.171 and later, which is used in recent
-distributions. The reporter found the issue on Ubuntu 18.04 LTS and I
-reproduced the issue on RHEL/CentOS 7.5). The set size option has to be
-used when shrinking the PV before shrinking the partition therefore fix
-this issue by adding lvm common option --yes when using the set size
-option.
-
-[1]
https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=cbc69f8c693edf0d130...
- pvresize: Prompt when non-default size supplied.
-
-Closes #1 - Can't shrink LVM partition due to pvresize prompt
----
- src/lvm2_pv.cc | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/lvm2_pv.cc b/src/lvm2_pv.cc
-index 15af3eb..5f7c7bb 100644
---- a/src/lvm2_pv.cc
-+++ b/src/lvm2_pv.cc
-@@ -102,7 +102,7 @@ bool lvm2_pv::resize( const Partition & partition_new,
OperationDetail & operati
- {
- Glib::ustring size = "" ;
- if ( ! fill_partition )
-- size = " --setphysicalvolumesize " +
-+ size = " --yes --setphysicalvolumesize " +
- Utils::num_to_str( floor( Utils::sector_to_unit(
- partition_new .get_sector_length(), partition_new .sector_size, UNIT_KIB ) ) ) +
"K " ;
- return ! execute_command( "lvm pvresize -v " + size + Glib::shell_quote(
partition_new.get_path() ),
---
-1.7.1
-
diff --git a/gparted.spec b/gparted.spec
index f86280e..f4170a1 100644
--- a/gparted.spec
+++ b/gparted.spec
@@ -1,14 +1,12 @@
Summary: Gnome Partition Editor
Name: gparted
-Version: 0.31.0
-Release: 4%{?dist}.1
+Version: 0.32.0
+Release: 1%{?dist}
Group: Applications/System
License: GPLv2+
URL:
http://gparted.org
Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0: gparted-1-pvresize-yes-flag-v1.patch
-
BuildRequires: gtkmm24-devel
BuildRequires: parted-devel
BuildRequires: libuuid-devel
@@ -38,8 +36,6 @@ will be detected at runtime and don't require a rebuild of GParted
%prep
%setup -q
-%patch0 -p1
-
%build
# get rid of --enable-xhost-root. EL does not use wayland yet
%configure --enable-libparted-dmraid --enable-online-resize
@@ -83,6 +79,10 @@ appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/metainfo/%{name}.a
%{_mandir}/man8/gparted.*
%changelog
+* Fri Aug 31 2018 Mukundan Ragavan <nonamedotc(a)fedoraproject.org> - 0.32.0-1
+- Update to 0.32.0
+- Drop upstreamed patch
+
* Wed Jul 11 2018 Mukundan Ragavan <nonamedotc(a)fedoraproject.org> - 0.31.0-4.1
- Drop enable-xhost-root flag
- Add strict requires on gparted (see comments)
diff --git a/one-sector-error.patch b/one-sector-error.patch
deleted file mode 100644
index 5ea681d..0000000
--- a/one-sector-error.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/src/Copy_Blocks.cc b/src/Copy_Blocks.cc
-index d040951..392398a 100644
---- src/Copy_Blocks.cc
-+++ src/Copy_Blocks.cc
-@@ -105,9 +105,9 @@ void copy_blocks::copy_thread()
- {
- blocksize -= 2*blocksize;
- done -= 2*done;
-- offset_src += ( (length / src_sector_size) - 1 );
-+ offset_src += length / src_sector_size;
- /* Handle situation where src sector size is smaller than dst sector size and an
additional partial dst sector is required. */
-- offset_dst += ( ((length + (dst_sector_size - 1)) / dst_sector_size) - 1 );
-+ offset_dst += (length + (dst_sector_size - 1)) / dst_sector_size;
- }
- success = true;
- } else success = false;
-
diff --git a/sources b/sources
index 33ce553..9f98073 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gparted-0.31.0.tar.gz) =
b1041d7e8cad66818a3726615fb43825d1fe343b0cc7b643dc37319174d053c3236dc88e74184ac993d0dac622cd0405ea4d10fe022baa76aed7b9f8168471df
+SHA512 (gparted-0.32.0.tar.gz) =
ea05c387031d0e5ac7f8fa582d9b15881336d72ed2e04a8515217bedccea763491e8d093f9ed3f47fc6c648412a2dca7fff1735e70d897beb065e6b3e698ad43
https://src.fedoraproject.org/rpms/gparted/c/86b783ef9f00539a16f808105c2c...