forked from pool/spec-cleaner
Accepting request 716033 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/716033 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=58
This commit is contained in:
commit
58a1a34921
BIN
spec-cleaner-1.1.3.tar.gz
(Stored with Git LFS)
BIN
spec-cleaner-1.1.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
spec-cleaner-1.1.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
spec-cleaner-1.1.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
26
spec-cleaner-1.1.4_test_https.patch
Normal file
26
spec-cleaner-1.1.4_test_https.patch
Normal file
@ -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
|
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 17 08:17:52 UTC 2019 - Kristyna Streitova <kstreitova@suse.com>
|
||||||
|
|
||||||
|
- 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 <tchvatal@suse.com>
|
Thu Mar 7 12:36:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -18,13 +18,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: spec-cleaner
|
Name: spec-cleaner
|
||||||
Version: 1.1.3
|
Version: 1.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: .spec file cleaner
|
Summary: .spec file cleaner
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Tools/Other
|
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
|
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
|
||||||
BuildRequires: python3-pytest-cov
|
BuildRequires: python3-pytest-cov
|
||||||
BuildRequires: python3-pytest-runner
|
BuildRequires: python3-pytest-runner
|
||||||
@ -50,13 +51,14 @@ user to use spec-cleaner rather than to stick to perl based format_spec_file.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python3 setup.py build
|
python3 setup.py build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
python3 setup.py test
|
python3 -m pytest -k "not webtest"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install --root=%{buildroot}
|
python3 setup.py install --root=%{buildroot}
|
||||||
|
Loading…
Reference in New Issue
Block a user