rpms/elfinfo/devel elfinfo-1.1-build.patch, NONE, 1.1 elfinfo.spec, 1.5, 1.6
Parag Nemade
pnemade at fedoraproject.org
Wed Dec 3 11:21:20 UTC 2008
- Previous message (by thread): rpms/perl-Satcon/devel import.log, NONE, 1.1 perl-Satcon.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Satcon/F-9 import.log, NONE, 1.1 perl-Satcon.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pnemade
Update of /cvs/pkgs/rpms/elfinfo/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21369
Modified Files:
elfinfo.spec
Added Files:
elfinfo-1.1-build.patch
Log Message:
* Wed Dec 03 2008 Parag Nemade <panemade at gmail.com>- 1.1-4
- Add patches from "Michael Schwendt" to fix CFLAGS and Makefile
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/devel/elfinfo.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- elfinfo.spec 3 Dec 2008 09:38:29 -0000 1.5
+++ elfinfo.spec 3 Dec 2008 11:20:50 -0000 1.6
@@ -1,12 +1,13 @@
Name: elfinfo
Version: 1.1
-Release: 3%{?dist}
+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.
@@ -14,14 +15,15 @@
%prep
%setup -q -c
+%patch0 -p1 -b .build
%build
-make %{?_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,8 @@
%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
- Previous message (by thread): rpms/perl-Satcon/devel import.log, NONE, 1.1 perl-Satcon.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Satcon/F-9 import.log, NONE, 1.1 perl-Satcon.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list