Hello community, here is the log from the commit of package aubio for openSUSE:Leap:15.2 checked in at 2020-05-23 16:07:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/aubio (Old) and /work/SRC/openSUSE:Leap:15.2/.aubio.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aubio" Sat May 23 16:07:05 2020 rev:22 rq:808171 version:0.4.9 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/aubio/aubio.changes 2020-01-30 06:09:25.874498960 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.aubio.new.2738/aubio.changes 2020-05-23 16:07:12.101024965 +0200 @@ -2 +2 @@ -Tue Jul 23 12:02:19 CEST 2019 - [email protected] +Thu Jan 30 13:15:23 UTC 2020 - Tomáš Chvátal <[email protected]> @@ -4,3 +4,2 @@ -- Fix security issue leading to buffer overflow (CVE-2019-1010224, - bsc#1142435): - CVE-2019-1010224-onset-safer-deletion-method.patch +- Do not pull in the python2 as a dependency since we can build + fine with python3 @@ -9 +8 @@ -Wed Jun 12 16:30:44 CEST 2019 - [email protected] +Tue Feb 12 15:55:52 UTC 2019 - [email protected] @@ -11,7 +10,30 @@ -- Fix security issues leading to buffer overflow or segfault - (CVE-2018-19800, bsc#1137828, CVE-2018-19801, bsc#1137822, - CVE-2018-19802, bsc#1137823, CVE-2019-1010222, bsc#1142433, - CVE-2019-1010223, bsc#1142436): - CVE-2018-19800-tempo-fix-buffer-overflow-in-method-parser.patch - CVE-2018-19801-filterbank-validate-input-parameters.patch - CVE-2018-19802-notes-prevent-null-pointer-dereference.patch +- Update to version 0.4.9: + * No upstream changes provided, please see + https://git.aubio.org/?p=aubio.git;a=shortlog +- Changes from version 0.4.8: + * src/notes: new option release_drop. + * src/spectral: new parameters added to filterbank and mfcc. + * python/lib: start documenting module, improve build for + win-amd64. + * src fixes: prevent crash when using fft sizes unsupported by + vDSP, prevent saturation when down-mixing a multi-channel + source (avcodec/ffmpeg). +- Changes from version 0.4.7: + * src/io/, src/notes/, src/pitch: prevent crashes on corrupted + files. + * src/spectral/dct.h: add dct type II object with optimised + versions. + * examples/: fix jack midi output, improve messages when jack + disabled. + * python/: add dct support, minor bug fixes tests and demos. + * wscript: improve support for BLAS/ATLAS. +- Drop upstream fixed patches: + * aubio-wavread-input-validation.patch + * aubio-resampler-NULL-deref-fix.patch + * 0001-src-notes-notes.c-bail-out-if-pitch-creation-failed-.patch + * 0001-src-pitch-pitchyinfft.c-fix-out-of-bound-read-when-s.patch + * 0002-src-io-source_wavread.c-also-exit-if-samplerate-is-n.patch + * 0002-src-pitch-pitchyinfft.c-comment-out-debug-output.patch +- Run spec-cleaner, modernize spec. +- Replace ffmpeg3-devel with pkgconfig(libavdevice) BuildRequires: + Allow to build with ffmpeg v4 and newer. @@ -42,0 +65,5 @@ + +------------------------------------------------------------------- +Sat Apr 21 12:55:33 UTC 2018 - [email protected] + +- Explicitly request ffmpeg 3.x for building --- /work/SRC/openSUSE:Leap:15.2/aubio/python-aubio.changes 2020-01-15 14:47:42.445310024 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.aubio.new.2738/python-aubio.changes 2020-05-23 16:07:12.153025077 +0200 @@ -1,0 +2,41 @@ +Fri Mar 13 08:42:51 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix fdupes call + +------------------------------------------------------------------- +Tue Feb 4 11:55:13 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Skip two tests that fail to pass on 32bit machines + +------------------------------------------------------------------- +Thu Jan 30 13:08:20 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix the test execution +- Run fdupes during install + +------------------------------------------------------------------- +Tue Feb 12 15:55:52 UTC 2019 - [email protected] + +- Update to version 0.4.9: + * No upstream changes provided, please see + https://git.aubio.org/?p=aubio.git;a=shortlog +- Changes from version 0.4.8: + * src/notes: new option release_drop. + * src/spectral: new parameters added to filterbank and mfcc. + * python/lib: start documenting module, improve build for + win-amd64. + * src fixes: prevent crash when using fft sizes unsupported by + vDSP, prevent saturation when down-mixing a multi-channel + source (avcodec/ffmpeg). +- Changes from version 0.4.7: + * src/io/, src/notes/, src/pitch: prevent crashes on corrupted + files. + * src/spectral/dct.h: add dct type II object with optimised + versions. + * examples/: fix jack midi output, improve messages when jack + disabled. + * python/: add dct support, minor bug fixes tests and demos. + * wscript: improve support for BLAS/ATLAS. +- Run spec-cleaner, modernize spec. + +------------------------------------------------------------------- Old: ---- 0001-src-notes-notes.c-bail-out-if-pitch-creation-failed-.patch 0001-src-pitch-pitchyinfft.c-fix-out-of-bound-read-when-s.patch 0002-src-io-source_wavread.c-also-exit-if-samplerate-is-n.patch 0002-src-pitch-pitchyinfft.c-comment-out-debug-output.patch CVE-2018-19800-tempo-fix-buffer-overflow-in-method-parser.patch CVE-2018-19801-filterbank-validate-input-parameters.patch CVE-2018-19802-notes-prevent-null-pointer-dereference.patch CVE-2019-1010224-onset-safer-deletion-method.patch aubio-0.4.6.tar.bz2 aubio-0.4.6.tar.bz2.asc aubio-resampler-NULL-deref-fix.patch aubio-wavread-input-validation.patch New: ---- aubio-0.4.9.tar.bz2 aubio-0.4.9.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aubio.spec ++++++ --- /var/tmp/diff_new_pack.QE51zq/_old 2020-05-23 16:07:12.633026106 +0200 +++ /var/tmp/diff_new_pack.QE51zq/_new 2020-05-23 16:07:12.637026115 +0200 @@ -1,7 +1,7 @@ # # spec file for package aubio # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,56 +12,38 @@ # 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/ # -Name: aubio %define libpkgname libaubio5 +%define debug_package_requires %{libpkgname} = %{version}-%{release} +Name: aubio +Version: 0.4.9 +Release: 0 Summary: Library for real-time audio labelling License: GPL-3.0-or-later Group: Development/Libraries/C and C++ +URL: http://aubio.org +Source: http://aubio.org/pub/%{name}-%{version}.tar.bz2 +Source1: http://aubio.org/pub/%{name}-%{version}.tar.bz2.asc +Source99: baselibs.conf BuildRequires: alsa-devel BuildRequires: doxygen -%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) +BuildRequires: fftw3-devel +BuildRequires: libjack-devel +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: pkg-config +BuildRequires: python3-base +%if 0%{?suse_version} > 1315 BuildRequires: txt2man BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavresample) BuildRequires: pkgconfig(libavutil) %endif -BuildRequires: fftw3-devel -BuildRequires: libjack-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: pkg-config -BuildRequires: python-devel -Version: 0.4.6 -Release: 0 -Source: http://aubio.org/pub/%{name}-%{version}.tar.bz2 -Source1: http://aubio.org/pub/%{name}-%{version}.tar.bz2.asc -Source99: baselibs.conf -# PATCH-FIX-UPSTREAM CVE-2017-17054 bsc#1070399 -Patch1: aubio-wavread-input-validation.patch -# PATCH-FIX-UPSTREAM CVE-2017-17554 bsc#1072317 -Patch2: aubio-resampler-NULL-deref-fix.patch -# PATCH-FIX-UPSTREAM CVE-2018-14523 bsc#1102364 -Patch3: 0001-src-pitch-pitchyinfft.c-fix-out-of-bound-read-when-s.patch -Patch4: 0002-src-pitch-pitchyinfft.c-comment-out-debug-output.patch -# PATCH-FIX-UPSTREAM CVE-2018-14522 bsc#1102359 -Patch5: 0001-src-notes-notes.c-bail-out-if-pitch-creation-failed-.patch -Patch6: 0002-src-io-source_wavread.c-also-exit-if-samplerate-is-n.patch -# PATCH-FIX-UPSTREAM CVE-2018-19800 bsc#1137828 -Patch7: CVE-2018-19800-tempo-fix-buffer-overflow-in-method-parser.patch -# PATCH-FIX-UPSTREAM CVE-2018-19801 bsc#1137822 -Patch8: CVE-2018-19801-filterbank-validate-input-parameters.patch -# PATCH-FIX-UPSTREAM CVE-2018-19802 bsc#1137823 -Patch9: CVE-2018-19802-notes-prevent-null-pointer-dereference.patch -# PATCH-FIX-UPSTREAM CVE-2019-1010224 bsc#1142435 -Patch10: CVE-2019-1010224-onset-safer-deletion-method.patch -Url: http://aubio.org -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define debug_package_requires %{libpkgname} = %{version}-%{release} %description Aubio is a library for real time audio labelling. Its features include @@ -100,41 +82,29 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -sed -e "s,/lib,/%_lib," src/wscript_build > src/wscript_build.new -diff -u src/wscript_build src/wscript_build.new || : -mv src/wscript_build.new src/wscript_build +# set proper library dir +sed -i -e "s#/lib#/%{_lib}#" src/wscript_build +# set python3 as testrunner +sed -i -e 's#python\ ${SRC}#python3 ${SRC}#g' tests/wscript_build %build -./waf configure --prefix=%{_prefix} --libdir=%{_libdir} -./waf build +python3 ./waf configure --prefix=%{_prefix} --libdir=%{_libdir} +python3 ./waf build -v %{?_smp_mflags} %install -./waf install --destdir=%{buildroot} +python3 ./waf install --destdir=%{buildroot} mkdir -p %{buildroot}%{_docdir}/%{name} -cp -pR %{buildroot}%{_datadir}/doc/libaubio-doc/html %{buildroot}%{_docdir}/%{name} +cp -pR %{buildroot}%{_datadir}/doc/libaubio-doc/api %{buildroot}%{_docdir}/%{name} rm -rf %{buildroot}%{_datadir}/doc/libaubio-doc rm -f %{buildroot}%{_libdir}/libaubio.a %post -n %{libpkgname} -p /sbin/ldconfig - %postun -n %{libpkgname} -p /sbin/ldconfig %files -n %{libpkgname} -%defattr(-, root, root) %{_libdir}/lib*.so.* %files -n libaubio-devel -%defattr(-, root, root) %doc AUTHORS ChangeLog README.md %license COPYING %{_libdir}/lib*.so @@ -142,9 +112,8 @@ %{_includedir}/aubio %files tools -%defattr(-, root, root) %doc %{_docdir}/%{name} -%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) +%if 0%{?suse_version} > 1315 %{_mandir}/man1/* %endif %{_bindir}/* ++++++ python-aubio.spec ++++++ --- /var/tmp/diff_new_pack.QE51zq/_old 2020-05-23 16:07:12.657026157 +0200 +++ /var/tmp/diff_new_pack.QE51zq/_new 2020-05-23 16:07:12.657026157 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-aubio # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,30 +12,29 @@ # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-aubio -Version: 0.4.6 +Version: 0.4.9 Release: 0 Summary: A collection of tools for music analysis License: GPL-3.0-or-later Group: Development/Languages/Python -Url: http://aubio.org/ +URL: http://aubio.org/ Source: http://aubio.org/pub/aubio-%{version}.tar.bz2 Source1: http://aubio.org/pub/aubio-%{version}.tar.bz2.asc BuildRequires: %{python_module devel} -BuildRequires: %{python_module nose2} BuildRequires: %{python_module numpy-devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numpy Requires(post): update-alternatives Requires(postun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %python_subpackages %description @@ -53,14 +52,13 @@ %install %python_install +%python_expand %fdupes %{buildroot}/%{python_sitearch} %python_clone -a %{buildroot}/%{_bindir}/aubio %python_clone -a %{buildroot}/%{_bindir}/aubiocut %check -%ifpython3 -export PYTHONPATH=%{buildroot}/%{python_sitearch} -%python_exec setup.py test -%endif +# the two tests fail on 32bit due to precision issue +%pytest_arch -k 'not (test_meltohz or test_hztomel)' %post %python_install_alternative aubio @@ -69,8 +67,8 @@ %python_uninstall_alternative aubio %files %{python_files} -%defattr(-,root,root,-) -%doc README.md ChangeLog COPYING AUTHORS +%license COPYING +%doc README.md ChangeLog AUTHORS %python_alternative %{_bindir}/aubio %python_alternative %{_bindir}/aubiocut %{python_sitearch}/* ++++++ aubio-0.4.6.tar.bz2 -> aubio-0.4.9.tar.bz2 ++++++ ++++ 18036 lines of diff (skipped)
