Revert "Use forge source"
This reverts commit 6b3daa415e
.
Thanks to Neal for telling me about the forge source pending
deprecation[0]. I was unaware.
[0] https://pagure.io/packaging-committee/pull-request/1270
Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
6b3daa415e
commit
9cfa4f6611
@ -1,16 +1,11 @@
|
||||
%global srcname cloud-init
|
||||
%global forgeurl https://github.com/canonical/cloud-init
|
||||
Name: cloud-init
|
||||
Version: 23.1.2
|
||||
%global tag %{version}
|
||||
%forgemeta
|
||||
|
||||
Name: %{srcname}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Cloud instance init scripts
|
||||
License: ASL 2.0 or GPLv3
|
||||
URL: %forgeurl
|
||||
URL: http://launchpad.net/cloud-init
|
||||
|
||||
Source0: %forgesource
|
||||
Source0: https://launchpad.net/cloud-init/trunk/%{version}/+download/%{name}-%{version}.tar.gz
|
||||
Source1: cloud-init-tmpfiles.conf
|
||||
|
||||
# https://github.com/canonical/cloud-init/pull/2073
|
||||
@ -90,7 +85,7 @@ ssh keys and to let the user run various scripts.
|
||||
|
||||
|
||||
%prep
|
||||
%forgeautosetup -p1
|
||||
%autosetup -p1
|
||||
|
||||
# Change shebangs
|
||||
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
|
||||
@ -188,9 +183,6 @@ python3 -m pytest tests/unittests
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 28 2023 Major Hayden <major@redhat.com> - 23.1.2-2
|
||||
- Switch to forge source
|
||||
|
||||
* Thu Apr 27 2023 Major Hayden <major@redhat.com> - 23.1.2-1
|
||||
- Update to 23.1.2
|
||||
- Includes fix for CVE-2023-1786
|
||||
|
Loading…
Reference in New Issue
Block a user