Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pacparser: bump to 1.3.5 version; change shared library permissions
Fedora/RHEL/CentOS/etc. policy requires shared libraries (*.so) to have
executable permission set otherwise RPM provides mechanism will ignore
those libraries.

Default is 0755.

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
  • Loading branch information
David Abdurachmanov authored and David Abdurachmanov committed Dec 10, 2015
1 parent 94d17e8 commit 7457d2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pacparser.spec
@@ -1,5 +1,5 @@
### RPM external pacparser 1.3.1
Source: http://%{n}.googlecode.com/files/%{n}-%{realversion}.tar.gz
### RPM external pacparser 1.3.5
Source: https://github.com/%{n}/%{n}/releases/download/%{realversion}/%{n}-%{realversion}.tar.gz

%prep
%setup -n %{n}-%{realversion}
Expand All @@ -10,5 +10,7 @@ make -C src PREFIX=%{i}
%install
make -C src install PREFIX=%{i}

find %{i}/lib -type f | xargs chmod 0755

%define strip_files %{i}/{lib,bin}
%define drop_files %{i}/{share,man}

0 comments on commit 7457d2c

Please sign in to comment.