Consistently use macros

Avoid mixing $RPM_BUILD_ROOT and %{buildroot}
This commit is contained in:
Kalev Lember 2016-11-24 18:48:18 +01:00
parent 9e43022218
commit c4a81b80f5

View File

@ -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