growpart/growpart.spec
Robert Schweikert 12dc53258e Accepting request 1128985 from home:dirkmueller:Factory
- update to 0.33:
  * More busybox compatibility changes
  * growpart: Add support for overprovisioning (#35)
  * mount-image-callback: do not rely on udevadm
  * growpart: only run `udevadm` if it exists (#36) [oittaa]
  * growpart: detect whether blkid is util-linux version and
    act accordingly
  * growpart doesn't work when LANG=cs_CZ.UTF-8
  * growpart: change flock call to use short option for
    Busybox compatibility [Dermot Bradley]
  * growpart: Use LANG=C to parse sfdisk output
  * Fix bad variable use.
  * Whitespace cleanups.
  * Growpart fix undefined variable in growpart error message.
  * cloud-image-utils: Add depends on fdisk, drop e2fsprogs
  * growpart: add flock support to prevent udev races
  * Drop the python2 only cloud-utils-euca package and tools.
  * test-growpart: fix logic error resulting in test failure.
- fix URL (development moved to GitHub)
- use fully qualified urls for source validation

  and builds a standalone package now

OBS-URL: https://build.opensuse.org/request/show/1128985
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/growpart?expand=0&rev=23
2023-11-27 12:38:30 +00:00

52 lines
1.6 KiB
RPMSpec

#
# spec file for package growpart
#
# Copyright (c) 2023 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/
#
Name: growpart
Version: 0.33
Release: 0
Summary: Grow a partition
License: GPL-3.0-only
Group: System/Management
URL: https://github.com/canonical/cloud-utils
Source0: https://github.com/canonical/cloud-utils/archive/refs/tags/%{version}.tar.gz#/cloud-utils-%{version}.tar.gz
Requires: gptfdisk
Requires: util-linux
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-%{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
%license LICENSE
%{_sbindir}/growpart
%{_mandir}/man1/*
%changelog