Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sox for openSUSE:Factory checked in 
at 2023-05-10 17:39:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sox (Old)
 and      /work/SRC/openSUSE:Factory/.sox.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sox"

Wed May 10 17:39:19 2023 rev:44 rq:1086097 version:14.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/sox/sox.changes  2018-02-16 21:43:34.321468593 
+0100
+++ /work/SRC/openSUSE:Factory/.sox.new.1533/sox.changes        2023-05-10 
17:39:27.291678528 +0200
@@ -1,0 +2,12 @@
+Wed May 10 14:27:52 UTC 2023 - Martin Pluskal <[email protected]>
+
+- Further modernise specfile
+
+-------------------------------------------------------------------
+Wed May 10 10:10:10 UTC 2023 - [email protected]
+
+- Remove unused ffmpeg from BuildRequires
+- Remove conditionals for amrnb/amrwb
+- Use newer specfile constructs
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sox.spec ++++++
--- /var/tmp/diff_new_pack.RwRmlY/_old  2023-05-10 17:39:28.143683564 +0200
+++ /var/tmp/diff_new_pack.RwRmlY/_new  2023-05-10 17:39:28.143683564 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sox
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,65 +12,49 @@
 # 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 3
-
-%bcond_with amrwb
-%bcond_with amrnb
-
 Name:           sox
-BuildRequires:  file-devel
+Version:        14.4.2
+Release:        0
+Summary:        Sound Conversion Tools
+License:        LGPL-2.1-or-later AND GPL-2.0-or-later
+URL:            https://sox.sourceforge.net
+Source0:        
http://downloads.sourceforge.net/project/sox/sox/%{version}/%{name}-%{version}.tar.bz2
+Patch0:         CVE-2017-11332.patch
+Patch1:         CVE-2017-11359.patch
+Patch2:         CVE-2017-15371.patch
+Patch3:         CVE-2017-15642.patch
+Patch4:         CVE-2017-11358.patch
+Patch5:         CVE-2017-15370.patch
+Patch6:         CVE-2017-15372.patch
+Patch7:         CVE-2017-18189.patch
 BuildRequires:  ladspa-devel
 BuildRequires:  libgsm-devel
-BuildRequires:  libid3tag-devel
-BuildRequires:  libmp3lame-devel
-BuildRequires:  pkg-config
+BuildRequires:  libtool
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(ao)
 BuildRequires:  pkgconfig(flac)
-BuildRequires:  pkgconfig(libavcodec)
-BuildRequires:  pkgconfig(libavformat)
-BuildRequires:  pkgconfig(libavutil)
+BuildRequires:  pkgconfig(id3tag)
+BuildRequires:  pkgconfig(libmagic)
+BuildRequires:  pkgconfig(libmp3lame)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libpulse)
 BuildRequires:  pkgconfig(libpulse-simple)
 BuildRequires:  pkgconfig(mad)
 BuildRequires:  pkgconfig(ogg)
+BuildRequires:  pkgconfig(opencore-amrnb)
+BuildRequires:  pkgconfig(opencore-amrwb)
 BuildRequires:  pkgconfig(opusfile)
 BuildRequires:  pkgconfig(sndfile)
+BuildRequires:  pkgconfig(twolame)
 BuildRequires:  pkgconfig(vorbis)
-BuildRequires:  pkgconfig(vorbisenc)
-BuildRequires:  pkgconfig(vorbisfile)
 BuildRequires:  pkgconfig(wavpack)
 BuildRequires:  pkgconfig(zlib)
-%if %{with amrnb}
-BuildRequires:  pkgconfig(opencore-amrnb)
-%endif
-%if %{with amrwb}
-BuildRequires:  pkgconfig(opencore-amrwb)
-%endif
-BuildRequires:  libtool
-BuildRequires:  pkgconfig(twolame)
-Version:        14.4.2
-Release:        0
-Summary:        Sound Conversion Tools
-License:        LGPL-2.1+ and GPL-2.0+
-Group:          Productivity/Multimedia/Sound/Editors and Convertors
-Url:            http://sox.sourceforge.net
-Source0:        
http://downloads.sourceforge.net/project/sox/sox/%{version}/%{name}-%{version}.tar.bz2
-Source1:        %{name}.changes
-Patch0:         CVE-2017-11332.patch  
-Patch1:         CVE-2017-11359.patch  
-Patch2:         CVE-2017-15371.patch 
-Patch3:         CVE-2017-15642.patch 
-Patch4:         CVE-2017-11358.patch 
-Patch5:         CVE-2017-15370.patch 
-Patch6:         CVE-2017-15372.patch
-Patch7:         CVE-2017-18189.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 SOX is intended to be the Swiss Army knife of sound processing tools.
@@ -80,7 +64,6 @@
 
 %package -n libsox%{soname}
 Summary:        Sound Conversion Library
-Group:          System/Libraries
 
 %description -n libsox%{soname}
 SOX is intended to be the Swiss Army knife of sound processing tools.
@@ -90,7 +73,6 @@
 
 %package devel
 Summary:        Sound Conversion Tools and Library
-Group:          Development/Libraries/C and C++
 Requires:       libsox%{soname} = %{version}
 
 %description devel
@@ -100,54 +82,42 @@
 hide the wacky options with one-line shell scripts.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")"
-DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
-TIME="\"$(date -d "${modified}" "+%%R")\""
-find .  -name '*.[ch]' | xargs sed -i 
"s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
+%autosetup -p1
 
 %build
 %configure \
   --without-oss \
   --disable-static \
   --with-distro=openSUSE
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %make_install
-rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/sox/*.la
-
-%post -n libsox%{soname} -p /sbin/ldconfig
+find %{buildroot} -type f -name "*.la" -delete -print
 
-%postun -n libsox%{soname} -p /sbin/ldconfig
+%ldconfig_scriptlets -n libsox%{soname}
 
 %files
-%defattr(0644,root,root,0755)
-%doc AUTHORS COPYING ChangeLog NEWS README src/monkey.wav
-%attr(0755,root,root) %{_bindir}/sox
+%doc AUTHORS ChangeLog NEWS README
+%{_bindir}/sox
 %{_bindir}/play
 %{_bindir}/rec
 %{_bindir}/soxi
-%{_mandir}/man1/*
-%{_mandir}/man7/*
+%{_mandir}/man1/play.1%{?ext_man}
+%{_mandir}/man1/rec.1%{?ext_man}
+%{_mandir}/man1/sox.1%{?ext_man}
+%{_mandir}/man1/soxi.1%{?ext_man}
+%{_mandir}/man7/soxeffect.7%{?ext_man}
+%{_mandir}/man7/soxformat.7%{?ext_man}
 
 %files -n libsox%{soname}
-%defattr(0644,root,root,0755)
+%license COPYING
 %{_libdir}/libsox.so.%{soname}*
 
 %files devel
-%defattr(0644,root,root,0755)
 %{_includedir}/*
 %{_libdir}/libsox.so
 %{_libdir}/pkgconfig/sox.pc
-%{_mandir}/man3/libsox.3*
+%{_mandir}/man3/libsox.3%{?ext_man}
 
 %changelog

Reply via email to