- fixed for rhel-6
This commit is contained in:
parent
19986a64ec
commit
8c13e751c2
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@
|
||||
/libcomps-3a9603c4b774ec3906ac63491f68a810927f0a48.tar.gz
|
||||
/libcomps-a747d1289d7597882424bf50b1979170507484da.tar.gz
|
||||
/libcomps-de7b804e81bfb269f16be81fa70e7656a9477a88.tar.gz
|
||||
/libcomps-b4770cbebc79d40532bb812242af4e53712ccbb2.tar.gz
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user