Commit Graph

55 Commits

Author SHA1 Message Date
Ondrej Mosnáček
089f936bfa
Use install instead of mkdir and cp
Also remove redundant cp invocations.

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 16:48:08 +02:00
Ondrej Mosnáček
f75aa9d221
Fix Requires/Recommends
Add missing dependencies based on code audit. Also make the package
universally noarch by recommending qemu-img instead of requiring it (it
is not strictly required for all functionality).

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 14:04:53 +02:00
Ondrej Mosnáček
97581c1021
Update to version 0.33
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 14:04:42 +02:00
Ondrej Mosnáček
6744a39e9e
Convert License field to SPDX
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 12:51:08 +02:00
Ondrej Mosnáček
5ac25ecc09
Use %{name} in Requires
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 12:43:16 +02:00
Ondrej Mosnáček
dfbec48aa1
Use Recommends for weak dependency
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 12:41:20 +02:00
Ondrej Mosnáček
bf66d963d8
Use the %{buildroot} macro
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 12:40:07 +02:00
Ondrej Mosnáček
e6ed279ca1
Remove unnecessary definition of %license
These were only needed for RHEL-6:
https://access.redhat.com/documentation/en-us/red_hat_software_collections/3/html/packaging_guide/sect-differences_between_red_hat_enterprise_linux_6_and_7

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 12:39:29 +02:00
Ondrej Mosnáček
13aacd8531
Switch to rpmautospec
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2023-09-05 11:44:00 +02:00
Fedora Release Engineering
c5ffe4d962 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 15:54:26 +00:00
Fedora Release Engineering
defdaad97f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:03:54 +00:00
Fedora Release Engineering
c31eb24ae5 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:08:21 +00:00
Fedora Release Engineering
9f89483cab - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 23:24:24 +00:00
Fedora Release Engineering
052707ae0d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:37:55 +00:00
Fedora Release Engineering
8378c62940 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:40:24 +00:00
Fedora Release Engineering
6b10190634 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:08:17 +00:00
Fedora Release Engineering
696d545a2e - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:08:24 +00:00
Fedora Release Engineering
4379bc9522 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:15:24 +00:00
Juerg Haefliger
39064c4ed8 Bump the release number
Signed-off-by: Juerg Haefliger <juergh@gmail.com>
2019-10-24 10:04:42 +02:00
Juerg Haefliger
356b145fad Remove euca2ools wrappers and manpages from the build root directory
... to prevent the following build error:

error: Installed (but unpackaged) file(s) found:
   /usr/bin/cloud-publish-image
   /usr/bin/cloud-publish-tarball
   /usr/share/man/man1/cloud-publish-image.1.gz
   /usr/share/man/man1/cloud-publish-tarball.1.gz
    Installed (but unpackaged) file(s) found:
   /usr/bin/cloud-publish-image
   /usr/bin/cloud-publish-tarball
   /usr/share/man/man1/cloud-publish-image.1.gz
   /usr/share/man/man1/cloud-publish-tarball.1.gz

Signed-off-by: Juerg Haefliger <juergh@gmail.com>
2019-10-24 09:34:35 +02:00
Juerg Haefliger
9584970be0 Drop euca2ools dependency and wrapper scripts
The euca2ools package has been retired so drop its dependency and all the
scripts that are wrappers around tools provided by the euca2ools package.

Signed-off-by: Juerg Haefliger <juergh@gmail.com>
2019-10-24 09:09:51 +02:00
Fedora Release Engineering
c634f68541 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:27:08 +00:00
Juerg Haefliger
6916bd0de5 Add new cloud-utils-0.31.tar.gz sources
Signed-off-by: Juerg Haefliger <juergh@gmail.com>
2019-03-18 12:31:13 +01:00
Juerg Haefliger
f3d1617d2f Update package to upstream release 0.31 plus cleanups
This commit includes the following changes from the update to upstream
release 0.31:
  - 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.

Additionally:
  - Change the requirements from python2 to python3.
  - Drop the python2-paramiko requirement which was only used by the
    cloud-run-instances script which is no longer included.
  - Drop the cloud-run-instances manpage.

