[python] Make library-files user writable
Matej Stuchlik
mstuchli at fedoraproject.org
Thu Jan 16 10:06:31 UTC 2014
commit 19530b3653abb3c3991f90473b11b75beeea981b
Author: Matej Stuchlik <mstuchli at redhat.com>
Date: Wed Jan 15 13:27:43 2014 +0100
Make library-files user writable
python.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/python.spec b/python.spec
index 5f3ad9a..ef51166 100644
--- a/python.spec
+++ b/python.spec
@@ -106,7 +106,7 @@ Summary: An interpreted, interactive, object-oriented programming language
Name: %{python}
# Remember to also rebase python-docs when changing this:
Version: 2.7.5
-Release: 10%{?dist}
+Release: 11%{?dist}
License: Python
Group: Development/Languages
Requires: %{python}-libs%{?_isa} = %{version}-%{release}
@@ -1622,6 +1622,11 @@ sed \
%endif # with_debug_build
%endif # with_systemtap
+# Make library-files user writable
+/usr/bin/chmod 755 %{buildroot}%{dynload_dir}/*.so
+/usr/bin/chmod 755 %{buildroot}%{_libdir}/libpython%{pybasever}.so.1.0
+/usr/bin/chmod 755 %{buildroot}%{_libdir}/libpython%{pybasever}_d.so.1.0
+
# ======================================================
# Running the upstream test suite
@@ -2039,6 +2044,10 @@ rm -fr %{buildroot}
# ======================================================
%changelog
+* Wed Jan 15 2014 Matej Stuchlik <mstuchli at redhat.com> - 2.7.5-11
+- Make library-files user writable to get rid of
+ Permission Denied in buildlog from debuginfo-packaging
+
* Tue Jan 14 2014 Dennis Gilmore <dennis at ausil.us> - 2.7.5-10
- enable valgrind support on 32 bit arm
More information about the scm-commits
mailing list