Hello community,

here is the log from the commit of package gstreamer for openSUSE:Factory 
checked in at 2018-03-02 21:08:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer (Old)
 and      /work/SRC/openSUSE:Factory/.gstreamer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gstreamer"

Fri Mar  2 21:08:11 2018 rev:49 rq:581528 version:1.12.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/gstreamer/gstreamer.changes      2017-12-14 
10:53:15.767839105 +0100
+++ /work/SRC/openSUSE:Factory/.gstreamer.new/gstreamer.changes 2018-03-02 
21:08:13.192467333 +0100
@@ -1,0 +2,5 @@
+Wed Feb 28 16:31:33 UTC 2018 - dims...@opensuse.org
+
+- Modernize spec-file by calling spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gstreamer.spec ++++++
--- /var/tmp/diff_new_pack.usOIPK/_old  2018-03-02 21:08:14.176431948 +0100
+++ /var/tmp/diff_new_pack.usOIPK/_new  2018-03-02 21:08:14.180431804 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gstreamer
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,15 @@
 #
 
 
-Name:           gstreamer
 %define _name   gstreamer
+%define gst_branch 1.0
+Name:           gstreamer
 Version:        1.12.4
 Release:        0
-%define gst_branch 1.0
 Summary:        Streaming-Media Framework Runtime
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          Productivity/Multimedia/Other
-Url:            http://gstreamer.freedesktop.org/
+URL:            http://gstreamer.freedesktop.org/
 Source0:        
https://gstreamer.freedesktop.org/src/gstreamer/%{_name}-%{version}.tar.xz
 Source1:        gstreamer.macros
 Source2:        gstreamer.prov
@@ -35,17 +35,11 @@
 BuildRequires:  check-devel
 BuildRequires:  fdupes
 BuildRequires:  flex
-%if !0%{?is_opensuse}
-BuildRequires:  gnome-patch-translation
-%endif
+BuildRequires:  gobject-introspection-devel >= 1.31.1
+BuildRequires:  gtk-doc >= 1.12
 BuildRequires:  libcap-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
-%if !0%{?is_opensuse}
-BuildRequires:  translation-update-upstream
-%endif
-BuildRequires:  gobject-introspection-devel >= 1.31.1
-BuildRequires:  gtk-doc >= 1.12
 BuildRequires:  pkgconfig
 BuildRequires:  python3-base
 BuildRequires:  python3-xml
@@ -54,13 +48,16 @@
 BuildRequires:  pkgconfig(libunwind)
 # Ensure that the documentation corresponds with the installed version:
 Requires:       libgstreamer-1_0-0 = %{version}
-# Generic name, never used in SuSE:
-Provides:       gstreamer-doc = %{version}
 # Core modules may depend on new enough libraries:
 Requires:       libgstreamer-1_0-0 >= %{version}
-Recommends:     %{name}-lang = %{version}
 Requires(pre):  permissions
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Recommends:     %{name}-lang = %{version}
+# Generic name, never used in SuSE:
+Provides:       gstreamer-doc = %{version}
+%if !0%{?is_opensuse}
+BuildRequires:  gnome-patch-translation
+BuildRequires:  translation-update-upstream
+%endif
 
 %description
 GStreamer is a streaming-media framework, based on graphs of filters
@@ -156,7 +153,7 @@
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
 export LDFLAGS="-pie"
-export PYTHON=/usr/bin/python3
+export PYTHON=%{_bindir}/python3
 %configure \
         --with-ptp-helper-permissions=capabilities \
         --with-package-name='openSUSE GStreamer package' \
@@ -170,13 +167,13 @@
 make %{?_smp_mflags}
 
 %install
-%makeinstall
+%make_install
 %find_lang %{name}-%{gst_branch}
-find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
+find %{buildroot} -type f -name "*.la" -delete -print
 mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
 # Install the rpm macros
-%__install -m644 -D %{S:1} 
%{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr
-%__install -m755 -D %{S:2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides
+install -m644 -D %{SOURCE1} 
%{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr
+install -m755 -D %{SOURCE2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides
 %fdupes %{buildroot}
 
 %verifyscript
@@ -186,12 +183,10 @@
 %set_permissions %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
 
 %post -n libgstreamer-1_0-0 -p /sbin/ldconfig
-
 %postun -n libgstreamer-1_0-0 -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
-%doc COPYING
+%license COPYING
 %dir %{_datadir}/gstreamer-%{gst_branch}
 %dir %{_datadir}/gstreamer-%{gst_branch}/presets
 %dir %{_libdir}/gstreamer-%{gst_branch}
@@ -207,11 +202,9 @@
 %files lang -f %{name}-%{gst_branch}.lang
 
 %files -n libgstreamer-1_0-0
-%defattr(-, root, root)
 %{_libdir}/*.so.*
 
 %files -n typelib-1_0-Gst-1_0
-%defattr(-, root, root)
 %{_libdir}/girepository-1.0/Gst-1.0.typelib
 %{_libdir}/girepository-1.0/GstBase-1.0.typelib
 %{_libdir}/girepository-1.0/GstCheck-1.0.typelib
@@ -219,12 +212,10 @@
 %{_libdir}/girepository-1.0/GstNet-1.0.typelib
 
 %files utils
-%defattr(-, root, root)
 %{_bindir}/*-%{gst_branch}
-%doc %{_mandir}/man?/*-%{gst_branch}.*
+%{_mandir}/man?/*-%{gst_branch}*%{ext_man}
 
 %files devel
-%defattr(-, root, root)
 %{_datadir}/aclocal/*.m4
 %{_includedir}/*
 %{_libdir}/*.so
@@ -234,7 +225,6 @@
 %{_datadir}/gir-1.0/*.gir
 
 %files doc
-%defattr(-,root,root)
 %doc AUTHORS ChangeLog NEWS README RELEASE
 %{_datadir}/gtk-doc/html/*
 


Reply via email to