osc copypac from project:Cloud:Tools package:growpart revision:20

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/growpart?expand=0&rev=22
This commit is contained in:
Dirk Mueller 2023-11-26 21:55:54 +00:00 committed by Git OBS Bridge
parent 6ec41dda48
commit f5ff30c45d
4 changed files with 14 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:338770d637788466aacfcbcec17a8d0046f92a13cc3b25fce8fceadb02a7339f
size 58817

3
cloud-utils-0.32.tar.gz Normal file
View File

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

View File

@ -1,25 +1,3 @@
-------------------------------------------------------------------
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.
-------------------------------------------------------------------
Wed Aug 2 12:12:05 UTC 2023 - Robert Schweikert <rjschwei@suse.com>
@ -93,7 +71,7 @@ Thu Oct 17 14:04:18 UTC 2019 - Marcus Schaefer <ms@suse.com>
- Deleted rootgrow source and sub-package build
rootgrow is provided on github: https://github.com/SUSE-Enceladus/rootgrow
and builds a standalone package now
and builds a standalone package now
-------------------------------------------------------------------
Wed Jun 12 15:07:49 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

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