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