rpms/elfinfo/F-9 elfinfo-1.1-build.patch, NONE, 1.1 elfinfo.spec, 1.1, 1.2 sources, 1.2, 1.3

Parag Ashok Nemade paragn at fedoraproject.org
Fri Dec 5 16:34:03 UTC 2008


Author: paragn

Update of /cvs/pkgs/rpms/elfinfo/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13772

Modified Files:
	elfinfo.spec sources 
Added Files:
	elfinfo-1.1-build.patch 
Log Message:

* Wed Dec 03 2008 Parag Nemade <panemade at gmail.com>- 1.1-4
- update to next upstream release 1.1



elfinfo-1.1-build.patch:

--- NEW FILE elfinfo-1.1-build.patch ---
diff -Nur elfinfo-1.1-orig/Makefile elfinfo-1.1/Makefile
--- elfinfo-1.1-orig/Makefile	2008-12-03 07:50:47.000000000 +0100
+++ elfinfo-1.1/Makefile	2008-12-03 11:15:55.000000000 +0100
@@ -18,10 +18,10 @@
 
 
 $(PROGRAM): $(PROGRAM).o
-	@gcc -o $(PROGRAM) $(PROGRAM).o
+	gcc -o $(PROGRAM) $(PROGRAM).o
 
 $(PROGRAM).o: $(SOURCE)
-	@gcc $(CFLAGS) -o $(PROGRAM).o $(SOURCE)		\
+	gcc $(CFLAGS) -c $(SOURCE)		\
 	 -D "DOCDIR=\"$(DOCDIR)\""
 
 


Index: elfinfo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/elfinfo/F-9/elfinfo.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- elfinfo.spec	30 Sep 2008 06:25:13 -0000	1.1
+++ elfinfo.spec	5 Dec 2008 16:33:32 -0000	1.2
@@ -1,27 +1,29 @@
 Name:           elfinfo
-Version:        1.0
-Release:        1%{?dist}
+Version:        1.1
+Release:        4%{?dist}
 Summary:        ELF file parser a subset of eu-readelf
 Group:          Development/Tools
 License:        GPLv2
 URL:            http://code.google.com/p/elfinfo/
 Source0:        http://elfinfo.googlecode.com/files/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:         elfinfo-1.1-build.patch
 
 %description
 This Tool is essentially a subset of eu-readelf functionality.
 This package can work without libelf.
 
 %prep
-%setup -q
+%setup -q -c
+%patch0 -p1 -b .build
 
 %build
-make CFALGS="$RPM_OPT_FLAGS" %{?_smp_mflags} 
+make CFLAGS="${RPM_OPT_FLAGS}" %{?_smp_mflags} 
 
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}/%{_bindir}
-make install DESTDIR=%{buildroot} INSTALL="install -p" PREFIX=/usr DOCDIR=%{_docdir}/%{name}-%{version}
+make install DESTDIR=%{buildroot} INSTALL="install -p" PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version}
 
 %clean
 rm -rf %{buildroot}
@@ -33,6 +35,14 @@
 
 
 %changelog
+* Wed Dec 03 2008 Parag Nemade <panemade at gmail.com>- 1.1-4
+- Add patches from "Michael Schwendt" to fix CFLAGS and Makefile
+* Wed Dec 03 2008 Parag Nemade <panemade at gmail.com>- 1.1-3
+- Remove CFLAGS as its faling to build
+* Wed Dec 03 2008 Parag Nemade <panemade at gmail.com>- 1.1-2
+- bump release
+* Wed Dec 03 2008 Parag Nemade <panemade at gmail.com>- 1.1-1
+- Update to upstream version 1.1 
 * Tue Sep 29 2008 Ashok Das <ashok.s.das at gmail.com>- 1.0-1
-- Initial specfile for Fedora 
+- Initial specfile for Fedora
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/elfinfo/F-9/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	30 Sep 2008 06:25:13 -0000	1.2
+++ sources	5 Dec 2008 16:33:32 -0000	1.3
@@ -1 +1 @@
-6803ca2a6166dcfd205b99c0ee7ec3a2  elfinfo-1.0.tar.gz
+d3eba2d9bd205379be92d4c244bef649  elfinfo-1.1.tar.gz




More information about the fedora-extras-commits mailing list