Signed-off-by: Juerg Haefliger <juergh@gmail.com>
2019-03-18 11:00:25 +01:00
Fedora Release Engineering
758de90d24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:46:47 +00:00
Igor Gnatenko
37f72e7dfa Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:57 +01:00
Fedora Release Engineering
201d84bc9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:54:23 +00:00
Iryna Shcherbina
8c53f1d5c1 Update Python 2 dependency declarations to new packaging standards 2018-02-07 10:35:49 +01:00
Fedora Release Engineering
bd28fba1f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 05:09:26 +00:00
Sinny Kumari
1f53f86064 Update package to upstream release 0.30
This commit includes following additional changes:

- Resolves RHBZ#1515835 - growpart fails to resize partition on aarch64
- Remove patches in spec file because they are already available in 0.30
- Fix rpmlint issues on spec file
- Remove LICENSE file, already shipped with 0.30 source tar
- cloud-run-instances binary has been dropped in 0.28
- mount-image-callback and vcs-run binaries has been introduced in 0.28

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2017-12-18 11:10:25 +05:30
Fedora Release Engineering
3dc4eabf5d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 05:00:13 +00:00
Fedora Release Engineering
fa4c0f48de - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:36:21 +00:00
Adam Williamson
699ea0c1da okay, so that didn't work. this does 2016-06-03 13:21:59 -07:00
Adam Williamson
379417434d don't produce a backup file for patch2
--no-backup-if-mismatch seems to be default on master but not
f24 at present, and this breaks the f24 build (because the .orig
file gets installed but not packaged). Committing to master and
f24 to keep them in sync.
2016-06-03 13:12:33 -07:00
Adam Williamson
10dd4f5215 backport fix for #1327337 (growpart fail with newer util-linux-ng) 2016-06-03 12:54:10 -07:00
Dennis Gilmore
307a7dd6d5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:46:55 +00:00
Dennis Gilmore
f1275786c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 02:48:52 +00:00
Juerg Haefliger
0c00cdf08f Support new sfdisk version 2.26 (#1197894) 2015-03-26 08:23:40 +01:00
Tom Callaway
5140ddb403 fix license handling 2014-07-11 16:40:44 -04:00
Dennis Gilmore
0892d8b3bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:04:19 -05:00
Juerg Haefliger
61f0b25dcc Merge branch 'master' of ssh://pkgs.fedoraproject.org/cloud-utils 2013-11-22 09:53:17 +00:00
Juerg Haefliger
ddc1c87852 Fix partx usage error (#966574) 2013-11-22 09:52:27 +00:00
Juerg Haefliger
ba47b7e372 Fix partx usage error (#96657) 2013-11-22 09:47:22 +00:00
Juerg Haefliger
d78b10a5e5 Fix 32-bit arch type and prevent building of debuginfo packages 2013-08-16 12:17:31 -04:00
Juerg Haefliger
96b0eace3d Make the package a no-noarch package on EPEL
So that the build of the main package is prevented on arches that don't
support it. Fixes bz #986809.
2013-08-16 11:28:51 -04:00
Juerg Haefliger
2ab1ebb6d2 Merge branch 'el6'
Conflicts:
	cloud-utils.spec
2013-08-06 07:18:00 -04:00
Juerg Haefliger
b54a90ec75 Build growpart subpackage on all EPEL architectures
Fixes bz #986809.
2013-08-06 07:11:28 -04:00
Dennis Gilmore
92e54bba6a - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 00:12:31 -05:00
Juerg Haefliger
cdc44f598a Don't make gdisk a hard requirement for cloud-utils-growpart
This saves some 25MB for systems that don't use GPT partitions.
2013-06-18 02:09:55 -04:00
Juerg Haefliger
2e4dd412ef Create a subpackage for growpart
The growpart script is primarily used in cloud images for root partition
resizing. The other tools in cloud-utils have dependencies on a lot of other
packages which are not that useful in a cloud image and just blow it up in size.
2013-06-17 09:39:27 -04:00