Blame SPECS/cloud-utils-growpart.spec

01b97e
Name:		cloud-utils-growpart
01b97e
Version:	0.29
8f6ffc
Release:	5%{?dist}
01b97e
License:	GPLv3
01b97e
Group:		System Environment/Base
01b97e
Source0:	https://launchpad.net/cloud-utils/trunk/%{version}/+download/cloud-utils-%{version}.tar.gz
8f6ffc
Patch0001:	0001-growpart-fix-bug-occurring-if-start-sector-and-size-.patch
8f6ffc
Patch2:		0002-growpart-fix-bug-when-resizing-a-middle-partition-wi.patch
01b97e
URL:		https://launchpad.net/cloud-utils
01b97e
Source1:	LICENSE
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
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
8f6ffc
%autosetup -n cloud-utils-%{version} -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
8f6ffc
* Mon Jun 03 2019 Miroslav Rezanina <mrezanin@redhat.com> - 0.29-5
8f6ffc
- Fix bug when resizing a middle partition with sgdisk
8f6ffc
- Resolves: rhbz#1695091
8f6ffc
8f6ffc
* Mon Dec 10 2018 Lars Kellogg-Stedman <lars@redhat.com> - 0.29-3
8f6ffc
- Fix growpart error when partition size matches partition offset
8f6ffc
- Resolves: rhbz#1593451
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