Blame SPECS/cloud-utils-growpart.spec

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