rpms/phasex/devel phasex-0.11.1-cflags.patch, NONE, 1.1 phasex.spec, 1.4, 1.5

Ville Skyttä scop at fedoraproject.org
Tue Jun 9 18:33:36 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/phasex/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10704

Modified Files:
	phasex.spec 
Added Files:
	phasex-0.11.1-cflags.patch 
Log Message:
* Sat May  9 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-7
- Build with $RPM_OPT_FLAGS (#499914).
- Disable autotools dependency tracking during build for cleaner build logs
  and possible slight build speedup.


phasex-0.11.1-cflags.patch:

--- NEW FILE phasex-0.11.1-cflags.patch ---
diff -up phasex-0.11.1/configure~ phasex-0.11.1/configure
--- phasex-0.11.1/configure~	2007-08-14 06:18:08.000000000 +0300
+++ phasex-0.11.1/configure	2009-05-09 00:10:26.000000000 +0300
@@ -7700,16 +7700,13 @@ esac
 # copy debug flags
 C_DEBUG_FLAGS="$debug_flags"
 
-# Remove optimization level flag so we can add our own
-CFLAGS=`echo "$CFLAGS" | perl -e "s/-O0-9? //g"`
-
 # These seem to work very well
 OPT_FLAGS="$ARCH_OPT_FLAGS $C_DEBUG_FLAGS -O3 -ffast-math -fomit-frame-pointer -fstrength-reduce"
 
 # These seem to not make much difference or even slow things down, but YMMV
 #OPT_FLAGS="$OPT_FLAGS -fforce-addr -funroll-loops -floop-optimize2 -fmove-loop-invariants -fprefetch-loop-arrays -fpeel-loops"
 
-CFLAGS="$OPT_FLAGS -D_REENTRANT $JACK_CFLAGS $GTK_CFLAGS $CFLAGS"
+CFLAGS="-D_REENTRANT $JACK_CFLAGS $GTK_CFLAGS $CFLAGS"
 LIBS="$ALSA_LIBS $JACK_LIBS $GLIB_LIBS $GTK_LIBS $LIBS"
 
 


Index: phasex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/phasex/devel/phasex.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- phasex.spec	26 Feb 2009 20:20:28 -0000	1.4
+++ phasex.spec	9 Jun 2009 18:33:06 -0000	1.5
@@ -2,13 +2,14 @@
 
 Name:  phasex
 Version: 0.11.1
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: PHASEX -- Phase Harmonic Advanced Synthesis EXperiment
 Group:  Applications/Multimedia
 License: GPLv2
 URL:  http://sysex.net/phasex/
 
 Source0: http://sysex.net/phasex/%{name}-%{version}.tar.gz
+Patch0: %{name}-0.11.1-cflags.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: glibc-devel >= 2.3.0
@@ -33,9 +34,10 @@ processing capabilities, and more.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure
+%configure --disable-dependency-tracking
 make %{?_smp_mflags}
 
 %install
@@ -92,6 +94,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/icons/hicolor/*/apps/phasex-icon.png
 
 %changelog
+* Sat May  9 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-7
+- Build with $RPM_OPT_FLAGS (#499914).
+- Disable autotools dependency tracking during build for cleaner build logs
+  and possible slight build speedup.
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list