[python-httplib2/el6] Unify the spec file between EPEL and Fedora

Ding-Yi Chen dchen at fedoraproject.org
Fri Jun 22 06:50:02 UTC 2012


commit cfe1853fb7422b9a4d1c66fed792c1a704b42777
Author: Ding-Yi Chen <dingyichen at gmail.com>
Date:   Fri Jun 22 16:49:51 2012 +1000

    Unify the spec file between EPEL and Fedora

 python-httplib2.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/python-httplib2.spec b/python-httplib2.spec
index 4dd9a09..c8cb99e 100644
--- a/python-httplib2.spec
+++ b/python-httplib2.spec
@@ -1,10 +1,16 @@
+%if 0%{?fedora} >= 13
 %global with_python3 1
+%else
+%if 0%{?rhel} >= 7
+%global with_python3 1
+%endif
+%endif
 
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           python-httplib2
 Version:        0.7.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A comprehensive HTTP client library
 Group:          System Environment/Libraries
 License:        MIT
@@ -83,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif # with_python3
 
 %changelog
+* Fri Jun 22 2012 Ding-Yi Chen <dchen at redhat.com> - 0.7.4-4
+- Unify the spec file between EPEL and Fedora.
+
 * Thu Jun 21 2012 Ding-Yi Chen <dchen at redhat.com> - 0.7.4-3
 - Applied patch suggested by richardfearn at gmail.com regarding issue 208
 - Fixed: Bug 832344 - Certification validation fails due to multiple 'dns' entries in subjectAltName


More information about the scm-commits mailing list