Accepting request 496851 from home:jengelh:branches:multimedia:libs

- Run parallel build with smp_mflags. Recast a slightly
  convoluted find call. Replace old $RPM shell vars by macros.

OBS-URL: https://build.opensuse.org/request/show/496851
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=89
This commit is contained in:
Dominique Leuenberger 2017-05-19 19:13:01 +00:00 committed by Git OBS Bridge
parent b853c6a24f
commit b0978dcd51
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 19 18:28:40 UTC 2017 - jengelh@inai.de
- Run parallel build with smp_mflags. Recast a slightly
convoluted find call. Replace old $RPM shell vars by macros.
-------------------------------------------------------------------
Mon May 8 11:21:52 UTC 2017 - zaitor@opensuse.org

View File

@ -416,7 +416,7 @@ translation-update-upstream po gst-plugins-base-%{gst_branch}
%build
# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS:
# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS.
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure\
--with-package-name='openSUSE GStreamer-plugins-base package'\
--with-package-origin='http://download.opensuse.org'\
@ -425,7 +425,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
--enable-introspection\
--enable-orc\
%{nil}
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%makeinstall
@ -437,7 +437,7 @@ else
cp %{S:1} %{buildroot}%{_datadir}/appdata/
fi
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
find %{buildroot} -type f -name "*.la" -print -delete
%find_lang %{_name}-%{gst_branch}
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/