- cmake-2.6, python-2.6, RHEL-6 compatible

This commit is contained in:
Jindrich Luza 2014-03-04 16:55:24 +01:00
parent 8c13e751c2
commit a83375877e
3 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@
/libcomps-a747d1289d7597882424bf50b1979170507484da.tar.gz /libcomps-a747d1289d7597882424bf50b1979170507484da.tar.gz
/libcomps-de7b804e81bfb269f16be81fa70e7656a9477a88.tar.gz /libcomps-de7b804e81bfb269f16be81fa70e7656a9477a88.tar.gz
/libcomps-b4770cbebc79d40532bb812242af4e53712ccbb2.tar.gz /libcomps-b4770cbebc79d40532bb812242af4e53712ccbb2.tar.gz
/libcomps-a756363ce4a0dc7cb9395d2f57315428c22a4efb.tar.gz

View File

@ -1,4 +1,4 @@
%global commit b4770cbebc79d40532bb812242af4e53712ccbb2 %global commit a756363ce4a0dc7cb9395d2f57315428c22a4efb
%if 0%{?rhel} && 0%{?rhel} <= 6 %if 0%{?rhel} && 0%{?rhel} <= 6
%define python3_build 0 %define python3_build 0
@ -12,7 +12,7 @@
Name: libcomps Name: libcomps
Version: 0.1.6 Version: 0.1.6
Release: 3%{?dist} Release: 4%{?dist}
Summary: Comps XML file manipulation library Summary: Comps XML file manipulation library
Group: Development/Libraries Group: Development/Libraries
@ -144,12 +144,12 @@ rm -rf $buildroot
%files -n python-libcomps %files -n python-libcomps
%{_libdir}/python2* %{_libdir}/python2*
%exclude %{_libdir}/python2/libcomps/__pycache__ #%exclude %{_libdir}/python2/libcomps/__pycache__
%if %{python3_build} %if %{python3_build}
%files -n python3-libcomps %files -n python3-libcomps
%{_libdir}/python3* %{_libdir}/python3*
%exclude %{_libdir}/python3/libcomps/__pycache__ #%exclude %{_libdir}/python3/libcomps/__pycache__
%endif %endif
%changelog %changelog

View File

@ -1 +1 @@
51bb53543ebe59d976712424b42b6dbe libcomps-b4770cbebc79d40532bb812242af4e53712ccbb2.tar.gz 736bfe32a07fe8a8e54faab952ce72b4 libcomps-a756363ce4a0dc7cb9395d2f57315428c22a4efb.tar.gz