From 4e7fdb97f255446f2826b541663e5704b7d894e7 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Jun 09 2008 20:13:11 +0000 Subject: - New upstream release - move install to Makefile/patch - ChangeLog is now CHANGES - Disable stripping in Makefile --- diff --git a/fatsort-0.9.8-no_stripping.patch b/fatsort-0.9.8-no_stripping.patch new file mode 100644 index 0000000..3b46b70 --- /dev/null +++ b/fatsort-0.9.8-no_stripping.patch @@ -0,0 +1,11 @@ +diff -up fatsort-0.9.8/src/Makefile.no_stripping fatsort-0.9.8/src/Makefile +--- fatsort-0.9.8/src/Makefile.no_stripping 2007-10-25 23:38:44.000000000 +0200 ++++ fatsort-0.9.8/src/Makefile 2008-06-09 22:03:55.000000000 +0200 +@@ -1,7 +1,6 @@ + CC=gcc + LD=gcc + CFLAGS += -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +-LDFLAGS += -s + + all: fatsort + diff --git a/fatsort.spec b/fatsort.spec index cd0e095..a66a89c 100644 --- a/fatsort.spec +++ b/fatsort.spec @@ -9,6 +9,7 @@ URL: http://%{name}.berlios.de/ Source0: http://download2.berlios.de/%{name}/%{name}-%{version}.tar.gz # 2008-06-09: sent to upstream Patch0: fatsort-0.9.8-install.patch +Patch1: fatsort-0.9.8-no_stripping.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -20,10 +21,11 @@ their name but by their entry in the file allocation table. %prep %setup -q -%patch -p1 -b .install +%patch0 -p1 -b .install +%patch1 -p1 -b .no_stripping %build -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} @@ -48,6 +50,7 @@ rm -rf $RPM_BUILD_ROOT - New upstream release - move install to Makefile/patch - ChangeLog is now CHANGES +- Disable stripping in Makefile * Wed Feb 20 2008 Fedora Release Engineering - 0.9.7.1-3 - Autorebuild for GCC 4.3