From c674eb9f57e18bbc7c8f514b9de8b4a95376c99b Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Tue, 22 Feb 2022 08:19:16 -0500 Subject: [PATCH] Drop extra tests search in prep --- cloud-init.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cloud-init.spec b/cloud-init.spec index 4808dc1..3fa789e 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -1,6 +1,6 @@ Name: cloud-init Version: 22.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cloud instance init scripts License: ASL 2.0 or GPLv3 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 # 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/ tests/ -type f | xargs sed -i s/assertItemsEqual/assertCountEqual/ +find tests/ -type f | xargs sed -i s/assertItemsEqual/assertCountEqual/ %build %py3_build @@ -189,6 +189,9 @@ python3 -m pytest tests/unittests %changelog +* Tue Feb 22 2022 Neal Gompa - 22.1-2 +- Drop extra tests search in prep + * Tue Feb 22 2022 Neal Gompa - 22.1-1 - Rebase to 22.1 - Backport cloud-init PR to add proper NetworkManager support [bz#2014701]