Hello community,

here is the log from the commit of package libva for openSUSE:Factory checked 
in at 2017-09-09 20:23:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libva (Old)
 and      /work/SRC/openSUSE:Factory/.libva.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libva"

Sat Sep  9 20:23:10 2017 rev:39 rq:521841 version:1.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libva/libva-gl.changes   2017-09-04 
12:19:15.379478138 +0200
+++ /work/SRC/openSUSE:Factory/.libva.new/libva-gl.changes      2017-09-09 
20:23:11.678338289 +0200
@@ -1,0 +2,7 @@
+Tue Aug 29 22:28:49 UTC 2017 - jeng...@inai.de
+
+- Fix RPM groups. Trim obvious "Linux" from description.
+- Remove some %if..%endif blocks which are not necessary and
+  which do not affect the build.
+
+-------------------------------------------------------------------
libva.changes: same change

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

Other differences:
------------------
++++++ libva-gl.spec ++++++
--- /var/tmp/diff_new_pack.1nTIjo/_old  2017-09-09 20:23:12.422233435 +0200
+++ /var/tmp/diff_new_pack.1nTIjo/_new  2017-09-09 20:23:12.426232870 +0200
@@ -30,9 +30,9 @@
 %define _name   libva
 Version:        1.8.3
 Release:        0
-Summary:        Video Acceleration (VA) API for Linux
+Summary:        Video Acceleration (VA) API
 License:        MIT
-Group:          System/Libraries
+Group:          Development/Libraries/C and C++
 Url:            http://freedesktop.org/wiki/Software/vaapi
 Source0:        
https://github.com/01org/libva/releases/download/%{version}/%{_name}-%{version}.tar.bz2
 Source1:        
https://github.com/01org/libva/releases/download/%{version}/%{_name}-%{version}.tar.bz2.sha1sum
@@ -59,55 +59,51 @@
 %endif
 
 %description
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-%if %{build_gl}
 %package -n libva-egl1
-Summary:        Video Acceleration (VA) API for Linux -- VA/EGL Backend
+Summary:        EGL backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-egl1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the VA/EGL runtime library
+This is the VA/EGL runtime library.
 
 %package -n libva-glx1
-Summary:        Video Acceleration (VA) API for Linux -- VA/GLX Backend
+Summary:        GLX backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-glx1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the VA/GLX runtime library
+This is the VA/GLX runtime library.
 
-%if %{with wayland}
 %package -n libva-wayland1
-Summary:        Video Acceleration (VA) API for Linux -- Wayland support
+Summary:        Wayland backend for the Video Acceleration API
 Group:          System/Libraries
 
 %description -n libva-wayland1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
-%endif
 
-%if %{with wayland}
 %package -n vaapi-wayland-tools
-Summary:        Video Acceleration (VA) API for Linux - Wayland support
+Summary:        Wayland support utilities for the Video Acceleration API
 Group:          System/Libraries
 
 %description -n vaapi-wayland-tools
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
-%endif
 
 %package devel
-Summary:        Video Acceleration (VA) API for Linux -- gl development files
+Summary:        Development files for the Video Acceleration API
 Group:          Development/Languages/C and C++
+%if 0%{?build_gl}
 BuildRequires:  libva-devel = %{version}
 Requires:       libva-egl1 = %{version}
 Requires:       libva-glx1 = %{version}
@@ -116,64 +112,57 @@
 %endif
 Requires:       pkgconfig(egl)
 Requires:       pkgconfig(gl)
+%else
+Requires:       libva-drm1 = %{version}
+Requires:       libva-x11-1 = %{version}
+Requires:       libva1 = %{version}
+Requires:       pkgconfig(libdrm)
+Requires:       pkgconfig(x11)
+Requires:       pkgconfig(xfixes)
+Recommends:     libva-gl-devel
+%endif
 
 %description devel
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
+%if 0%{?build_gl}
 This package provides the development environment for libva gl packages.
-%else #build_gl
+%else
+This package provides the development environment for libva packages.
+%endif
 
 %package -n libva1
-Summary:        Video Acceleration (VA) API for Linux
+Summary:        Video Acceleration API
 Group:          System/Libraries
 
 %description -n libva1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the core runtime library
+This is the core runtime library.
 
 %package -n libva-drm1
-Summary:        Video Acceleration (VA) API for Linux -- VA/DRM Backend
+Summary:        DRM backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-drm1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the VA/DRM runtime library
+This is the VA/DRM runtime library.
 
 %package -n libva-x11-1
