From a977833afd3b5c517ab361bafcaab103e8f7193f2539219c01cffe994471e6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 5 Nov 2019 09:53:11 +0000 Subject: [PATCH] - Format with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Durus?expand=0&rev=12 --- python-Durus.changes | 5 +++++ python-Durus.spec | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) 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}/*