Blame SPECS/cloud-utils-growpart.spec

5de64a
Name:		cloud-utils-growpart
5de64a
Version:	0.29
5de64a
Release:	2%{?dist}.2
5de64a
License:	GPLv3
5de64a
Group:		System Environment/Base
5de64a
Source0:	https://launchpad.net/cloud-utils/trunk/%{version}/+download/cloud-utils-%{version}.tar.gz
5de64a
URL:		https://launchpad.net/cloud-utils
5de64a
Source1:	LICENSE
5de64a
Patch1: 0002-growpart-fix-bug-when-resizing-a-middle-partition-wi.patch
5de64a
5de64a
BuildArch:	noarch
5de64a
5de64a
Summary:	Script for growing a partition
5de64a
5de64a
Requires:	gawk
5de64a
Requires:	util-linux
5de64a
# gdisk is only required for resizing GPT partitions and depends on libicu
5de64a
# (25MB). We don't make this a hard requirement to save some space in non-GPT
5de64a
# systems.
5de64a
#Requires:	gdisk
5de64a
5de64a
5de64a
5de64a
%description
5de64a
This package provides the growpart script for growing a partition. It is
5de64a
primarily used in cloud images in conjunction with the dracut-modules-growroot
5de64a
package to grow the root partition on first boot.
5de64a
5de64a
%prep
5de64a
%setup -q -n cloud-utils-%{version}
5de64a
%patch1 -p1
5de64a
5de64a
%build
5de64a
5de64a
%install
5de64a
cp %{SOURCE1} LICENSE
5de64a
5de64a
# Create the target directories
5de64a
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
5de64a
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
5de64a
5de64a
# Install the growpart binary and man page
5de64a
cp bin/growpart $RPM_BUILD_ROOT/%{_bindir}/
5de64a
cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
5de64a
5de64a
%files
5de64a
%doc ChangeLog LICENSE
5de64a
%{_bindir}/growpart
5de64a
%doc %{_mandir}/man1/growpart.*
5de64a
5de64a
%changelog
5de64a
* Tue Jul 09 2019 Miroslav Rezanina <mrezanin@redhat.com> - 0.29-2.el7_6.2
5de64a
- growpart: fix bug when resizing a middle partition with sgdisk [rhbz#1726564]
5de64a
- Resolves: rhbz#1726564
5de64a
  (When growing GPT partitions use [start of next - 1] instead of [start of next] as the new end sector.)
5de64a
5de64a
* Wed Apr 19 2017 Charalampos Stratakis <cstratak@redhat.com> - 0.29-2
5de64a
- Import to RHEL 7
5de64a
Resolves: rhbz#1308711
5de64a
5de64a
* Mon Dec 05 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.29-1
5de64a
- update to 0.29
5de64a
- resolves rhbz#1321373
5de64a
5de64a
* Tue May 10 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.28-1
5de64a
- fix locale related problems in growpart script (rhbz#1327620)
5de64a
  w/ rebase to 0.28
5de64a
5de64a
* Tue May 10 2016 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-14
5de64a
5de64a
* Tue Mar 18 2014 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-13
5de64a
- suppress partx usage error
5de64a
5de64a
* Tue Jan 14 2014 Lars Kellogg-Stedman <lars@redhat.com> - 0.27-11
5de64a
- import into RHEL
5de64a