rpms/soundtouch/devel soundtouch.spec,1.2,1.3
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Wed Aug 2 05:39:04 UTC 2006
Author: jwrdegoede
Update of /cvs/extras/rpms/soundtouch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24125
Modified Files:
soundtouch.spec
Log Message:
* Wed Aug 2 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.3.1-5
- Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom
upstream CFLAGS.
Index: soundtouch.spec
===================================================================
RCS file: /cvs/extras/rpms/soundtouch/devel/soundtouch.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- soundtouch.spec 2 Aug 2006 05:26:29 -0000 1.2
+++ soundtouch.spec 2 Aug 2006 05:39:04 -0000 1.3
@@ -38,7 +38,11 @@
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
source/SoundTouch/Makefile.in
# force use of our CFLAGS
+%ifarch %{ix86}
+sed -i 's|-O3 -msse|$(CFLAGS) -msse|' source/SoundTouch/Makefile.*
+%else
sed -i 's|-O3 -msse|$(CFLAGS)|' source/SoundTouch/Makefile.*
+%endif
sed -i 's|-O3|$(CFLAGS)|' source/example/*/Makefile.*
# cleanup a bit
chmod -x README.html
More information about the fedora-extras-commits
mailing list