Consistently use macros
Avoid mixing $RPM_BUILD_ROOT and %{buildroot}
This commit is contained in:
parent
9e43022218
commit
c4a81b80f5
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user