commit 89f993b10a584d9a5e3d86b75229b93bb0e18da0
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Feb 3 11:02:41 2017 +0000
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 2ab4960..4287679 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