forked from pool/python-Durus
- Format with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Durus?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
34b9b0d22c
commit
a977833afd
@@ -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}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user