From 75fcb8ba660a8308ba640097eeac7d368a28bb4b Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Fri, 3 Feb 2017 11:02:41 +0000 Subject: [PATCH] update macros --- gstreamer1-plugins-bad-freeworld.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gstreamer1-plugins-bad-freeworld.spec b/gstreamer1-plugins-bad-freeworld.spec index ab21a2b..3a5a6cf 100644 --- a/gstreamer1-plugins-bad-freeworld.spec +++ b/gstreamer1-plugins-bad-freeworld.spec @@ -38,7 +38,7 @@ well enough, or the code is not of good enough quality. %prep -%setup -q -n gst-plugins-bad-%{version} +%autosetup -n gst-plugins-bad-%{version} %build @@ -54,7 +54,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool for i in %{gstdirs} %{extdirs}; do pushd $i - make %{?_smp_mflags} V=2 + %make_build V=2 popd done @@ -65,7 +65,7 @@ for i in %{gstdirs} %{extdirs}; do %make_install V=2 popd done -rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la +rm %{buildroot}%{_libdir}/gstreamer-1.0/*.la %files