Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libbs2b for openSUSE:Factory checked 
in at 2022-04-22 21:52:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbs2b (Old)
 and      /work/SRC/openSUSE:Factory/.libbs2b.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbs2b"

Fri Apr 22 21:52:59 2022 rev:8 rq:970971 version:3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbs2b/libbs2b.changes  2016-08-24 
10:06:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libbs2b.new.1538/libbs2b.changes        
2022-04-22 21:53:24.062747663 +0200
@@ -1,0 +2,6 @@
+Tue Apr 19 20:34:01 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- add libbs2b-security.patch to prevent format-security issues
+- spec-cleaner fixes 
+
+-------------------------------------------------------------------

New:
----
  libbs2b-security.patch

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

Other differences:
------------------
++++++ libbs2b.spec ++++++
--- /var/tmp/diff_new_pack.8pOJOP/_old  2022-04-22 21:53:24.514748179 +0200
+++ /var/tmp/diff_new_pack.8pOJOP/_new  2022-04-22 21:53:24.518748183 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libbs2b
 #
-# Copyright (c) 2016 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
@@ -12,24 +12,23 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define soname 0
-
 Name:           libbs2b
 Version:        3.1.0
 Release:        0
 Summary:        The Bauer stereophonic-to-binaural DSP library
 License:        MIT
 Group:          System/Libraries
-Url:            http://bs2b..sourceforge.net/
+URL:            http://bs2b.sourceforge.net/
 Source0:        
https://downloads.sourceforge.net/project/bs2b/libbs2b/%{version}/libbs2b-%{version}.tar.bz2
+Patch0:         libbs2b-security.patch
 Source99:       baselibs.conf
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(sndfile)
 
 %description
@@ -66,22 +65,23 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
 rm -f '%{buildroot}%{_libdir}/libbs2b.la'
 
 %post -n libbs2b%{soname} -p /sbin/ldconfig
-
 %postun -n libbs2b%{soname} -p /sbin/ldconfig
 
 %files -n libbs2b%{soname}
 %defattr(0644, root, root, 0755)
-%doc AUTHORS ChangeLog COPYING README
+%license COPYING
+%doc AUTHORS ChangeLog README
 %{_libdir}/libbs2b.so.%{soname}*
 
 %files -n libbs2b-devel

++++++ libbs2b-security.patch ++++++
--- libbs2b-3.1.0/src/bs2bconvert.c.orig        2014-05-20 23:09:11.975876646 
+0100
+++ libbs2b-3.1.0/src/bs2bconvert.c     2014-05-20 23:14:06.047076693 +0100
@@ -153,7 +153,7 @@
        if( ( infile = sf_open( infilename, SFM_READ, &sfinfo ) ) == NULL )
        {
                printf( "Not able to open input file %s.\n", infilename );
-               printf( sf_strerror( NULL ) );
+               printf( "%s", sf_strerror( NULL ) );
                return 1;
        }
 

Reply via email to