Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package liboil for openSUSE:Factory checked 
in at 2022-05-05 23:05:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liboil (Old)
 and      /work/SRC/openSUSE:Factory/.liboil.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liboil"

Thu May  5 23:05:34 2022 rev:32 rq:975066 version:0.3.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/liboil/liboil.changes    2019-04-28 
19:58:43.974961017 +0200
+++ /work/SRC/openSUSE:Factory/.liboil.new.1538/liboil.changes  2022-05-05 
23:06:20.617553573 +0200
@@ -1,0 +2,9 @@
+Wed Apr 27 12:33:12 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Implement shlib packaging policy; resolve rpmlint report
+  "liboil.x86_64: E: shlib-policy-name-error SONAME:
+  liboil-0.3.so.0, expected package suffix: 0_3-0"
+- Drop useless --with-pic (only has meaning for static libs)
+- Refresh ppc-asm.patch from -p0 to -p1
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ liboil.spec ++++++
--- /var/tmp/diff_new_pack.S9z0Ss/_old  2022-05-05 23:06:22.965556505 +0200
+++ /var/tmp/diff_new_pack.S9z0Ss/_new  2022-05-05 23:06:22.969556510 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package liboil
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,8 +21,8 @@
 Release:        0
 Summary:        Library of Optimized Inner Loops
 License:        BSD-2-Clause
-Group:          System/Libraries
-Url:            http://liboil.freedesktop.org/wiki/
+Group:          Development/Libraries/C and C++
+URL:            http://liboil.freedesktop.org/wiki/
 Source0:        
http://liboil.freedesktop.org/download/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
 Patch0:         ppc-asm.patch
@@ -31,72 +31,56 @@
 Patch2:         s390-asm.patch
 BuildRequires:  glib2-devel
 BuildRequires:  gtk-doc
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-Liboil is a library of simple functions that are optimized for various
-CPUs. These functions are generally loops implementing simple
+Liboil is a library of functions that are optimized for various
+CPUs. These functions are generally loops implementing
 algorithms, such as converting an array of N integers to floating-point
 numbers or multiplying and summing an array of N numbers. Such
 functions are candidates for significant optimization using various
 techniques, especially by using extended instructions provided by
 modern CPUs (Altivec, MMX, SSE, etc.).
 
-Many multimedia applications and libraries already do similar things
-internally. The goal of this project is to consolidate some of the code
-used by various multimedia projects and also make optimizations easier
-to use by a broader range of applications.
-
-%package devel
+%package -n liboil-0_3-0
 Summary:        Library of Optimized Inner Loops
-Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
-Requires:       glibc-devel
+Group:          System/Libraries
+Obsoletes:      liboil < %{version}-%{release}
 
-%description devel
-Liboil is a library of simple functions that are optimized for various
-CPUs. These functions are generally loops implementing simple
+%description -n liboil-0_3-0
+Liboil is a library of functions that are optimized for various
+CPUs. These functions are generally loops implementing
 algorithms, such as converting an array of N integers to floating-point
 numbers or multiplying and summing an array of N numbers. Such
 functions are candidates for significant optimization using various
 techniques, especially by using extended instructions provided by
 modern CPUs (Altivec, MMX, SSE, etc.).
 
-Many multimedia applications and libraries already do similar things
-internally. The goal of this project is to consolidate some of the code
-used by various multimedia projects, and also make optimizations easier
-to use by a broader range of applications.
+%package devel
+Summary:        Headers for the library of Optimized Inner Loops
+Group:          Development/Libraries/C and C++
+Requires:       glibc-devel
+Requires:       liboil-0_3-0 = %{version}-%{release}
+
+%description devel
+Liboil is a library of functions that are optimized for various
+CPUs.
 
 %package doc
-Summary:        Library of optimized inner loops
-Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Summary:        Documentation for the library of Optimized Inner Loops
+Group:          Documentation/HTML
+BuildArch:      noarch
 
 %description doc
