rpms/swh-plugins/FC-5 swh-plugins-0.4.14-configure.patch, NONE, 1.1 swh-plugins.spec, 1.1, 1.2

Anthony Green (green) fedora-extras-commits at redhat.com
Mon Apr 24 15:41:16 UTC 2006


Author: green

Update of /cvs/extras/rpms/swh-plugins/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3155

Modified Files:
	swh-plugins.spec 
Added Files:
	swh-plugins-0.4.14-configure.patch 
Log Message:
Update to revision -3.  Add configure patch.


swh-plugins-0.4.14-configure.patch:

--- NEW FILE swh-plugins-0.4.14-configure.patch ---
--- configure~	2005-09-07 09:12:36.000000000 -0400
+++ configure	2006-04-24 11:20:26.000000000 -0400
@@ -23242,23 +23242,6 @@
 
 CFLAGS=$lrintf_save_CFLAGS -I at top_srcdir@/intl -I at top_srcdir@
 
-if  echo ${CFLAGS} | grep "\-march=" ; then
-  { echo "$as_me:$LINENO: WARNING: CFLAGS appears to allready contain architecture specifaction, using exiting one" >&5
-echo "$as_me: WARNING: CFLAGS appears to allready contain architecture specifaction, using exiting one" >&2;}
-else
-  { echo "$as_me:$LINENO: WARNING: Can't fine architecture specifaction in CFLAGS, picking one from build host CPU type" >&5
-echo "$as_me: WARNING: Can't fine architecture specifaction in CFLAGS, picking one from build host CPU type" >&2;}
-  { echo "$as_me:$LINENO: WARNING: May result in non-portable code" >&5
-echo "$as_me: WARNING: May result in non-portable code" >&2;}
-    MACHINE="-march=${build_cpu}"
-  if test ${build_cpu} = "powerpc"; then MACHINE=""; fi
-
-  CFLAGS="$CFLAGS -Wall -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE} ${DARWIN_CFLAGS}"
-
-
-    fi
-
-
 # Check whether --with-gnu-ld or --without-gnu-ld was given.
 if test "${with_gnu_ld+set}" = set; then
   withval="$with_gnu_ld"


Index: swh-plugins.spec
===================================================================
RCS file: /cvs/extras/rpms/swh-plugins/FC-5/swh-plugins.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- swh-plugins.spec	24 Apr 2006 14:48:16 -0000	1.1
+++ swh-plugins.spec	24 Apr 2006 15:41:16 -0000	1.2
@@ -1,10 +1,11 @@
 Summary:      A set of audio plugins for LADSPA
 Name:         swh-plugins
 Version:      0.4.14
-Release:      2%{?dist}
+Release:      3%{?dist}
 License:      GPL
 Group:        Applications/Multimedia
 Source:       http://plugin.org.uk/releases/0.4.14/swh-plugins-0.4.14.tar.gz
+Patch0:       swh-plugins-0.4.14-configure.patch
 URL:          http://plugin.org.uk/
 BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -16,9 +17,10 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %configure
+CFLAGS="$RPM_OPT_FLAGS" %configure --disable-static
 %{__make} %{?_smp_mflags} static
 
 %install
@@ -36,6 +38,9 @@
 %{_datadir}/ladspa/rdf/*
 
 %changelog
+* Mon Apr 24 2006 Anthony Green <green at redhat.com> 0.4.14-3
+- Add -configure patch.  Configure with --disable-static.
+
 * Mon Apr 24 2006 Anthony Green <green at redhat.com> 0.4.14-2
 - Fix Summary.
 - Don't install INSTALL or the empty NEWS file.




More information about the fedora-extras-commits mailing list