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
This commit is contained in:
Robert Schweikert 2023-11-27 12:38:30 +00:00 committed by Git OBS Bridge
parent f5ff30c45d
commit 12dc53258e
4 changed files with 35 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:132255cbda774834695e2912e09b9058d3281a94874be57e48f2f04f4b89ad77
size 59335

BIN
cloud-utils-0.33.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Nov 25 22:28:18 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Wed Aug 2 12:12:05 UTC 2023 - Robert Schweikert <rjschwei@suse.com>

View File

@ -16,27 +16,25 @@
#
%define base_version 0.32
Name: growpart
Version: %{base_version}
Version: 0.33
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
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
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.
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}
%autosetup -p1 -n cloud-utils-%{version}
%build
@ -46,7 +44,6 @@ 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/*