[pl] Keep executables as symlinks
Petr Pisar
ppisar at fedoraproject.org
Thu Mar 8 14:56:47 UTC 2012
commit d7077907e4c81a319725210a78ec25a41eb6c570
Author: Petr Písař <ppisar at redhat.com>
Date: Mon Mar 5 15:09:10 2012 +0100
Keep executables as symlinks
pl.spec | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/pl.spec b/pl.spec
index 964ff28..918d14a 100644
--- a/pl.spec
+++ b/pl.spec
@@ -182,6 +182,7 @@ popd
%install
+# See <http://www.swi-prolog.org/build/guidelines.html> for file layout
make install DESTDIR=$RPM_BUILD_ROOT
# Library must be executable to get its debuginfo
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/lib/*/libswipl.so.*
@@ -213,11 +214,6 @@ mv $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/include/*.h \
rm -rf $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/include
%endif
-# Move the binaries into %%{_bindir} directly instead of using links
-rm -f $RPM_BUILD_ROOT%{_bindir}/*
-mv $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/bin/*/* $RPM_BUILD_ROOT%{_bindir}
-rm -rf $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/bin
-
# Clean up the other stuff that shouldn't be packaged
rm -rf $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/man
rm -rf $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/doc
@@ -293,6 +289,9 @@ find packages/jpl/examples -name ".cvsignore" | xargs rm -f
* Mon Mar 05 2012 Petr Pisar <ppisar at redhat.com> - 6.0.2-1
- 6.0.2 bump
- Artistic licensed code dual-lincensed under GPLv2+ or Artistic 2.0 now
+- Keep executables as symlinks because interpreter uses the symlink value to
+ locate standard library
+- xpce binary is called xpce-client now
* Thu Mar 01 2012 Petr Pisar <ppisar at redhat.com> - 6.0.1-1
- 6.0.1 bump
More information about the scm-commits
mailing list