[eclipse/f20] Mark *.so as executable.

Krzysztof Daniel kdaniel at fedoraproject.org
Fri Oct 25 09:35:43 UTC 2013


commit db9ecbf48337efda85f280c6605f59ca4218b4a8
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Fri Oct 25 11:35:39 2013 +0200

    Mark *.so as executable.

 eclipse.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index 107aca5..9105bcf 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -51,7 +51,7 @@ fi;
 Summary:        An open, extensible IDE
 Name:           %{?scl_prefix}eclipse
 Version:        %{eclipse_version}
-Release:        7%{?dist}
+Release:        8%{?dist}
 License:        EPL
 Group:          Development/Tools
 URL:            http://www.eclipse.org/
@@ -637,6 +637,7 @@ pushd plugins
 SWT_JAR=`ls | grep swt.gtk`
 #it's a dir now
 cd ${SWT_JAR}
+#fix privileges
 #zip the contents
 zip -r "../../swt.jar" *
 popd
@@ -711,6 +712,8 @@ chmod a+x  $RPM_BUILD_ROOT%{_libdir}/%{pkg_name}/dropins/sdk/plugins/org.eclipse
 #replace pde reference
 sed -i "s@/usr/share/eclipse@%{libdir}/%{pkg_name}@" $RPM_BUILD_ROOT%{_libdir}/%{pkg_name}/dropins/sdk/plugins/org.eclipse.pde.build_*/templates/package-build/build.properties
 
+#fix so permissions
+find . -name *.so -exec chmod +x {} \;
 
 ##############
 # Tests
@@ -1026,6 +1029,9 @@ fi
 %{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.util_*
 
 %changelog
+* Fri Oct 25 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.3.1-8
+- Mark *.so as executable.
+
 * Fri Oct 18 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.3.1-7
 - Add gnome app data.
 


More information about the scm-commits mailing list