From c7d963e48541edf24518352b19830b477fae1fb7 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 2 Aug 2006 05:26:29 +0000 Subject: [PATCH] - Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom upstream CFLAGS. --- soundtouch.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/soundtouch.spec b/soundtouch.spec index 181c1d5..ec1337a 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,6 +1,6 @@ Name: soundtouch Version: 1.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates License: LGPL Group: System Environment/Libraries @@ -37,6 +37,9 @@ Libraries, include files, etc you can use to develop soundtouch applications. %define ltversion %(echo %{version} | tr '.' ':') sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \ source/SoundTouch/Makefile.in +# force use of our CFLAGS +sed -i 's|-O3 -msse|$(CFLAGS)|' source/SoundTouch/Makefile.* +sed -i 's|-O3|$(CFLAGS)|' source/example/*/Makefile.* # cleanup a bit chmod -x README.html sed -i 's|\r||' README.html COPYING.TXT @@ -94,6 +97,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Aug 2 2006 Hans de Goede 1.3.1-5 +- Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom + upstream CFLAGS. + * Mon Jul 31 2006 Hans de Goede 1.3.1-4 - Add Requires: pkgconfig to -devel subpackage - Replace installed autoheader generated header file with our own version