commit 88d9646b5a1d61aa592a5dd0b9a2975c54e1d507
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sun Oct 14 13:41:41 2018 +0100
Use make macros and update buildroot macro
audacious-plugins-freeworld.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/audacious-plugins-freeworld.spec b/audacious-plugins-freeworld.spec
index 4040489..b272365 100644
--- a/audacious-plugins-freeworld.spec
+++ b/audacious-plugins-freeworld.spec
@@ -89,16 +89,16 @@ sed -i '\,^.SILENT:,d' buildsys.mk.in
--disable-flac \
--disable-wavpack \
--disable-mpg123
-make V=1 %{?_smp_mflags} -C src/aac
-make V=1 %{?_smp_mflags} -C src/ffaudio
-make V=1 %{?_smp_mflags} -C src/mms
+%make_build -C src/aac
+%make_build -C src/ffaudio
+%make_build -C src/mms
%install
-make -C src/aac install DESTDIR=$RPM_BUILD_ROOT
-make -C src/ffaudio install DESTDIR=$RPM_BUILD_ROOT
-make -C src/mms install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+%make_install -C src/aac
+%make_install -C src/ffaudio
+%make_install -C src/mms
+find %buildroot -type f -name "*.la" -exec rm -f {} ';'
%files