From c4a81b80f53c49f6326a6a8301a6abe12f533b18 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Nov 24 2016 17:48:18 +0000 Subject: Consistently use macros Avoid mixing $RPM_BUILD_ROOT and %{buildroot} --- diff --git a/libpeas.spec b/libpeas.spec index 7dbbe3f..73fb2c6 100644 --- a/libpeas.spec +++ b/libpeas.spec @@ -83,7 +83,7 @@ that are needed to write applications that use libpeas. %install %make_install -find %{buildroot}%{_libdir} -type f -name '*.la' -print -delete +find $RPM_BUILD_ROOT%{_libdir} -type f -name '*.la' -print -delete # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath chrpath --delete $RPM_BUILD_ROOT%{_bindir}/peas-demo