Spec cleanups
This commit is contained in:
parent
6afc81e9bd
commit
df41bde2a2
@ -1,4 +1,4 @@
|
||||
%if 0%{?fedora} > 12
|
||||
%if 0%{?fedora}
|
||||
%global with_python3 1
|
||||
%endif
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.14.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: A python package that provides useful locks
|
||||
|
||||
License: ASL 2.0
|
||||
@ -14,14 +14,6 @@ URL: https://github.com/harlowja/fasteners
|
||||
Source0: https://codeload.github.com/harlowja/fasteners/tar.gz/%{version}#/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
BuildRequires: python-six
|
||||
Requires: python-six
|
||||
|
||||
# tests:
|
||||
BuildRequires: python-testtools
|
||||
BuildRequires: python-nose
|
||||
|
||||
%description
|
||||
A python package that provides useful locks.
|
||||
@ -32,14 +24,12 @@ Summary: A python package that provides useful locks
|
||||
Obsoletes: python-%{pypi_name} < 0.13.0-3
|
||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
||||
|
||||
BuildRequires: python2-six
|
||||
BuildRequires: python2-devel
|
||||
|
||||
BuildRequires: python-six
|
||||
# tests
|
||||
BuildRequires: python2-testtools
|
||||
BuildRequires: python2-nose
|
||||
|
||||
Requires: python2-six
|
||||
BuildRequires: python-testtools
|
||||
BuildRequires: python-nose
|
||||
Requires: python-six
|
||||
|
||||
%description -n python2-%{pypi_name}
|
||||
A python package that provides useful locks.
|
||||
@ -52,12 +42,11 @@ Summary: A python package that provides useful locks
|
||||
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: python3-devel
|
||||
|
||||
# tests
|
||||
BuildRequires: python3-testtools
|
||||
BuildRequires: python3-nose
|
||||
|
||||
Requires: python3-six
|
||||
Requires: python3-six
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
A python package that provides useful locks.
|
||||
@ -127,6 +116,9 @@ nosetests-%{python3_version}
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 16 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 0.14.1-4
|
||||
- Spec cleanups
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user