diff --git a/spec-cleaner-1.1.9.tar.gz b/spec-cleaner-1.1.9.tar.gz deleted file mode 100644 index 0629a64..0000000 --- a/spec-cleaner-1.1.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:52cd233948178e3be8f1c66a55f1b1bd361aaf815a19d76cb020522be57e61c8 -size 498210 diff --git a/spec-cleaner-1.2.0.tar.gz b/spec-cleaner-1.2.0.tar.gz new file mode 100644 index 0000000..b1910f8 --- /dev/null +++ b/spec-cleaner-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a5f4053949d9b754ab4c549c80b1a25a8ef408d9ffa6c414ebb1a3cd7a507ba +size 500126 diff --git a/spec-cleaner.changes b/spec-cleaner.changes index bf22695..a8aeaec 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 16 10:46:32 UTC 2020 - Tomáš Chvátal + +- Update to 1.2.0 bsc#1099674: + * Fix pypi rewritter to work with wheels + * Do not choke on multiline string macros + ------------------------------------------------------------------- Wed Mar 25 16:58:04 UTC 2020 - Kristyna Streitova diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 17efaf0..083c672 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -18,16 +18,16 @@ Name: spec-cleaner -Version: 1.1.9 +Version: 1.2.0 Release: 0 Summary: .spec file cleaner License: BSD-3-Clause -Group: Development/Tools/Other URL: https://github.com/openSUSE/spec-cleaner Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz +BuildRequires: python-rpm-macros BuildRequires: python3-pytest BuildRequires: python3-pytest-cov -BuildRequires: python3-pytest-runner +BuildRequires: python3-pytest-isort BuildRequires: python3-pytest-xdist BuildRequires: python3-setuptools # For the pkg_resources used in the binary loader @@ -41,7 +41,6 @@ will never be perfect. %package format_spec_file Summary: Binding replacing OBS service format_spec_file -Group: Development/Tools/Other Requires: %{name} = %{version} Conflicts: obs-service-format_spec_file @@ -53,14 +52,14 @@ user to use spec-cleaner rather than to stick to perl based format_spec_file. %setup -q -n %{name}-%{name}-%{version} %build -python3 setup.py build +%python3_build %check export LANG=en_US.UTF-8 python3 -m pytest -k "not webtest" %install -python3 setup.py install --root=%{buildroot} +%python3_install %files %license COPYING