From 7681788479290f467ff86e86f8b4de57b46a6850 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Sun, 25 Nov 2018 13:58:34 +0000 Subject: [PATCH] make buildroot macro consistent --- gpac.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gpac.spec b/gpac.spec index ce32686..b0b5240 100644 --- a/gpac.spec +++ b/gpac.spec @@ -135,13 +135,13 @@ popd %install %{make_install} install-lib -rm -rf %buildroot%{_bindir}/%{osmo} +rm -rf %{buildroot}%{_bindir}/%{osmo} #Install generated sggen binaries #for b in MPEG4 SVG X3D; do for b in MPEG4 X3D; do pushd applications/generators/${b} - install -pm 0755 ${b}Gen %buildroot%{_bindir} + install -pm 0755 ${b}Gen %{buildroot}%{_bindir} popd done @@ -150,11 +150,11 @@ touch -r Changelog doc/html-libgpac/* #config.h like but not only #Usual multilib bug https://bugzilla.rpmfusion.org/show_bug.cgi?id=270 -sed -i -e '/GPAC_CONFIGURATION/d' %buildroot%{_includedir}/gpac/configuration.h -touch -r Changelog %buildroot%{_includedir}/gpac/*.h -touch -r Changelog %buildroot%{_includedir}/gpac/internal/*.h -touch -r Changelog %buildroot%{_includedir}/gpac/modules/*.h -rm %buildroot%{_includedir}/gpac/config.h +sed -i -e '/GPAC_CONFIGURATION/d' %{buildroot}%{_includedir}/gpac/configuration.h +touch -r Changelog %{buildroot}%{_includedir}/gpac/*.h +touch -r Changelog %{buildroot}%{_includedir}/gpac/internal/*.h +touch -r Changelog %{buildroot}%{_includedir}/gpac/modules/*.h +rm %{buildroot}%{_includedir}/gpac/config.h %ldconfig_scriptlets libs