-Summary:        Video Acceleration (VA) API for Linux -- VA/X11 Backend
+Summary:        X11 backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-x11-1
-The libva library implements the Video Acceleration (VA) API for Linux.
-The library loads a hardware dependendent driver.
-
-This is the VA/X11 runtime library
-
-%package devel
-Summary:        Video Acceleration (VA) API for Linux -- development files
-Group:          Development/Languages/C and C++
-Requires:       libva-drm1 = %{version}
-Requires:       libva-x11-1 = %{version}
-Requires:       libva1 = %{version}
-Requires:       pkgconfig(libdrm)
-Requires:       pkgconfig(x11)
-Requires:       pkgconfig(xfixes)
-Recommends:     libva-gl-devel
-
-%description devel
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This package provides the development environment for libva.
-
-%endif #build_gl
+This is the VA/X11 runtime library.
 
 %prep
 %setup -q -n %{_name}-%{version}
@@ -210,13 +199,12 @@
 
 %if %{build_gl}
 # remove all files packaged during without gl mode
-%{__rm} -rf 
%{buildroot}%{_bindir}/{avcenc,h264encode,jpegenc,loadjpeg,mpeg2vaenc,mpeg2vldemo,putsurface,vainfo}
-%{__rm} -rf `find %{buildroot}%{_includedir}/va/* | grep -v 
"egl\|glx\|wayland"`
-%{__rm} -rf `find %{buildroot}%{_libdir}/libva* | grep -v "egl\|glx\|wayland"`
-%{__rm} -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v 
"egl\|glx\|wayland"`
+rm -rf 
%{buildroot}%{_bindir}/{avcenc,h264encode,jpegenc,loadjpeg,mpeg2vaenc,mpeg2vldemo,putsurface,vainfo}
+rm -rf `find %{buildroot}%{_includedir}/va/* | grep -v "egl\|glx\|wayland"`
+rm -rf `find %{buildroot}%{_libdir}/libva* | grep -v "egl\|glx\|wayland"`
+rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v 
"egl\|glx\|wayland"`
 %endif
 
-%if %{build_gl}
 %post -n libva-egl1 -p /sbin/ldconfig
 
 %postun -n libva-egl1 -p /sbin/ldconfig
@@ -225,13 +213,9 @@
 
 %postun -n libva-glx1 -p /sbin/ldconfig
 
-%if %{with wayland}
 %post -n libva-wayland1 -p /sbin/ldconfig
 
 %postun -n libva-wayland1 -p /sbin/ldconfig
-%endif
-
-%else
 
 %post -n libva1 -p /sbin/ldconfig
 
@@ -244,7 +228,6 @@
 %post -n libva-x11-1 -p /sbin/ldconfig
 
 %postun -n libva-x11-1 -p /sbin/ldconfig
-%endif
 
 %if %{build_gl}
 %files -n libva-glx1

++++++ libva.spec ++++++
--- /var/tmp/diff_new_pack.1nTIjo/_old  2017-09-09 20:23:12.446230051 +0200
+++ /var/tmp/diff_new_pack.1nTIjo/_new  2017-09-09 20:23:12.450229488 +0200
@@ -30,9 +30,9 @@
 %define _name   libva
 Version:        1.8.3
 Release:        0
-Summary:        Video Acceleration (VA) API for Linux
+Summary:        Video Acceleration (VA) API
 License:        MIT
-Group:          System/Libraries
+Group:          Development/Libraries/C and C++
 Url:            http://freedesktop.org/wiki/Software/vaapi
 Source0:        
https://github.com/01org/libva/releases/download/%{version}/%{_name}-%{version}.tar.bz2
 Source1:        
https://github.com/01org/libva/releases/download/%{version}/%{_name}-%{version}.tar.bz2.sha1sum
@@ -59,55 +59,51 @@
 %endif
 
 %description
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-%if %{build_gl}
 %package -n libva-egl1
-Summary:        Video Acceleration (VA) API for Linux -- VA/EGL Backend
+Summary:        EGL backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-egl1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the VA/EGL runtime library
+This is the VA/EGL runtime library.
 
 %package -n libva-glx1
-Summary:        Video Acceleration (VA) API for Linux -- VA/GLX Backend
+Summary:        GLX backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-glx1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the VA/GLX runtime library
+This is the VA/GLX runtime library.
 
-%if %{with wayland}
 %package -n libva-wayland1
-Summary:        Video Acceleration (VA) API for Linux -- Wayland support
+Summary:        Wayland backend for the Video Acceleration API
 Group:          System/Libraries
 
 %description -n libva-wayland1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
-%endif
 
-%if %{with wayland}
 %package -n vaapi-wayland-tools
-Summary:        Video Acceleration (VA) API for Linux - Wayland support
+Summary:        Wayland support utilities for the Video Acceleration API
 Group:          System/Libraries
 
 %description -n vaapi-wayland-tools
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
-%endif
 
 %package devel
-Summary:        Video Acceleration (VA) API for Linux -- gl development files
+Summary:        Development files for the Video Acceleration API
 Group:          Development/Languages/C and C++
+%if 0%{?build_gl}
 BuildRequires:  libva-devel = %{version}
 Requires:       libva-egl1 = %{version}
 Requires:       libva-glx1 = %{version}
@@ -116,64 +112,57 @@
 %endif
 Requires:       pkgconfig(egl)
 Requires:       pkgconfig(gl)
+%else
+Requires:       libva-drm1 = %{version}
+Requires:       libva-x11-1 = %{version}
+Requires:       libva1 = %{version}
+Requires:       pkgconfig(libdrm)
+Requires:       pkgconfig(x11)
+Requires:       pkgconfig(xfixes)
+Recommends:     libva-gl-devel
+%endif
 
 %description devel
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
+%if 0%{?build_gl}
 This package provides the development environment for libva gl packages.
-%else #build_gl
+%else
+This package provides the development environment for libva packages.
+%endif
 
 %package -n libva1
-Summary:        Video Acceleration (VA) API for Linux
+Summary:        Video Acceleration API
 Group:          System/Libraries
 
 %description -n libva1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the core runtime library
+This is the core runtime library.
 
 %package -n libva-drm1
-Summary:        Video Acceleration (VA) API for Linux -- VA/DRM Backend
+Summary:        DRM backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-drm1
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This is the VA/DRM runtime library
+This is the VA/DRM runtime library.
 
 %package -n libva-x11-1
-Summary:        Video Acceleration (VA) API for Linux -- VA/X11 Backend
+Summary:        X11 backend for the Video Acceleration API
 Group:          System/Libraries
 Supplements:    libva1
 
 %description -n libva-x11-1
-The libva library implements the Video Acceleration (VA) API for Linux.
-The library loads a hardware dependendent driver.
-
-This is the VA/X11 runtime library
-
-%package devel
-Summary:        Video Acceleration (VA) API for Linux -- development files
-Group:          Development/Languages/C and C++
-Requires:       libva-drm1 = %{version}
-Requires:       libva-x11-1 = %{version}
-Requires:       libva1 = %{version}
-Requires:       pkgconfig(libdrm)
-Requires:       pkgconfig(x11)
-Requires:       pkgconfig(xfixes)
-Recommends:     libva-gl-devel
-
-%description devel
-The libva library implements the Video Acceleration (VA) API for Linux.
+The libva library implements the Video Acceleration API.
 The library loads a hardware dependendent driver.
 
-This package provides the development environment for libva.
-
-%endif #build_gl
+This is the VA/X11 runtime library.
 
 %prep
 %setup -q -n %{_name}-%{version}
@@ -210,13 +199,12 @@
 
 %if %{build_gl}
 # remove all files packaged during without gl mode
-%{__rm} -rf 
%{buildroot}%{_bindir}/{avcenc,h264encode,jpegenc,loadjpeg,mpeg2vaenc,mpeg2vldemo,putsurface,vainfo}
-%{__rm} -rf `find %{buildroot}%{_includedir}/va/* | grep -v 
"egl\|glx\|wayland"`
-%{__rm} -rf `find %{buildroot}%{_libdir}/libva* | grep -v "egl\|glx\|wayland"`
-%{__rm} -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v 
"egl\|glx\|wayland"`
+rm -rf 
%{buildroot}%{_bindir}/{avcenc,h264encode,jpegenc,loadjpeg,mpeg2vaenc,mpeg2vldemo,putsurface,vainfo}
+rm -rf `find %{buildroot}%{_includedir}/va/* | grep -v "egl\|glx\|wayland"`
+rm -rf `find %{buildroot}%{_libdir}/libva* | grep -v "egl\|glx\|wayland"`
+rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v 
"egl\|glx\|wayland"`
 %endif
 
-%if %{build_gl}
 %post -n libva-egl1 -p /sbin/ldconfig
 
 %postun -n libva-egl1 -p /sbin/ldconfig
@@ -225,13 +213,9 @@
 
 %postun -n libva-glx1 -p /sbin/ldconfig
 
-%if %{with wayland}
 %post -n libva-wayland1 -p /sbin/ldconfig
 
 %postun -n libva-wayland1 -p /sbin/ldconfig
-%endif
-
-%else
 
 %post -n libva1 -p /sbin/ldconfig
 
@@ -244,7 +228,6 @@
 %post -n libva-x11-1 -p /sbin/ldconfig
 
 %postun -n libva-x11-1 -p /sbin/ldconfig
-%endif
 
 %if %{build_gl}
 %files -n libva-glx1


Reply via email to