-This package provides documentation for liboil, a library of simple
-functions that are optimized for various CPUs. These functions are
-generally loops implementing simple algorithms, such as converting an
-array of N integers to floating-point numbers or multiplying and
-summing an array of N numbers. Such functions are candidates for
-significant optimization using various techniques, especially by using
-extended instructions provided by modern CPUs (Altivec, MMX, SSE,
-etc.).
-
-Many multimedia applications and libraries already do similar things
-internally. The goal of this project is to consolidate some of the code
-used by various multimedia projects, and also make optimizations easier
-to use by a broader range of applications.
+This package provides documentation for liboil, a library of
+functions that are optimized for various CPUs.
 
 %prep
-%setup -q
-%patch0
-%patch1 -p1
-%patch2 -p1
+%autosetup -p1
 
 %build
 %define _lto_cflags %{nil}
-%configure --disable-static --with-pic
-make %{?_smp_mflags}
+%configure --disable-static
+%make_build
 # Do NOT! disable running the testsuite or make failures
 # non-fatal for the build!
 
@@ -105,31 +89,27 @@
 # Test passed during the local build. The test for ppc64 will be
 # reenabled once we'll have solution for it.
 %ifnarch %{power64}
-make %{?_smp_mflags} check
+%make_build check
 %endif
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post   -n liboil-0_3-0 -p /sbin/ldconfig
+%postun -n liboil-0_3-0 -p /sbin/ldconfig
 
-%files
-%defattr (-, root, root)
+%files -n liboil-0_3-0
 %doc AUTHORS NEWS README
 %{_libdir}/*.so.*
 
 %files devel
-%defattr (-, root, root)
 %{_bindir}/oil-bugreport
 %{_includedir}/liboil-*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 
 %files doc
-%defattr (-, root, root)
 %{_datadir}/gtk-doc/html/liboil
 
 %changelog

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.S9z0Ss/_old  2022-05-05 23:06:23.005556554 +0200
+++ /var/tmp/diff_new_pack.S9z0Ss/_new  2022-05-05 23:06:23.009556560 +0200
@@ -1,2 +1,3 @@
-liboil
+liboil-0_3-0
+       conflicts "liboil-<targettype>"
 

++++++ ppc-asm.patch ++++++
--- /var/tmp/diff_new_pack.S9z0Ss/_old  2022-05-05 23:06:23.025556580 +0200
+++ /var/tmp/diff_new_pack.S9z0Ss/_new  2022-05-05 23:06:23.029556584 +0200
@@ -1,5 +1,13 @@
---- liboil/powerpc/copy.c
-+++ liboil/powerpc/copy.c
+---
+ liboil/powerpc/copy.c     |    9 ++++++---
+ liboil/powerpc/resample.c |    3 ++-
+ liboil/powerpc/splat.c    |    9 ++++++---
+ 3 files changed, 14 insertions(+), 7 deletions(-)
+
+Index: liboil-0.3.17/liboil/powerpc/copy.c
+===================================================================
+--- liboil-0.3.17.orig/liboil/powerpc/copy.c
++++ liboil-0.3.17/liboil/powerpc/copy.c
 @@ -61,7 +61,8 @@ copy_u8_altivec (uint8_t *dest, uint8_t
            "  add %1, %1, r11\n"
            "  addi %1, %1, -16\n"
@@ -30,8 +38,10 @@
    }
  
    n &= 0x3f;
---- liboil/powerpc/resample.c
-+++ liboil/powerpc/resample.c
+Index: liboil-0.3.17/liboil/powerpc/resample.c
+===================================================================
+--- liboil-0.3.17.orig/liboil/powerpc/resample.c
++++ liboil-0.3.17/liboil/powerpc/resample.c
 @@ -86,7 +86,8 @@ merge_linear_argb_powerpc (uint32_t *des
            "  vpkuhus v0, v0, v0\n"
            "  stvx v0, 0, %0\n"
@@ -42,8 +52,10 @@
  
        dest[i] = atmp[0];
        if (i+1<n) dest[i+1] = atmp[1];
---- liboil/powerpc/splat.c
-+++ liboil/powerpc/splat.c
+Index: liboil-0.3.17/liboil/powerpc/splat.c
+===================================================================
+--- liboil-0.3.17.orig/liboil/powerpc/splat.c
++++ liboil-0.3.17/liboil/powerpc/splat.c
 @@ -57,7 +57,8 @@ splat_u8_ns_altivec (uint8_t *dest, uint
            "  bdnz+ 1b\n"
            "  add %0, %0, r11\n"

Reply via email to