[pyshp] Disable Python 3 builds for EPEL 7

Volker Fröhlich volter at fedoraproject.org
Thu Jan 23 20:14:06 UTC 2014


commit ce477a45e479586a6b6559f87c22455449724c52
Author: Volker Fröhlich <volker27 at gmx.at>
Date:   Thu Jan 23 21:13:02 2014 +0100

    Disable Python 3 builds for EPEL 7

 pyshp.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/pyshp.spec b/pyshp.spec
index 6462082..51bcc52 100644
--- a/pyshp.spec
+++ b/pyshp.spec
@@ -1,11 +1,11 @@
 # This module works with Python 3
-%if 0%{?fedora} || 0%{?rhel} > 6
+%if 0%{?fedora} || 0%{?rhel} > 7
 %global with_python3 1
 %endif
 
 Name:           pyshp
 Version:        1.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Pure Python read/write support for ESRI Shapefile format
 Group:          Development/Libraries
 License:        MIT
@@ -81,6 +81,7 @@ pushd %{py3dir}
 
 %files
 # Oct 2013: Mailed the author about including a license file
+# http://code.google.com/p/pyshp/source/detail?r=92
 # Same information as in PKG-INFO
 %doc changelog.txt README.txt
 %{python_sitelib}/shapefile.py*
@@ -95,6 +96,9 @@ pushd %{py3dir}
 
 
 %changelog
+* Thu Jan 23 2014 Volker Fröhlich <volker27 at gmx.at> - 1.2.0-2
+- Disable Python 3 builds for EPEL7 until Python 3 is available there
+
 * Sun Oct 06 2013 Volker Fröhlich <volker27 at gmx.at> - 1.2.0-1
 - New upstream release
 


More information about the scm-commits mailing list