Blame SPECS/cloud-utils-growpart.spec

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