From df41bde2a2a163e10459ef3e1a3a67972e225114 Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Wed, 16 Mar 2016 11:37:50 +0100 Subject: [PATCH] Spec cleanups --- python-fasteners.spec | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/python-fasteners.spec b/python-fasteners.spec index 222fe9e..269c851 100644 --- a/python-fasteners.spec +++ b/python-fasteners.spec @@ -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 - 0.14.1-4 +- Spec cleanups + * Thu Feb 04 2016 Fedora Release Engineering - 0.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild