rpms/fatsort/devel fatsort-0.9.8.2-CFLAGS.patch, NONE, 1.1 fatsort.spec, 1.16, 1.17

Till Maas (till) fedora-extras-commits at redhat.com
Sun Jul 6 23:10:14 UTC 2008


Author: till

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

Modified Files:
	fatsort.spec 
Added Files:
	fatsort-0.9.8.2-CFLAGS.patch 
Log Message:
* Mon Jul 07 2008 Till Maas <opensource at till.name> - 0.9.8.2-2
- Fix CFLAGS handling in the Makefile (Red Hat Bug #454212)


fatsort-0.9.8.2-CFLAGS.patch:

--- NEW FILE fatsort-0.9.8.2-CFLAGS.patch ---
diff -up fatsort-0.9.8.2/src/Makefile.CFLAGS fatsort-0.9.8.2/src/Makefile
--- fatsort-0.9.8.2/src/Makefile.CFLAGS	2008-06-11 18:39:38.000000000 +0200
+++ fatsort-0.9.8.2/src/Makefile	2008-07-07 00:54:49.000000000 +0200
@@ -1,7 +1,8 @@
 CC=gcc
 LD=gcc
-CFLAGS += -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-LDFLAGS = -s 
+CFLAGS= -g -Wall 
+override CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+LDFLAGS= -s 
 SBINDIR=/usr/local/sbin
 
 all: fatsort


Index: fatsort.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fatsort/devel/fatsort.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- fatsort.spec	11 Jun 2008 20:40:47 -0000	1.16
+++ fatsort.spec	6 Jul 2008 23:09:24 -0000	1.17
@@ -1,12 +1,13 @@
 Name:           fatsort
 Version:        0.9.8.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Fatsort sorts the FAT of FAT16 and FAT32 filesystems
 
 Group:          Applications/System
 License:        GPLv2+
 URL:            http://%{name}.berlios.de/
 Source0:        http://download2.berlios.de/%{name}/%{name}-%{version}.tar.gz
+Patch0:         fatsort-0.9.8.2-CFLAGS.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
@@ -18,6 +19,7 @@
 
 %prep
 %setup -q
+%patch -p1 -b .CFLAGS
 
 
 %build
@@ -41,6 +43,9 @@
 
 
 %changelog
+* Mon Jul 07 2008 Till Maas <opensource at till.name> - 0.9.8.2-2
+- Fix CFLAGS handling in the Makefile (Red Hat Bug #454212)
+
 * Wed Jun 11 2008 Till Maas <opensource till name> - 0.9.8.2-1
 - New upstream release
 




More information about the fedora-extras-commits mailing list