commit cf4fc859867a6cd606deafda032e847f2f54509d
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Feb 3 11:25:46 2017 +0000
update macros
gstreamer1-plugins-bad-nonfree.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gstreamer1-plugins-bad-nonfree.spec b/gstreamer1-plugins-bad-nonfree.spec
index 0fa3d48..ac7df36 100644
--- a/gstreamer1-plugins-bad-nonfree.spec
+++ b/gstreamer1-plugins-bad-nonfree.spec
@@ -29,7 +29,7 @@ license.
%prep
-%setup -q -n gst-plugins-bad-%{version}
+%autosetup -n gst-plugins-bad-%{version}
%build
@@ -45,7 +45,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 %{extdirs}; do
pushd $i
- make %{?_smp_mflags} V=2
+ %make_build V=2
popd
done
@@ -53,10 +53,10 @@ done
%install
for i in %{extdirs}; do
pushd $i
- make install V=2 DESTDIR=$RPM_BUILD_ROOT
+ %make_install V=2
popd
done
-rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la
+rm %{buildroot}%{_libdir}/gstreamer-1.0/*.la
%files
Show replies by date