- Update to 1.2.0 bsc#1099674:

* Fix pypi rewritter to work with wheels
  * Do not choke on multiline string macros

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=150
This commit is contained in:
Tomáš Chvátal 2020-06-16 10:48:49 +00:00 committed by Git OBS Bridge
parent 8688f7f7e8
commit a876292bcd
4 changed files with 15 additions and 9 deletions

BIN
spec-cleaner-1.1.9.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
spec-cleaner-1.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jun 16 10:46:32 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <kstreitova@suse.com>

View File

@ -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