Blame SPECS/cloud-utils-growpart.spec

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