diff --git a/python-testrepository.changes b/python-testrepository.changes index 9734d7e..a4eb561 100644 --- a/python-testrepository.changes +++ b/python-testrepository.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:55:12 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Jul 5 09:04:12 UTC 2017 - tbechtold@suse.com diff --git a/python-testrepository.spec b/python-testrepository.spec index 9411dee..04ce483 100644 --- a/python-testrepository.spec +++ b/python-testrepository.spec @@ -1,7 +1,7 @@ # # spec file for package python-testrepository # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,11 +21,10 @@ Name: python-testrepository Version: 0.0.20 Release: 0 Summary: A repository of test results -License: BSD-3-Clause or Apache-2.0 +License: BSD-3-Clause OR Apache-2.0 Group: Development/Languages/Python -Url: https://launchpad.net/testrepository -Source: https://pypi.io/packages/source/t/testrepository/testrepository-%{version}.tar.gz -BuildRequires: %{python_module devel} +URL: https://launchpad.net/testrepository +Source: https://files.pythonhosted.org/packages/source/t/testrepository/testrepository-%{version}.tar.gz BuildRequires: %{python_module extras} BuildRequires: %{python_module fixtures} BuildRequires: %{python_module pbr} @@ -41,14 +40,12 @@ Requires: python-fixtures Requires: python-python-subunit >= 0.0.10 Requires: python-testscenarios Requires: python-testtools >= 0.9.30 +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch %ifpython3 Requires: python3-dbm %endif -Requires(post): update-alternatives -Requires(postun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -80,8 +77,8 @@ subunit or be converted into a subunit stream can be accepted). %python_uninstall_alternative testr %files %{python_files} -%defattr(-,root,root,-) -%doc Apache-2.0 COPYING NEWS README.txt BSD +%license COPYING +%doc Apache-2.0 NEWS README.txt BSD %python_alternative %{_bindir}/testr %{python_sitelib}/*