diff --git a/python-Durus.changes b/python-Durus.changes index 6883f28..2ebc8ec 100644 --- a/python-Durus.changes +++ b/python-Durus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 5 09:52:43 UTC 2019 - Tomáš Chvátal + +- Format with spec-cleaner + ------------------------------------------------------------------- Thu Aug 24 13:37:52 UTC 2017 - jmatejek@suse.com diff --git a/python-Durus.spec b/python-Durus.spec index 5d2fd16..5a784da 100644 --- a/python-Durus.spec +++ b/python-Durus.spec @@ -23,18 +23,17 @@ Version: 3.9 Release: 0 Summary: A Python Object Database License: CNRI-Python -Group: Development/Languages/Python -Url: http://www.mems-exchange.org/software/durus/ +URL: https://www.mems-exchange.org/software/durus/ Source: https://files.pythonhosted.org/packages/source/D/Durus/Durus-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives %ifpython2 Provides: %{oldpython}-durus = %{version} Obsoletes: %{oldpython}-durus < %{version} %endif -Requires(post): update-alternatives -Requires(postun): update-alternatives %python_subpackages %description @@ -60,11 +59,11 @@ export CFLAGS="%{optflags}" %python_uninstall_alternative durus %check -%python_expand nosetests-%{$python_bin_suffix} +%python_expand nosetests-%{$python_bin_suffix} -v %files %{python_files} -%defattr(-,root,root,-) -%doc ACKS.txt CHANGES.txt LICENSE.txt README.txt doc/FAQ.txt +%license LICENSE.txt +%doc ACKS.txt CHANGES.txt README.txt doc/FAQ.txt %python_alternative %{_bindir}/durus %{python_sitearch}/*