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
|
Name: cloud-init
|
||||||
%global forgeurl https://github.com/canonical/cloud-init
|
|
||||||
Version: 23.1.2
|
Version: 23.1.2
|
||||||
%global tag %{version}
|
Release: 1%{?dist}
|
||||||
%forgemeta
|
|
||||||
|
|
||||||
Name: %{srcname}
|
|
||||||
Release: 2%{?dist}
|
|
||||||
Summary: Cloud instance init scripts
|
Summary: Cloud instance init scripts
|
||||||
License: ASL 2.0 or GPLv3
|
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
|
Source1: cloud-init-tmpfiles.conf
|
||||||
|
|
||||||
# https://github.com/canonical/cloud-init/pull/2073
|
# https://github.com/canonical/cloud-init/pull/2073
|
||||||
@ -90,7 +85,7 @@ ssh keys and to let the user run various scripts.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%forgeautosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
# Change shebangs
|
# Change shebangs
|
||||||
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
|
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
|
||||||
@ -188,9 +183,6 @@ python3 -m pytest tests/unittests
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Apr 27 2023 Major Hayden <major@redhat.com> - 23.1.2-1
|
||||||
- Update to 23.1.2
|
- Update to 23.1.2
|
||||||
- Includes fix for CVE-2023-1786
|
- Includes fix for CVE-2023-1786
|
||||||
|
Loading…
Reference in New Issue
Block a user