[cmake28/el5] some more fixes for el5

Björn Esser besser82 at fedoraproject.org
Mon Jan 6 20:00:15 UTC 2014


commit 66f69f32c7b34939a254ca0a9eb969398aa459f7
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Mon Jan 6 20:59:51 2014 +0100

    some more fixes for el5

 cmake28.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/cmake28.spec b/cmake28.spec
index b43ff4b..b37d7d6 100644
--- a/cmake28.spec
+++ b/cmake28.spec
@@ -121,6 +121,10 @@ make VERBOSE=1 %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
+# For some reason this file get wrong (0000) perms on el5.
+%{?el5:chmod 0644 Modules/FindLua52.cmake.lua}
+
 pushd build
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT/%{_datadir}/%{name}/Modules -type f | xargs chmod -x
@@ -174,6 +178,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_docdir}/%{name}-%{version}/
 %if %{with gui}
 %exclude %{_docdir}/%{name}-%{version}/cmake28-gui.*
+%exclude %{_mandir}/man1/cmake28-gui.1.gz
 %endif
 %{_bindir}/ccmake28
 %{_bindir}/cmake28
@@ -182,7 +187,6 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_datadir}/aclocal/cmake28.m4
 %{_datadir}/%{name}/
 %{_mandir}/man1/*
-%exclude %{_mandir}/man1/cmake28-gui.1.gz
 %{_datadir}/emacs/site-lisp/cmake28
 %{_libdir}/%{name}/
 
@@ -203,6 +207,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 - disable qt4-gui for el5
 - fixed macro-in-comment %%{nil}
 - fixed bogus date in %%changelog
+- some more fixes for el5
 - whitespace cleanup
 
 * Fri Jul 26 2013 Richard Shaw <hobbes1069 at gmail.com> - 2.8.11.2-1


More information about the ml mailing list