Drop extra tests search in prep
This commit is contained in:
parent
b954b98a1c
commit
c674eb9f57
@ -1,6 +1,6 @@
|
|||||||
Name: cloud-init
|
Name: cloud-init
|
||||||
Version: 22.1
|
Version: 22.1
|
||||||
Release: 1%{?dist}
|
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: http://launchpad.net/cloud-init
|
URL: http://launchpad.net/cloud-init
|
||||||
@ -101,7 +101,7 @@ sed -i -e 's|#!/usr/bin/python||' cloudinit/cmd/main.py
|
|||||||
# Use unittest from the standard library. unittest2 is old and being
|
# Use unittest from the standard library. unittest2 is old and being
|
||||||
# retired in Fedora. See https://bugzilla.redhat.com/show_bug.cgi?id=1794222
|
# retired in Fedora. See https://bugzilla.redhat.com/show_bug.cgi?id=1794222
|
||||||
find tests/ -type f | xargs sed -i s/unittest2/unittest/
|
find tests/ -type f | xargs sed -i s/unittest2/unittest/
|
||||||
find tests/ tests/ -type f | xargs sed -i s/assertItemsEqual/assertCountEqual/
|
find tests/ -type f | xargs sed -i s/assertItemsEqual/assertCountEqual/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -189,6 +189,9 @@ python3 -m pytest tests/unittests
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 22 2022 Neal Gompa <ngompa@fedoraproject.org> - 22.1-2
|
||||||
|
- Drop extra tests search in prep
|
||||||
|
|
||||||
* Tue Feb 22 2022 Neal Gompa <ngompa@fedoraproject.org> - 22.1-1
|
* Tue Feb 22 2022 Neal Gompa <ngompa@fedoraproject.org> - 22.1-1
|
||||||
- Rebase to 22.1
|
- Rebase to 22.1
|
||||||
- Backport cloud-init PR to add proper NetworkManager support [bz#2014701]
|
- Backport cloud-init PR to add proper NetworkManager support [bz#2014701]
|
||||||
|
Loading…
Reference in New Issue
Block a user