Blame SPECS/cloud-utils-growpart.spec

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