From f5ff30c45ded31199bb7dda7081b9f796190616d5f2e49fd0452f8c12ac00764 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 26 Nov 2023 21:55:54 +0000 Subject: [PATCH] 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 --- 0.33.tar.gz | 3 --- cloud-utils-0.32.tar.gz | 3 +++ growpart.changes | 24 +----------------------- growpart.spec | 17 ++++++++++------- 4 files changed, 14 insertions(+), 33 deletions(-) delete mode 100644 0.33.tar.gz create mode 100644 cloud-utils-0.32.tar.gz diff --git a/0.33.tar.gz b/0.33.tar.gz deleted file mode 100644 index ba84cf7..0000000 --- a/0.33.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:338770d637788466aacfcbcec17a8d0046f92a13cc3b25fce8fceadb02a7339f -size 58817 diff --git a/cloud-utils-0.32.tar.gz b/cloud-utils-0.32.tar.gz new file mode 100644 index 0000000..bafa534 --- /dev/null +++ b/cloud-utils-0.32.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:132255cbda774834695e2912e09b9058d3281a94874be57e48f2f04f4b89ad77 +size 59335 diff --git a/growpart.changes b/growpart.changes index d9bdf4b..6f95a6d 100644 --- a/growpart.changes +++ b/growpart.changes @@ -1,25 +1,3 @@ -------------------------------------------------------------------- -Sat Nov 25 22:28:18 UTC 2023 - Dirk Müller - -- 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 @@ -93,7 +71,7 @@ Thu Oct 17 14:04:18 UTC 2019 - Marcus Schaefer - 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 diff --git a/growpart.spec b/growpart.spec index 17a5608..811b58c 100644 --- a/growpart.spec +++ b/growpart.spec @@ -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/*