Skip to content

Commit

Permalink
Prevent RPM systems from prelinking /usr/bin/pgloader, fix dimitri#103.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri committed Aug 18, 2014
1 parent aad2727 commit 0edb562
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pgloader.spec
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ make pgloader
%install
install -m 755 -d %{buildroot}/%{_bindir}
cp build/bin/pgloader %{buildroot}/%{_bindir}/pgloader
mkdir -p $RPM_BUILD_ROOT/etc/prelink.conf.d
echo '-b /usr/bin/pgloader' > $RPM_BUILD_ROOT/etc/prelink.conf.d/%{name}.conf

%files
%doc README.md pgloader.1.md
%{_bindir}/*
/etc/prelink.conf.d/%{name}.conf

%changelog
* Tue Apr 29 2014 Dimitri Fontaine <dimitri@2ndQuadrant.fr> 3.0.99
Expand Down

0 comments on commit 0edb562

Please sign in to comment.