From 166218aed3be3b671c54e0ee89abbd9c53177030 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 23 Aug 2018 12:04:40 +0100 Subject: [PATCH] Fix permissions and python shebang of Boost.Build files --- boost.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boost.spec b/boost.spec index c072602..4cc7ab5 100644 --- a/boost.spec +++ b/boost.spec @@ -1058,7 +1058,11 @@ echo ============================= install Boost.Build ================== ./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install # Fix some permissions chmod -x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/build/alias.py + chmod -x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/kernel/boost-build.jam + chmod -x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/options/help.jam chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py + # Fix shebang using unversioned python + sed -i '1s@^#!/usr/bin.python$@&3@' $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py # We don't want to distribute this rm -f $RPM_BUILD_ROOT%{_bindir}/b2 # Not a real file @@ -1484,6 +1488,9 @@ fi %{_mandir}/man1/bjam.1* %changelog +* Thu Aug 23 2018 Jonathan Wakely - 1.66.0-14 +- Fix permissions and python shebang of Boost.Build files + * Wed Jul 18 2018 Jonathan Wakely - 1.66.0-14 - Patch numpy for Python 3 (#1596468)