update macros

el8
leigh123linux 8 years ago
parent 9e027cc0f9
commit 75fcb8ba66

@ -38,7 +38,7 @@ well enough, or the code is not of good enough quality.
%prep %prep
%setup -q -n gst-plugins-bad-%{version} %autosetup -n gst-plugins-bad-%{version}
%build %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 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
for i in %{gstdirs} %{extdirs}; do for i in %{gstdirs} %{extdirs}; do
pushd $i pushd $i
make %{?_smp_mflags} V=2 %make_build V=2
popd popd
done done
@ -65,7 +65,7 @@ for i in %{gstdirs} %{extdirs}; do
%make_install V=2 %make_install V=2
popd popd
done done
rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la rm %{buildroot}%{_libdir}/gstreamer-1.0/*.la
%files %files

Loading…
Cancel
Save