diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index 72d4fa5..e2bdbad 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -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 diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index 103ef38..790d9a4 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -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/