[python-ufc] Fix permissions on _ufc.so so that it is properly stripped (BZ #904845)

Jonathan G. Underwood jgu at fedoraproject.org
Mon Jan 28 12:01:53 UTC 2013


commit da890c1d4d7e5cec86940bf5e70a3e639da8a54d
Author: Jonathan G. Underwood <jonathan.underwood at gmail.com>
Date:   Mon Jan 28 12:01:38 2013 +0000

    Fix permissions on _ufc.so so that it is properly stripped (BZ #904845)

 python-ufc.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/python-ufc.spec b/python-ufc.spec
index 1fc5dc5..bad8440 100644
--- a/python-ufc.spec
+++ b/python-ufc.spec
@@ -5,7 +5,7 @@
 
 Name:		python-%{srcname}
 Version:	%{majorver}.%{minorver}.%{pointver}
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	A unified framework for finite element assembly
 Group:		Applications/Engineering
 
@@ -71,6 +71,9 @@ popd
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
+# Fix permissions on _ufc.so so that it is properly stripped (BZ 904845)
+chmod +x $RPM_BUILD_ROOT%{python_sitearch}/ufc/*.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -87,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/swig/ufc.i
 
 %changelog
+* Mon Jan 28 2013 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 2.1.0-3
+- Fix permissions on _ufc.so so that it is properly stripped (BZ #904845)
+
 * Fri Jan 25 2013 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 2.1.0-2
 - Add a BuildRequires for texlive-collection-fontsextra to allow docs
   to build


More information about the scm-commits mailing list