commit 2936413b915268c6b7510eedee12befc42e534a7
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Feb 3 09:36:17 2017 +0000
update macros
gstreamer1-libav.spec | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gstreamer1-libav.spec b/gstreamer1-libav.spec
index 212c95b..496eb97 100644
--- a/gstreamer1-libav.spec
+++ b/gstreamer1-libav.spec
@@ -43,23 +43,22 @@ plug-in.
%prep
-%setup -q -n gst-libav-%{version}
-%patch0 -p1
+%autosetup -q -n gst-libav-%{version}
%build
-export CFLAGS="$RPM_OPT_FLAGS -Wno-deprecated-declarations"
+export CFLAGS="%{optflags} -Wno-deprecated-declarations"
%configure --disable-dependency-tracking \
--disable-static \
--with-package-name="gst-libav 1.0 rpmfusion rpm" \
--with-package-origin="http://rpmfusion.org/" \
--with-system-libav
-make %{?_smp_mflags} V=1
+%make_build V=1
%install
%make_install V=1
-rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgst*.la
+rm %{buildroot}%{_libdir}/gstreamer-1.0/libgst*.la
%files
Show replies by date