From f206e8cb9dda444bc6a32328a2e644ed71282f16 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Mon, 23 Sep 2024 09:57:38 +0200 Subject: [PATCH] Use RPM macros everywhere --- rubberband.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rubberband.spec b/rubberband.spec index ab63ff9..3df3350 100644 --- a/rubberband.spec +++ b/rubberband.spec @@ -57,8 +57,8 @@ developing applications that use %{name}. %install %meson_install -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a +find %{buildroot} -name '*.la' -exec rm -f {} ';' +rm -rf %{buildroot}%{_libdir}/*.a %if %{with check}