growpart/growpart.spec
Robert Schweikert 823355cba4 - Update to version 0.31 (bsc#1164736)
+ mount-image-callback: mount with -o 'rw' or -o 'ro' (LP: #1663722)
  + mount-image-callback: run blockdev and udevadm settle on nbd devices.
    (LP: #1741096, 1741300)
  + mount-image-callback: Drop support for mounting lxd containers.
    (LP: #1715994)
  + growpart: fix bug that stopped GPT disks from being grown past 2TB.
    (LP: #1762748)
  + mount-image-callback: mention --help and -C/--cd-mountpoint in Usage
  + growpart: fix bug when resizing a middle partition with sgdisk
    (LP: #1706751) [Fred De Backer]
  + growpart: Resolve symbolic links before operating.
    [Kevin Locke] (LP: #1744406)
  + growpart: fix bug occurring if start sector and size were the same.
    [Lars Kellogg-Stedman] (LP: #1807171)
  + debian/control: drop Suggests on lxc1
  + debian/tests/control: add test growpart-start-matches-size.
  + White space cleanup.  Remove trailing space and tabs.
  + Move to git.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/growpart?expand=0&rev=19
2020-02-27 22:02:21 +00:00

55 lines
1.7 KiB
RPMSpec

#
# spec file for package growpart
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define base_version 0.31
Name: growpart
Version: %{base_version}
Release: 0
Summary: Grow a partition
License: GPL-3.0-only
Group: System/Management
URL: http://launchpad.net/cloud-utils
Source0: cloud-utils-%{base_version}.tar.gz
Requires: gptfdisk
Requires: util-linux
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Grow a partition. This is predominantly useful in the cloud when an instance
is started with a larger root partition than the image size. The root
partition can be expanded to take up the additional size.
%prep
%autosetup -p1 -n cloud-utils-%{base_version}
%build
%install
install -Dm0755 -t %{buildroot}%{_sbindir} bin/growpart
install -Dm0644 -t %{buildroot}%{_mandir}/man1 man/growpart.1
install -Dm0644 -t %{buildroot}/%{_defaultlicensedir}/growpart LICENSE
%files
%defattr(-,root,root,-)
%license LICENSE
%{_sbindir}/growpart
%{_mandir}/man1/*
%changelog