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 3faab0b..4cd0c1d 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -1,9 +1,15 @@ # Works with either ElementTree or python-lxml %global modname OWSLib -%global with_python3 1 +%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.1 +Version: 0.9.0 Release: 1%{?dist} Summary: Client library for OGC web services License: BSD @@ -93,12 +99,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