[libcomps/el6] - fixed for rhel-6

Jindrich Luza jluza at fedoraproject.org
Thu Feb 27 16:28:44 UTC 2014


commit 8c13e751c292b3745a199a09e92f31612b153804
Author: Jindrich Luza <jluza at redhat.com>
Date:   Thu Feb 27 17:28:57 2014 +0100

    - fixed for rhel-6

 .gitignore    |    1 +
 libcomps.spec |   16 ++++++++--------
 sources       |    2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a12faa4..9138dd5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@
 /libcomps-3a9603c4b774ec3906ac63491f68a810927f0a48.tar.gz
 /libcomps-a747d1289d7597882424bf50b1979170507484da.tar.gz
 /libcomps-de7b804e81bfb269f16be81fa70e7656a9477a88.tar.gz
+/libcomps-b4770cbebc79d40532bb812242af4e53712ccbb2.tar.gz
diff --git a/libcomps.spec b/libcomps.spec
index 0cab4c7..510fd44 100644
--- a/libcomps.spec
+++ b/libcomps.spec
@@ -1,10 +1,10 @@
-%global commit a747d1289d7597882424bf50b1979170507484da
+%global commit b4770cbebc79d40532bb812242af4e53712ccbb2
 
 %if 0%{?rhel} && 0%{?rhel} <= 6
 %define python3_build 0
-%{!?__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))")}
+#%{!?__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))")}
 %else
 %define python3_build 1
 %endif
@@ -22,11 +22,11 @@ Source0:        https://github.com/midnightercz/libcomps/archive/%{commit}/libco
 BuildRequires:  libxml2-devel
 BuildRequires:  check-devel
 BuildRequires:  expat-devel
-%if 0%{?rhel} == 6
-BuildRequires:  cmake28
-%else
+#%if 0%{?rhel} == 6
+#BuildRequires:  cmake28
+#%else
 BuildRequires:  cmake
-%endif
+#%endif
 
 %description
 Libcomps is library for structure-like manipulation with content of
diff --git a/sources b/sources
index ff5e2a8..1d2db61 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-76037c3230cde290e8b2ae1e91819a6d  libcomps-de7b804e81bfb269f16be81fa70e7656a9477a88.tar.gz
+51bb53543ebe59d976712424b42b6dbe  libcomps-b4770cbebc79d40532bb812242af4e53712ccbb2.tar.gz


More information about the scm-commits mailing list