diff --git a/spec-cleaner-1.1.3.tar.gz b/spec-cleaner-1.1.3.tar.gz deleted file mode 100644 index 171f6ce..0000000 --- a/spec-cleaner-1.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:765cc9f9012392562be12993c3ed9838136221a474f02bfc237a4b153a93e6cb -size 484488 diff --git a/spec-cleaner-1.1.4.tar.gz b/spec-cleaner-1.1.4.tar.gz new file mode 100644 index 0000000..fcf9e51 --- /dev/null +++ b/spec-cleaner-1.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bea9cb7a14f8e35a01dd3c8e5c1993342212e72b70750aaf8e4e25ffc99e4711 +size 492345 diff --git a/spec-cleaner-1.1.4_test_https.patch b/spec-cleaner-1.1.4_test_https.patch new file mode 100644 index 0000000..3a09268 --- /dev/null +++ b/spec-cleaner-1.1.4_test_https.patch @@ -0,0 +1,26 @@ +Index: spec-cleaner-spec-cleaner-1.1.4/tests/in/spec-cleaner.spec +=================================================================== +--- spec-cleaner-spec-cleaner-1.1.4.orig/tests/in/spec-cleaner.spec ++++ spec-cleaner-spec-cleaner-1.1.4/tests/in/spec-cleaner.spec +@@ -24,7 +24,7 @@ Release: 0 + Summary: .spec file cleaner + License: BSD-3-Clause + Group: Development/Tools/Other +-Url: http://github.com/openSUSE/spec-cleaner ++Url: https://github.com/openSUSE/spec-cleaner + Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz + BuildRequires: python + %if 0%{?suse_version} > 01220 +Index: spec-cleaner-spec-cleaner-1.1.4/tests/out-minimal/spec-cleaner.spec +=================================================================== +--- spec-cleaner-spec-cleaner-1.1.4.orig/tests/out-minimal/spec-cleaner.spec ++++ spec-cleaner-spec-cleaner-1.1.4/tests/out-minimal/spec-cleaner.spec +@@ -23,7 +23,7 @@ Release: 0 + Summary: .spec file cleaner + License: BSD-3-Clause + Group: Development/Tools/Other +-URL: http://github.com/openSUSE/spec-cleaner ++URL: https://github.com/openSUSE/spec-cleaner + Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz + BuildRequires: python + Requires: python-base diff --git a/spec-cleaner.changes b/spec-cleaner.changes index 8d30d62..68fe7e5 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Jul 17 08:17:52 UTC 2019 - Kristyna Streitova + +- Update to 1.1.4 bsc#1099674: + * Exclude stuff from openstack macros + * Replace 'http' with 'https' in URL + * Replace legacy packageand() with 'and' expression + * Replace pwdutils with shadow in Requires + * Add openstack_cleanup_prep to bracketing excludes + * Do not curlify yast_metainfo and yast_check + * Fixup the eating of Source lines with whitespace + * Document '#nospeccleaner' tag + * Add docstrings to the functions and classes. + * Use type hints for the most important functions + * Update README and licences + * Various small fixes +- add a temporary patch spec-cleaner-1.1.4_test_https.patch + that fixes a test that fails if there is no internet connection + ------------------------------------------------------------------- Thu Mar 7 12:36:28 UTC 2019 - Tomáš Chvátal diff --git a/spec-cleaner.spec b/spec-cleaner.spec index cf5836d..d1848ca 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -18,13 +18,14 @@ Name: spec-cleaner -Version: 1.1.3 +Version: 1.1.4 Release: 0 Summary: .spec file cleaner License: BSD-3-Clause Group: Development/Tools/Other -URL: http://github.com/openSUSE/spec-cleaner +URL: https://github.com/openSUSE/spec-cleaner Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz +Patch0: spec-cleaner-1.1.4_test_https.patch BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildRequires: python3-pytest-runner @@ -50,13 +51,14 @@ user to use spec-cleaner rather than to stick to perl based format_spec_file. %prep %setup -q -n %{name}-%{name}-%{version} +%patch0 -p1 %build python3 setup.py build %check export LANG=en_US.UTF-8 -python3 setup.py test +python3 -m pytest -k "not webtest" %install python3 setup.py install --root=%{buildroot}