From 384c14733c54659838ff5cb7e78f9aef69a6f603 Mon Sep 17 00:00:00 2001 From: Dave Johansen Date: Sun, 14 Jun 2015 17:56:11 -0700 Subject: [PATCH 1/3] Turn off Python 3 support in EPEL --- python-OWSLib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-OWSLib.spec b/python-OWSLib.spec index 023bd7e..3bcac9e 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -1,6 +1,6 @@ # Works with either ElementTree or python-lxml %global modname OWSLib -%global with_python3 1 +%global with_python3 0%{?fedora} Name: python-%{modname} Version: 0.9.0 From cd4eeba9f1c8f38d579f6272f310b4a6c06feec5 Mon Sep 17 00:00:00 2001 From: Dave Johansen Date: Sun, 14 Jun 2015 19:38:30 -0700 Subject: [PATCH 2/3] Adding Python macros for EPEL 6 --- python-OWSLib.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-OWSLib.spec b/python-OWSLib.spec index 3bcac9e..4cd0c1d 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -2,6 +2,12 @@ %global modname OWSLib %global with_python3 0%{?fedora} +%if 0%{?rhel} && 0%{?rhel} <= 6 +%{!?__python2: %global __python2 /usr/bin/python2} +%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif + Name: python-%{modname} Version: 0.9.0 Release: 1%{?dist} From 36ed902e1eda8ba0cbe89ebe7973563f6e942fbb Mon Sep 17 00:00:00 2001 From: Dave Johansen Date: Sun, 20 Sep 2015 09:37:10 -0700 Subject: [PATCH 3/3] Reverting back to 0.9.0 since 0.9.1 adds a dependency on pyproj (which isn't available and would be non-trivial to add) --- .gitignore | 1 - python-OWSLib.spec | 8 +------- sources | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 1b36647..c3a838b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,3 @@ /OWSLib-0.8.12.tar.gz /OWSLib-0.8.13.tar.gz /OWSLib-0.9.0.tar.gz -/OWSLib-0.9.1.tar.gz diff --git a/python-OWSLib.spec b/python-OWSLib.spec index e7c2cf2..3bcac9e 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -3,7 +3,7 @@ %global with_python3 0%{?fedora} Name: python-%{modname} -Version: 0.9.1 +Version: 0.9.0 Release: 1%{?dist} Summary: Client library for OGC web services License: BSD @@ -93,12 +93,6 @@ popd %endif # if with_python3 %changelog -* Sun Sep 6 2015 Volker Fröhlich - 0.9.1-1 -- New upstream release - -* Thu Jun 18 2015 Fedora Release Engineering - 0.9.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - * Sat Jun 13 2015 Volker Fröhlich - 0.9.0-1 - New upstream release - Add Python 3 sub-package diff --git a/sources b/sources index bb523ea..babaa82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9ca33a5815d07ae8c97dfa3747118d2c OWSLib-0.9.1.tar.gz +e511e8bdddce0e59abefc892f090e033 OWSLib-0.9.0.tar.gz