From 6bd6a9c4e4d2245790c55293de4d8be32bbb5010 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sep 24 2008 14:57:00 +0000 Subject: - Moved 'make clean' to prep section and added comment about there being no upstream (bug #225706). --- diff --git a/dos2unix.spec b/dos2unix.spec index fc68624..46b0a31 100644 --- a/dos2unix.spec +++ b/dos2unix.spec @@ -1,10 +1,13 @@ Summary: Text file format converter Name: dos2unix Version: 3.1 -Release: 33%{?dist} +Release: 34%{?dist} Group: Applications/Text License: BSD + +# There is no upstream for this. Source: %{name}-%{version}.tar.bz2 + Patch0: %{name}-%{version}.patch Patch1: dos2unix-3.1-segfault.patch Patch2: dos2unix-3.1-safeconv.patch @@ -38,9 +41,9 @@ for I in *.[ch]; do sed -e 's,#endif.*,#endif,g' -e 's,#else.*,#else,g' $I > $I.new mv -f $I.new $I done +make clean %build -make clean make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \ %{?_smp_mflags} @@ -64,6 +67,10 @@ ln -s dos2unix.1 $RPM_BUILD_ROOT%{_mandir}/man1/mac2unix.1 rm -rf $RPM_BUILD_ROOT %changelog +* Wed Sep 24 2008 Tim Waugh 3.1-34 +- Moved 'make clean' to prep section and added comment about there + being no upstream (bug #225706). + * Mon Sep 8 2008 Tim Waugh 3.1-33 - Preserve file modes (bug #437465). - Fixed manpage grammar (bug #460731).