gnunet-rpm

GNUnet RPM package rules
Log | Files | Refs | README

commit b95823293227662056236a604fb68ff2e1645567
parent 508fb045df294d2e226d842b64647dffaeb64f83
Author: Yosl <yosl@seattlemesh.net>
Date:   Thu, 12 Dec 2019 00:21:40 -0800

'find | sed' to remove refs to %buildroot from paths
This is something to do with libraries being hard linked to the path when
they were built, but could also have to do with a nested buildroot inside the
buildroot. It could also be that proper options aren't being handed to
./configure.

Diffstat:
Mrpmbuild/SPECS/gnunet-fedora.spec | 1+
Mrpmbuild/SPECS/gnunet-suse.spec | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rpmbuild/SPECS/gnunet-fedora.spec b/rpmbuild/SPECS/gnunet-fedora.spec @@ -106,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT ##make install DESTDIR=%{buildroot} PREFIX=%{_prefix} INSTALL=%{__install} # BINDIR=%{buildroot}/%{_bindir} #make install DESTDIR=$RPM_BUILD_ROOT +find %{buildroot} -type f | xargs sed -i "s|%{buildroot}||g" %check #make check diff --git a/rpmbuild/SPECS/gnunet-suse.spec b/rpmbuild/SPECS/gnunet-suse.spec @@ -106,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT ##make install DESTDIR=%{buildroot} PREFIX=%{_prefix} INSTALL=%{__install} # BINDIR=%{buildroot}/%{_bindir} #make install DESTDIR=$RPM_BUILD_ROOT +find %{buildroot} -type f | xargs sed -i "s|%{buildroot}||g" %check #make check