From 0edb5629b4c40bed6b2201b01195726a4622db90 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Mon, 18 Aug 2014 11:06:41 +0200 Subject: [PATCH] Prevent RPM systems from prelinking /usr/bin/pgloader, fix #103. --- pgloader.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pgloader.spec b/pgloader.spec index 06af0c10..9abd1ee9 100644 --- a/pgloader.spec +++ b/pgloader.spec @@ -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 3.0.99