commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2018-02-16 21:43:21 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is "sox" Fri Feb 16 21:43:21 2018 rev:43 rq:576967 version:14.4.2 Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2017-12-20 10:39:58.046542677 +0100 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2018-02-16 21:43:34.321468593 +0100 @@ -1,0 +2,41 @@ +Wed Feb 14 14:38:36 UTC 2018 - kbabi...@suse.com + +- Added patches: + * CVE-2017-11332.patch: Fixed the startread function in wav.c, which allowed +remote attackers to cause a DoS (divide-by-zero) via a crafted wav file. +(CVE-2017-11332 bsc#1081140) + + * CVE-2017-11358.patch: Fixed the read_samples function in hcom.c, which +allowed remote attackers to cause a DoS (invalid memory read) via a crafted +hcom file. (CVE-2017-11358 bsc#1081141) + + * CVE-2017-11359.patch: Fixed the wavwritehdr function in wav.c, which +allowed remote attackers to cause a DoS (divide-by-zero) when converting a +a crafted snd file to a wav file. (CVE-2017-11359 bsc#1081142) + + * CVE-2017-15370.patch: Fixed a heap-based buffer overflow in the ImaExpandS +function of ima_rw.c, which allowed remote attackers to cause a DoS during +conversion of a crafted audio file. (CVE-2017-15370 bsc#1063439) + + * CVE-2017-15371.patch: Fixed an assertion abort in the function +sox_append_comment() in formats.c, which allowed remote attackers to cause +a DoS during conversion of a crafted audio file. (CVE-2017-15371 +bsc#1063450) + + * CVE-2017-15372.patch: Fixed a stack-based buffer overflow in the +lsx_ms_adpcm_block_expand_i function of adpcm.c, which allowed remote +attackers to cause a DoS during conversion of a crafted audio file. +(CVE-2017-15372 bsc#1063456) + + * CVE-2017-15642.patch: Fixed an Use-After-Free vulnerability in +lsx_aiffstartread in aiff.c, which could be triggered by an attacker by +providing a malformed AIFF file. (CVE-2017-15642 bsc#1064576) + + * CVE-2017-18189.patch: Fixed a NULL pointer dereference triggered by a +corrupt header specifying zero channels in the startread function in +xa.c, which allowed remote attackers to cause a DoS (CVE-2017-18189 +bsc#1081146). + +- Removed sox-doublefree.patch + +--- Old: sox-doublefree.patch New: CVE-2017-11332.patch CVE-2017-11358.patch CVE-2017-11359.patch CVE-2017-15370.patch CVE-2017-15371.patch CVE-2017-15372.patch CVE-2017-15642.patch CVE-2017-18189.patch Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.HDjPri/_old 2018-02-16 21:43:35.169438011 +0100 +++ /var/tmp/diff_new_pack.HDjPri/_new 2018-02-16 21:43:35.173437866 +0100 @@ -1,7 +1,7 @@ # # spec file for package sox # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,7 +62,14 @@ Url:http://sox.sourceforge.net Source0: http://downloads.sourceforge.net/project/sox/sox/%{version}/%{name}-%{version}.tar.bz2 Source1:%{name}.changes -Patch0: sox-doublefree.patch +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 @@ -95,6 +102,13 @@ %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")\"" ++ CVE-2017-11332.patch ++ >From 7405bcaacb1ded8c595cb751d407cf738cb26571 Mon Sep 17 00:00:00 2001 From: Mans RullgardDate: Sun, 5 Nov 2017 16:29:28 + Subject: [PATCH] wav: fix crash if channel count is zero (CVE-2017-11332) --- src/wav.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/wav.c b/src/wav.c index 3e80e692..3eaebfa7 100644 --- a/src/wav.c +++ b/src/wav.c @@ -712,6 +712,11 @@ static int startread(sox_format_t * ft) else lsx_report("User options overriding channels read in .wav header"); +if (ft->signal.channels == 0) { +
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2017-12-20 10:39:56 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is "sox" Wed Dec 20 10:39:56 2017 rev:42 rq:558316 version:14.4.2 Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2017-08-29 11:44:33.14465 +0200 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2017-12-20 10:39:58.046542677 +0100 @@ -1,0 +2,6 @@ +Tue Dec 19 07:12:58 UTC 2017 - meiss...@suse.com + +- sox-doublefree.patch: initialize comment, it might + get returned back with OK. (bsc#1064576 CVE-2017-15642) + +--- New: sox-doublefree.patch Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.rxTzpb/_old 2017-12-20 10:39:58.786488957 +0100 +++ /var/tmp/diff_new_pack.rxTzpb/_new 2017-12-20 10:39:58.790488666 +0100 @@ -62,6 +62,7 @@ Url:http://sox.sourceforge.net Source0: http://downloads.sourceforge.net/project/sox/sox/%{version}/%{name}-%{version}.tar.bz2 Source1:%{name}.changes +Patch0: sox-doublefree.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -93,6 +94,7 @@ %prep %setup -q +%patch0 -p1 modified="$(sed -n '/^/n;s/ - .*$//;p;q' "%{SOURCE1}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" ++ sox-doublefree.patch ++ --- sox-14.4.2/src/aiff.c.xx2017-12-19 08:11:20.195415511 +0100 +++ sox-14.4.2/src/aiff.c 2017-12-19 08:11:40.335389318 +0100 @@ -504,6 +504,7 @@ unsigned int totalReadLength = 0; unsigned int commentIndex; + *text = NULL; lsx_readdw(ft, ); lsx_readw(ft, ); totalReadLength += 2; /* chunksize doesn't count */
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2017-08-29 11:44:27 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is "sox" Tue Aug 29 11:44:27 2017 rev:41 rq:518799 version:14.4.2 Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2017-03-10 21:44:12.300326575 +0100 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2017-08-29 11:44:33.14465 +0200 @@ -1,0 +2,6 @@ +Fri Aug 25 06:10:58 UTC 2017 - o...@aepfle.de + +- Enable lame/mad/twolame unconditionally +- Remove ffmpeg/opus conditional because it is always present + +--- Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.yazdN5/_old 2017-08-29 11:44:35.851951680 +0200 +++ /var/tmp/diff_new_pack.yazdN5/_new 2017-08-29 11:44:35.891946042 +0200 @@ -1,7 +1,7 @@ # # spec file for package sox # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,57 +18,42 @@ %define soname 3 -%bcond_without ffmpeg -%bcond_without opus -%bcond_with mad -%bcond_with lame %bcond_with amrwb %bcond_with amrnb -%bcond_with twolame Name: sox BuildRequires: file-devel BuildRequires: ladspa-devel BuildRequires: libgsm-devel BuildRequires: libid3tag-devel +BuildRequires: libmp3lame-devel BuildRequires: pkg-config BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(ao) BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavformat) +BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libpulse-simple) +BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(ogg) +BuildRequires: pkgconfig(opusfile) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbisenc) BuildRequires: pkgconfig(vorbisfile) BuildRequires: pkgconfig(wavpack) BuildRequires: pkgconfig(zlib) -%if %{with ffmpeg} -BuildRequires: pkgconfig(libavcodec) -BuildRequires: pkgconfig(libavformat) -BuildRequires: pkgconfig(libavutil) -%endif -%if %{with opus} -BuildRequires: pkgconfig(opusfile) -%endif -%if %{with mad} -BuildRequires: pkgconfig(mad) -%endif -%if %{with lame} -BuildRequires: libmp3lame-devel -%endif %if %{with amrnb} BuildRequires: pkgconfig(opencore-amrnb) %endif %if %{with amrwb} BuildRequires: pkgconfig(opencore-amrwb) %endif -%if %{with twolame} -BuildRequires: pkgconfig(twolame) -%endif BuildRequires: libtool +BuildRequires: pkgconfig(twolame) Version:14.4.2 Release:0 Summary:Sound Conversion Tools
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2017-03-10 21:44:11 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is "sox" Fri Mar 10 21:44:11 2017 rev:40 rq:477410 version:14.4.2 Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2015-10-03 20:29:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2017-03-10 21:44:12.300326575 +0100 @@ -1,0 +2,7 @@ +Mon Mar 6 13:02:33 UTC 2017 - zai...@opensuse.org + +- Replace libopus-devel with pkgconfig(opusfile) BuildRequires: + this is what configure looks for, and will actually build the + optional opus support as intended. + +--- Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.qrW87b/_old 2017-03-10 21:44:13.124209718 +0100 +++ /var/tmp/diff_new_pack.qrW87b/_new 2017-03-10 21:44:13.124209718 +0100 @@ -51,7 +51,7 @@ BuildRequires: pkgconfig(libavutil) %endif %if %{with opus} -BuildRequires: libopus-devel +BuildRequires: pkgconfig(opusfile) %endif %if %{with mad} BuildRequires: pkgconfig(mad)
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2015-10-03 20:29:05 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is "sox" Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2013-09-13 14:46:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2015-10-03 20:29:34.0 +0200 @@ -1,0 +2,34 @@ +Wed Sep 22 15:57:49 UTC 2015 - mplus...@suse.com + +- Update to 14.4.2 + o Add optional support for reading Ogg Opus files. + o Fix for max size text chunks in aiff files. + o Add reading support for RF64 WAV files. + o Work around for libsndfile created RF64 files with invalid +sizes. + o Detect MS ADPCM WAV files with invalid blocks. + o Detect Sphere files with invalid header sizes. + o 'Deemph' can now also be used at 48kHz sample rate. + o 'Rate' now much faster in many cases. + o Allow sending spectrograms to stdout. + o Allow use of Dolph window with spectrograms. + o Allow mixing time and sample-count arguments for the delay +effect, and for spectrogram -S and -d. + o Support multi-channel LADSPA plugins. + o Support infinite repetition with repeat. + o Improved pink noise frequency response in synth. + o Extended syntax for specifying audio positions to several +effects. + o Fix integer overflow in mcompand. [3590093] + o Add optional latency compenstation for LADSPA plugins. + o New -p option for soxi to display sample precision. + o New libsox example6: give explicit output attributes. + o Speed optimization for effects that operate on channels +independently. + o Fix memory leaks. + o Most internal symbols (lsx_*) are no longer exported. +- Drop sox-14.4.0-ocloexec.patch as it brings little enhancement + and there has been no activity at upstreaming it +- Enable ffmpeg and opus by default + +--- Old: sox-14.4.0-ocloexec.patch sox-14.4.1.tar.bz2 New: sox-14.4.2.tar.bz2 Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.ucMuQ5/_old 2015-10-03 20:29:35.0 +0200 +++ /var/tmp/diff_new_pack.ucMuQ5/_new 2015-10-03 20:29:35.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package sox # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,10 @@ # -%define soname 2 +%define soname 3 -%bcond_with ffmpeg +%bcond_without ffmpeg +%bcond_without opus %bcond_with mad %bcond_with lame %bcond_with amrwb @@ -30,7 +31,6 @@ BuildRequires: ladspa-devel BuildRequires: libgsm-devel BuildRequires: libid3tag-devel -BuildRequires: libtool BuildRequires: pkg-config BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(ao) @@ -50,6 +50,9 @@ BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) %endif +%if %{with opus} +BuildRequires: libopus-devel +%endif %if %{with mad} BuildRequires: pkgconfig(mad) %endif @@ -66,15 +69,14 @@ BuildRequires: pkgconfig(twolame) %endif BuildRequires: libtool -Version:14.4.1 +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 -#PATCH-FIX-OPENSUSE crrodrig...@opensuse.org linux/glibc specific patch to open all fds with O_CLOEXEC (not suitable for other OS) -Patch0: sox-14.4.0-ocloexec.patch +Source1:%{name}.changes BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -106,16 +108,17 @@ %prep %setup -q -%patch0 -FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') -sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/sox.h src/libsox.c -FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') -sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/sox.h src/libsox.c +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" %build -autoreconf -fiv -%configure --without-oss --disable-static --with-distro=openSUSE -make %{?_smp_mflags} +%configure \ + --without-oss \ + --disable-static \ +
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2013-09-13 14:46:27 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is sox Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2013-02-14 21:15:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2013-09-13 14:46:28.0 +0200 @@ -1,0 +2,27 @@ +Wed Sep 11 16:28:12 UTC 2013 - reddw...@opensuse.org + +- Update to version 14.4.1 + o Fix pipe file-type detection regression + o MAUD write fixes + o Fix crash when seeking within a FLAC file + o Fix Ogg Vorbis files with certain numbers of channels being +truncated + o Fix reading 64-bit float WAVs + o Fix potential buffer overrun when writing FLAC files directly via +sox_write() + o Check whether pulseaudio is available before choosing it as +default + o Restore 8 seconds default for spectrogram, if the input length is +not known + o Set output length for splice to unknown instead of 0 + o Increase maximum width for spectrograms + o Fix memory leaks in LADSPA effect + o Fix hang in several effects (rate, tempo, and those based on +dft_filter) when processing long files + o Prevent (m)compand from tampering with their arguments + o Fix input length calculation for combine methods other than +concatenate + o Fix to configure.ac to work with Autoconf 2.69 +- Rebase sox-14.4.0-ocloexec.patch + +--- Old: sox-14.4.0.tar.bz2 New: sox-14.4.1.tar.bz2 Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.62dhoO/_old 2013-09-13 14:46:29.0 +0200 +++ /var/tmp/diff_new_pack.62dhoO/_new 2013-09-13 14:46:29.0 +0200 @@ -66,7 +66,7 @@ BuildRequires: pkgconfig(twolame) %endif BuildRequires: libtool -Version:14.4.0 +Version:14.4.1 Release:0 Summary:Sound Conversion Tools License:LGPL-2.1+ and GPL-2.0+ ++ sox-14.4.0-ocloexec.patch ++ --- /var/tmp/diff_new_pack.62dhoO/_old 2013-09-13 14:46:29.0 +0200 +++ /var/tmp/diff_new_pack.62dhoO/_new 2013-09-13 14:46:29.0 +0200 @@ -146,17 +146,6 @@ uLong font_len = 96 * font_y; int chans= effp-in_signal.channels; int c_rows = p-rows * chans + chans - 1; src/util.h.orig -+++ src/util.h -@@ -120,7 +120,7 @@ - #define open _open - #define pclose _pclose - #define popen _popen --#define POPEN_MODE rb -+#define POPEN_MODE rbe - #define setmode _setmode - #define snprintf _snprintf - --- configure.ac.orig +++ configure.ac @@ -16,7 +16,9 @@ dnl Check we have the right srcdir ++ sox-14.4.0.tar.bz2 - sox-14.4.1.tar.bz2 ++ 7063 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2013-02-14 21:15:03 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is sox, Maintainer is orpha...@suse.de Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2012-11-26 20:01:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2013-02-14 21:15:04.0 +0100 @@ -1,0 +2,7 @@ +Thu Feb 7 18:53:29 UTC 2013 - crrodrig...@opensuse.org + +- sox-14.4.0-ocloexec.patch: edited, config.h must be included + _everywhere_ and GNU_SOURCE defined so O_CLOEXEC is available + for all targets. + +--- Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.U1iSrR/_old 2013-02-14 21:15:05.0 +0100 +++ /var/tmp/diff_new_pack.U1iSrR/_new 2013-02-14 21:15:05.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package sox # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -65,6 +65,7 @@ %if %{with twolame} BuildRequires: pkgconfig(twolame) %endif +BuildRequires: libtool Version:14.4.0 Release:0 Summary:Sound Conversion Tools @@ -105,15 +106,14 @@ %prep %setup -q -%if 0%{?suse_version} 1140 %patch0 -%endif FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -i s/__DATE__/\$FAKE_BUILDDATE\/ src/sox.h src/libsox.c FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') sed -i s/__TIME__/\$FAKE_BUILDTIME\/ src/sox.h src/libsox.c %build +autoreconf -fiv %configure --without-oss --disable-static --with-distro=openSUSE make %{?_smp_mflags} ++ sox-14.4.0-ocloexec.patch ++ --- /var/tmp/diff_new_pack.U1iSrR/_old 2013-02-14 21:15:05.0 +0100 +++ /var/tmp/diff_new_pack.U1iSrR/_new 2013-02-14 21:15:05.0 +0100 @@ -1,5 +1,3 @@ -Index: src/8svx.c -=== --- src/8svx.c.orig +++ src/8svx.c @@ -161,7 +161,7 @@ static int startread(sox_format_t * ft) @@ -11,8 +9,6 @@ { lsx_fail_errno(ft,errno,Can't open channel file '%s', ft-filename); -Index: src/effects_i.c -=== --- src/effects_i.c.orig +++ src/effects_i.c @@ -355,7 +355,7 @@ FILE * lsx_open_input_file(sox_effect_t @@ -24,8 +20,6 @@ lsx_fail(couldn't open file %s: %s, filename, strerror(errno)); return NULL; } -Index: src/formats.c -=== --- src/formats.c.orig +++ src/formats.c @@ -373,7 +373,7 @@ static FILE * xfopen(char const * identi @@ -72,8 +66,6 @@ char * filename; int c, result = SOX_SUCCESS; -Index: src/libsox_i.c -=== --- src/libsox_i.c.orig +++ src/libsox_i.c @@ -34,7 +34,7 @@ @@ -103,8 +95,6 @@ } /* Use standard tmpfile (delete on close); tmp dir is undefined: */ -Index: src/noiseprof.c -=== --- src/noiseprof.c.orig +++ src/noiseprof.c @@ -75,7 +75,7 @@ static int sox_noiseprof_start(sox_effec @@ -116,8 +106,6 @@ lsx_fail(Couldn't open profile file %s: %s, data-output_filename, strerror(errno)); return SOX_EOF; } -Index: src/sox.c -=== --- src/sox.c.orig +++ src/sox.c @@ -906,7 +906,7 @@ static char * * strtoargv(char * s, int @@ -147,8 +135,6 @@ if (file == NULL) { lsx_fail(Cannot open comment file `%s', filename); -Index: src/spectrogram.c -=== --- src/spectrogram.c.orig +++ src/spectrogram.c @@ -492,7 +492,7 @@ static int axis(double to, int max_steps @@ -160,8 +146,6 @@ uLong font_len = 96 * font_y; int chans= effp-in_signal.channels; int c_rows = p-rows * chans + chans - 1; -Index: src/util.h -=== --- src/util.h.orig +++ src/util.h @@ -120,7 +120,7 @@ @@ -173,3 +157,77 @@ #define setmode _setmode #define snprintf _snprintf +--- configure.ac.orig configure.ac +@@ -16,7 +16,9 @@ dnl Check we have the right srcdir + AC_CONFIG_SRCDIR(sox.1) + + dnl Checks for
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2012-04-17 07:49:57 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is sox, Maintainer is prus...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2011-11-28 12:57:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2012-04-17 07:49:59.0 +0200 @@ -1,0 +2,27 @@ +Sat Apr 14 12:59:20 UTC 2012 - reddw...@opensuse.org + +- Update to version 14.4.0 + o Add floating point encodings in AIFF-C files. + o Pad WAV data chunks to an even number of bytes. + o Made Pulse Audio driver the default driver. + o Lots of improvements to man pages. + o New upsample, hilbert, and downsample effects. + o Fix fading bugs. + o Enable --plot on biquad and fir effects. + o Now effects chain can be unlimitted length. + o Fix newfile/restart effects when merging or mixing files. + o Fix crash in compand and mcompand effect. + o Improved audio length calculations when using effects. + o New trim effect with enhanced capabilities. + o Improved large file support. + o MP2 write support. +- Split librarires to follow SLPP +- Optionally enable twolame support +- Use pkgconfig() style BuildRequires +- Update ocloexec patch to apply to the new version +- Remove audioio.h/sunaudio support +- Remove unneeded ncurses BuildRequire +- Remove patches not needed anymore (sox-14.3.2-new_ffmpeg.patch, + sox-14.3.1-undefined.patch and sox-14.3.1-aliasing.patch) + +--- Old: audioio.h sox-14.3.1-aliasing.patch sox-14.3.1-undefined.patch sox-14.3.2-new_ffmpeg.patch sox-14.3.2.tar.bz2 sox-ocloexec.patch New: sox-14.4.0-ocloexec.patch sox-14.4.0.tar.bz2 Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.dXMrBo/_old 2012-04-17 07:50:01.0 +0200 +++ /var/tmp/diff_new_pack.dXMrBo/_new 2012-04-17 07:50:01.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package sox # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,56 +16,64 @@ # +%define soname 2 + %bcond_with ffmpeg %bcond_with mad %bcond_with lame %bcond_with amrwb %bcond_with amrnb +%bcond_with twolame Name: sox -BuildRequires: alsa-devel BuildRequires: file-devel -BuildRequires: flac-devel BuildRequires: ladspa-devel -BuildRequires: libao-devel BuildRequires: libgsm-devel BuildRequires: libid3tag-devel -BuildRequires: libpng-devel -BuildRequires: libpulse-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel +BuildRequires: libtool BuildRequires: pkg-config -BuildRequires: wavpack-devel -BuildRequires: ncurses-devel +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(ao) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libpulse) +BuildRequires: pkgconfig(libpulse-simple) +BuildRequires: pkgconfig(ogg) +BuildRequires: pkgconfig(sndfile) +BuildRequires: pkgconfig(vorbis) +BuildRequires: pkgconfig(vorbisenc) +BuildRequires: pkgconfig(vorbisfile) +BuildRequires: pkgconfig(wavpack) +BuildRequires: pkgconfig(zlib) %if %{with ffmpeg} -BuildRequires: libffmpeg-devel +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavformat) +BuildRequires: pkgconfig(libavutil) %endif %if %{with mad} -BuildRequires: libmad-devel +BuildRequires: pkgconfig(mad) %endif %if %{with lame} BuildRequires: libmp3lame-devel %endif -%if %{with amrwb} %{with amrnb} -BuildRequires: libopencore-amr-devel +%if %{with amrnb} +BuildRequires: pkgconfig(opencore-amrnb) +%endif +%if %{with amrwb} +BuildRequires: pkgconfig(opencore-amrwb) +%endif +%if %{with twolame} +BuildRequires: pkgconfig(twolame) %endif -Version:14.3.2 -Release:3 +Version:14.4.0 +Release:0 +Summary:Sound Conversion Tools License:LGPL-2.1+ ; GPL-2.0+ -Summary:Sound Conversion Tools and Library -Url:http://sox.sourceforge.net Group: Productivity/Multimedia/Sound/Editors and Convertors -Source: http://downloads.sourceforge.net/project/sox/sox/%{version}/%{name}-%{version}.tar.bz2 -Source1:audioio.h -# PATCH-FIX-UPSTREAM %{name}-14.3.2-new_ffmpeg.patch reddw...@opensuse.org -- make it work with new ffmpeg, from upstream GIT -Patch0:
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2011-12-06 19:05:23 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is sox, Maintainer is prus...@suse.com Changes: Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.PiDUUY/_old 2011-12-06 19:38:24.0 +0100 +++ /var/tmp/diff_new_pack.PiDUUY/_new 2011-12-06 19:38:24.0 +0100 @@ -52,7 +52,7 @@ %endif Version:14.3.2 Release:3 -License:LGPLv2.1+ ; GPLv2+ +License:LGPL-2.1+ ; GPL-2.0+ Summary:Sound Conversion Tools and Library Url:http://sox.sourceforge.net Group: Productivity/Multimedia/Sound/Editors and Convertors @@ -75,7 +75,7 @@ hide the wacky options with one-line shell scripts. %package devel -License:LGPLv2.1+ ; GPLv2+ +License:LGPL-2.1+ ; GPL-2.0+ Summary:Sound Conversion Tools and Library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at 2011-11-28 12:57:44 Comparing /work/SRC/openSUSE:Factory/sox (Old) and /work/SRC/openSUSE:Factory/.sox.new (New) Package is sox, Maintainer is prus...@suse.com Changes: --- /work/SRC/openSUSE:Factory/sox/sox.changes 2011-09-23 12:46:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.sox.new/sox.changes 2011-11-28 12:57:45.0 +0100 @@ -1,0 +2,13 @@ +Sun Nov 27 20:49:18 UTC 2011 - pascal.ble...@opensuse.org + +- fix build on 12.1 by not applying the O_CLOEXEC patch there as it is not in + the glibc +- fix build on = 12.1 by adding ncurses-devel to the BuildRequires + +--- +Fri Nov 18 20:38:56 UTC 2011 - crrodrig...@opensuse.org + +- libsox: Use O_CLOEXEC where needed, this is specially important + in library code and even more here as threading is used. + +--- New: sox-ocloexec.patch Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.iyJwq9/_old 2011-11-28 12:57:46.0 +0100 +++ /var/tmp/diff_new_pack.iyJwq9/_new 2011-11-28 12:57:46.0 +0100 @@ -37,6 +37,7 @@ BuildRequires: libvorbis-devel BuildRequires: pkg-config BuildRequires: wavpack-devel +BuildRequires: ncurses-devel %if %{with ffmpeg} BuildRequires: libffmpeg-devel %endif @@ -63,6 +64,8 @@ Patch2: %{name}-14.3.1-undefined.patch # PATCH-FIX-UPSTREAM %{name}-14.3.1-aliasing.patch sf#3072320 reddw...@opensuse.org -- fix an aliasing problem as reported by post-build script Patch3: %{name}-14.3.1-aliasing.patch +#PATCH-FIX-OPENSUSE crrodrig...@opensuse.org linux/glibc specific patch to open all fds with O_CLOEXEC (not suitable for other OS) +Patch4: sox-ocloexec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -89,6 +92,9 @@ %patch0 -p1 %patch2 %patch3 +%if 0%{?suse_version} 1140 +%patch4 +%endif FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -i s/__DATE__/\$FAKE_BUILDDATE\/ src/sox.c FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') @@ -122,7 +128,8 @@ %attr(0755,root,root) %{_bindir}/* # I don't know of anything which uses libsox, but if the soname changes perhaps # it's the time to split the package and follow SLPP -%{_libdir}/libsox.so.1* +%{_libdir}/libsox.so.1 +%{_libdir}/libsox.so.1.* %{_mandir}/man1/* %{_mandir}/man3/* %{_mandir}/man7/* ++ sox-ocloexec.patch ++ --- src/8svx.c.orig +++ src/8svx.c @@ -161,7 +161,7 @@ static int startread(sox_format_t * ft) chan1_pos = lsx_tell(ft); for (i = 1; i channels; i++) { -if ((p-ch[i] = fopen(ft-filename, rb)) == NULL) +if ((p-ch[i] = fopen(ft-filename, rbe)) == NULL) { lsx_fail_errno(ft,errno,Can't open channel file '%s', ft-filename); --- src/effects_i.c.orig +++ src/effects_i.c @@ -350,7 +350,7 @@ FILE * lsx_open_input_file(sox_effect_t effp-global_info-global_info-stdin_in_use_by = effp-handler.name; file = stdin; } - else if (!(file = fopen(filename, r))) { + else if (!(file = fopen(filename, re))) { lsx_fail(couldn't open file %s: %s, filename, strerror(errno)); return NULL; } --- src/noiseprof.c.orig +++ src/noiseprof.c @@ -75,7 +75,7 @@ static int sox_noiseprof_start(sox_effec effp-global_info-global_info-stdout_in_use_by = effp-handler.name; data-output_file = stdout; } - else if ((data-output_file = fopen(data-output_filename, w)) == NULL) { + else if ((data-output_file = fopen(data-output_filename, we)) == NULL) { lsx_fail(Couldn't open profile file %s: %s, data-output_filename, strerror(errno)); return SOX_EOF; } --- src/sox.c.orig +++ src/sox.c @@ -852,7 +852,7 @@ static char * * strtoargv(char * s, int static void read_user_effects(char *filename) { -FILE *file = fopen(filename, rt); +FILE *file = fopen(filename, rte); char s[FILENAME_MAX]; int argc; char * * argv; @@ -1189,7 +1189,7 @@ static int kbhit(void) static void adjust_volume(int delta) { char * from_env = getenv(MIXERDEV); - int vol1 = 0, vol2 = 0, fd = open(from_env? from_env : /dev/mixer, O_RDWR); + int vol1 = 0, vol2 = 0, fd = open(from_env? from_env : /dev/mixer, O_RDWR|O_CLOEXEC); if (fd = 0) { if (ioctl(fd, MIXER_READ(SOUND_MIXER_PCM), vol1) != -1) { int side1 = vol1 0xff, side2 = (vol1 8) 0xff; @@ -1983,7 +1983,7 @@ static void read_comment_file(sox_commen int c; size_t text_length = 100;
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at Mon Jun 27 11:42:38 CEST 2011. --- sox/sox.changes 2011-03-01 15:16:36.0 +0100 +++ /mounts/work_src_done/STABLE/sox/sox.changes2011-06-27 10:14:59.0 +0200 @@ -1,0 +2,12 @@ +Mon Jun 27 08:14:11 UTC 2011 - co...@novell.com + +- remove _service file, way too fragile (see sr#74395) + +--- +Wed Jun 22 23:24:09 UTC 2011 - reddw...@opensuse.org + +- make it support new ffmpeg versions +- remove buildstamp without modifying the output +- use opencore-amr for AMR support + +--- calling whatdependson for head-i586 Old: _service _service:download_url:sox-14.3.2.tar.bz2 _service:set_version:sox.spec sox-no_buildstamp.patch New: sox-14.3.2-new_ffmpeg.patch sox-14.3.2.tar.bz2 Other differences: -- ++ sox.spec ++ --- /var/tmp/diff_new_pack.Va5GVf/_old 2011-06-27 11:28:20.0 +0200 +++ /var/tmp/diff_new_pack.Va5GVf/_new 2011-06-27 11:28:20.0 +0200 @@ -46,22 +46,19 @@ %if %{with lame} BuildRequires: libmp3lame-devel %endif -%if %{with amrwb} -BuildRequires: libamrwb-devel +%if %{with amrwb} %{with amrnb} +BuildRequires: libopencore-amr-devel %endif -%if %{with amrnb} -BuildRequires: libamrnb-devel -%endif -Version:to_be_filled_by_service -Release:1 +Version:14.3.2 +Release:3 License:LGPLv2.1+ ; GPLv2+ Summary:Sound Conversion Tools and Library Url:http://sox.sourceforge.net Group: Productivity/Multimedia/Sound/Editors and Convertors -Source: %{name}-%{version}.tar.bz2 +Source: http://downloads.sourceforge.net/project/sox/sox/%{version}/%{name}-%{version}.tar.bz2 Source1:audioio.h -# PATCH-FIX-OPENSUSE %{name}-no_buildstamp.patch reddw...@opensuse.org -- this patch removes the buildstamp -Patch1: %{name}-no_buildstamp.patch +# PATCH-FIX-UPSTREAM %{name}-14.3.2-new_ffmpeg.patch reddw...@opensuse.org -- make it work with new ffmpeg, from upstream GIT +Patch0: %{name}-14.3.2-new_ffmpeg.patch # PATCH-FIX-UPSTREAM %{name}-14.3.1-undefined.patch sf#3072301 reddw...@opensuse.org -- fix undefined behavior problems as reported by post-build script Patch2: %{name}-14.3.1-undefined.patch # PATCH-FIX-UPSTREAM %{name}-14.3.1-aliasing.patch sf#3072320 reddw...@opensuse.org -- fix an aliasing problem as reported by post-build script @@ -89,9 +86,13 @@ %prep %setup -q -%patch1 +%patch0 -p1 %patch2 %patch3 +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +sed -i s/__DATE__/\$FAKE_BUILDDATE\/ src/sox.c +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') +sed -i s/__TIME__/\$FAKE_BUILDTIME\/ src/sox.c %build # /dev/audio (OSS) support. If it ever breaks just remove it. ++ sox-14.3.2-new_ffmpeg.patch ++ From 0904a4c1387919d318adece40838564b0a96c5b6 Mon Sep 17 00:00:00 2001 From: Reuben Thomas r...@sc3d.org Date: Wed, 25 May 2011 22:38:50 +0100 Subject: [PATCH] Stop using some deprecated symbol names. --- src/ffmpeg.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ffmpeg.c b/src/ffmpeg.c index e6292f3..b9727ba 100644 --- a/src/ffmpeg.c +++ b/src/ffmpeg.c @@ -91,7 +91,7 @@ static int stream_component_open(priv_t * ffmpeg, int stream_index) if (!codec || avcodec_open(enc, codec) 0) return -1; - if (enc-codec_type != CODEC_TYPE_AUDIO) { + if (enc-codec_type != AVMEDIA_TYPE_AUDIO) { lsx_fail(ffmpeg CODEC %x is not an audio CODEC, enc-codec_type); return -1; } @@ -182,7 +182,7 @@ static int startread(sox_format_t * ft) /* Find audio stream (FIXME: allow different stream to be selected) */ for (i = 0; (unsigned)i ffmpeg-ctxt-nb_streams; i++) { AVCodecContext *enc = ffmpeg-ctxt-streams[i]-codec; -if (enc-codec_type == CODEC_TYPE_AUDIO ffmpeg-audio_index 0) { +if (enc-codec_type == AVMEDIA_TYPE_AUDIO ffmpeg-audio_index 0) { ffmpeg-audio_index = i; break; } @@ -273,7 +273,7 @@ static AVStream *add_audio_stream(sox_format_t * ft, AVFormatContext *oc, enum C c = st-codec; c-codec_id = codec_id; - c-codec_type = CODEC_TYPE_AUDIO; + c-codec_type = AVMEDIA_TYPE_AUDIO; /* put sample parameters */ c-bit_rate = 256000; /* FIXME: allow specification */ @@ -423,7 +423,7 @@ static size_t write_samples(sox_format_t * ft, const sox_sample_t *buf, size_t l av_init_packet(pkt); pkt.size = avcodec_encode_audio(c, ffmpeg-audio_buf_aligned, AVCODEC_MAX_AUDIO_FRAME_SIZE, ffmpeg-samples); pkt.pts = av_rescale_q(c-coded_frame-pts, c-time_base, ffmpeg-audio_st-time_base); - pkt.flags |=
commit sox for openSUSE:Factory
Hello community, here is the log from the commit of package sox for openSUSE:Factory checked in at Thu Apr 21 13:44:43 CEST 2011. --- sox/sox.changes 2010-09-21 05:32:13.0 +0200 +++ /mounts/work_src_done/STABLE/sox/sox.changes2011-03-01 15:16:36.0 +0100 @@ -1,0 +2,16 @@ +Tue Mar 1 14:13:15 UTC 2011 - reddw...@opensuse.org + +- Update to version 14.3.2 + o Seek support for MP3 files. + o Fix WavPack header bugs. + o Fix length error in 24-bit RIFF files. + o Add default channel mapping to 24-bit RIFF files. + o Fix ffmpeg crashes on some CPU's. + o Read wider range of WAV files with chunks embedded. + o Fix incorrect MP3 length determination with some VBR files with initial silence. + o Enable LADSPA support by default on all platforms if libltdl exists. + o Allow now legend on spectrogram. + o Fix -w option on stat effect. + o Support specifying absolute end position instead of offset from beginning of trim operation. + +--- calling whatdependson for head-i586 Old: sox-14.3.1.tar.bz2 New: _service _service:download_url:sox-14.3.2.tar.bz2 _service:set_version:sox.spec Other differences: -- ++ _service:set_version:sox.spec ++ # # spec file for package sox # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # 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/ # %bcond_with ffmpeg %bcond_with mad %bcond_with lame %bcond_with amrwb %bcond_with amrnb Name: sox BuildRequires: alsa-devel BuildRequires: file-devel BuildRequires: flac-devel BuildRequires: ladspa-devel BuildRequires: libao-devel BuildRequires: libgsm-devel BuildRequires: libid3tag-devel BuildRequires: libpng-devel BuildRequires: libpulse-devel BuildRequires: libsamplerate-devel BuildRequires: libsndfile-devel BuildRequires: libvorbis-devel BuildRequires: pkg-config BuildRequires: wavpack-devel %if %{with ffmpeg} BuildRequires: libffmpeg-devel %endif %if %{with mad} BuildRequires: libmad-devel %endif %if %{with lame} BuildRequires: libmp3lame-devel %endif %if %{with amrwb} BuildRequires: libamrwb-devel %endif %if %{with amrnb} BuildRequires: libamrnb-devel %endif Version:14.3.2 Release:1 License:LGPLv2.1+ ; GPLv2+ Summary:Sound Conversion Tools and Library Url:http://sox.sourceforge.net Group: Productivity/Multimedia/Sound/Editors and Convertors Source: %{name}-%{version}.tar.bz2 Source1:audioio.h # PATCH-FIX-OPENSUSE %{name}-no_buildstamp.patch reddw...@opensuse.org -- this patch removes the buildstamp Patch1: %{name}-no_buildstamp.patch # PATCH-FIX-UPSTREAM %{name}-14.3.1-undefined.patch sf#3072301 reddw...@opensuse.org -- fix undefined behavior problems as reported by post-build script Patch2: %{name}-14.3.1-undefined.patch # PATCH-FIX-UPSTREAM %{name}-14.3.1-aliasing.patch sf#3072320 reddw...@opensuse.org -- fix an aliasing problem as reported by post-build script Patch3: %{name}-14.3.1-aliasing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description SOX is intended to be the Swiss Army knife of sound processing tools. It does many things, it just does not do them all well. Sooner or later it will come in very handy. SOX is really only usable day-to-day if you hide the wacky options with one-line shell scripts. %package devel License:LGPLv2.1+ ; GPLv2+ Summary:Sound Conversion Tools and Library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: pkg-config %description devel SOX is intended to be the Swiss Army knife of sound processing tools. It does many things, it just does not do them all well. Sooner or later it will come in very handy. SOX is really only usable day-to-day if you hide the wacky options with one-line shell scripts. %prep %setup -q %patch1 %patch2 %patch3 %build # /dev/audio (OSS) support. If it ever breaks just remove it. if [ ! -f %{_includedir}/sun/audioio.h ]; then mkdir -p include/sun cp %{S:1} include/sun/audioio.h fi export CPPFLAGS=-I$PWD/include # %configure --disable-static make %{?_smp_mflags} %install %makeinstall rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/sox/*.la