rpms/nec2c/devel nec2c-Makefile.patch,NONE,1.1 nec2c.spec,1.3,1.4

Jef Spaleta (jspaleta) fedora-extras-commits at redhat.com
Tue Jul 1 19:50:05 UTC 2008


Author: jspaleta

Update of /cvs/pkgs/rpms/nec2c/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30985

Modified Files:
	nec2c.spec 
Added Files:
	nec2c-Makefile.patch 
Log Message:
* Tue Jul 1 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.7-2
- Patch for ppc build


nec2c-Makefile.patch:

--- NEW FILE nec2c-Makefile.patch ---
--- Makefile	2008-03-18 07:56:11.000000000 -0800
+++ Makefile.new	2008-07-01 11:39:24.000000000 -0800
@@ -3,7 +3,6 @@
 SHELL = /bin/sh
 PROJECT = nec2c
 BINDIR  = /usr/local/bin
-CC = gcc -Wall -O2 -march=native
 
 objects = calculations.o fields.o geometry.o ground.o input.o \
 	  main.o matrix.o misc.o network.o radiation.o somnec.o


Index: nec2c.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nec2c/devel/nec2c.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- nec2c.spec	1 Jul 2008 19:18:56 -0000	1.3
+++ nec2c.spec	1 Jul 2008 19:49:18 -0000	1.4
@@ -1,12 +1,13 @@
 Name:           nec2c
 Version:        0.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Translation of NEC2 antenna modeling tool from FORTRAN to C
 
 Group:          Applications/Communications
 License:        Public Domain
 URL:            http://5b4az.chronos.org.uk/pages/nec2.html
 Source0:        http://5b4az.chronos.org.uk/pkg/nec2/nec2c/%{name}-%{version}.tar.gz
+Patch0:         nec2c-Makefile.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 #BuildRequires:  
@@ -22,7 +23,7 @@
 
 %prep
 %setup -q -n %{name}
-
+%patch -p0
 
 %build
 make CFLAGS="%{optflags}" %{?_smp_mflags}
@@ -46,6 +47,9 @@
 
 
 %changelog
+* Tue Jul 1 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.7-2
+- Patch for ppc build
+
 * Tue Jul 1 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.7-1
 - new release 
 




More information about the scm-commits mailing list