commit 8f4fc77da56bf12aff12a6b13e9d94fc1a29294f
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Sun Nov 25 13:52:58 2018 +0000
Use make macros
gpac.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gpac.spec b/gpac.spec
index d264aa9..63077b4 100644
--- a/gpac.spec
+++ b/gpac.spec
@@ -125,8 +125,8 @@ rm -rf doc/ipmpx_syntax.bt.origine
#Avoid mess with setup.h
cp -p config.h include/gpac
-make %{?_smp_mflags} all
-make %{?_smp_mflags} sggen
+%{make_build} all
+%{make_build} sggen
## kwizart - build doxygen doc for devel
pushd doc
@@ -134,7 +134,7 @@ doxygen
popd
%install
-make DESTDIR=$RPM_BUILD_ROOT install install-lib INSTFLAGS="-p"
+%{make_install} install-lib
rm -rf $RPM_BUILD_ROOT%{_bindir}/%{osmo}
#Install generated sggen binaries