15
0
forked from pool/python-Durus

Accepting request 745405 from devel:languages:python

- Format with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/745405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Durus?expand=0&rev=9
This commit is contained in:
2019-11-06 13:06:07 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 5 09:52:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Format with spec-cleaner
-------------------------------------------------------------------
Thu Aug 24 13:37:52 UTC 2017 - jmatejek@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Durus
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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/
#
@@ -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}/*