From 956121ad6e9a41710fbe2397d421eb0c9c06b2ab Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Feb 06 2007 16:40:28 +0000 Subject: - Fixed build root (bug #225706). - Build with SMP flags (bug #225706). - Use dist in release tag (bug #225706). - Fixed macros in changelog (bug #225706). - Resolves: rhbz#225706 rhbz#225706 rhbz#225706 rhbz#225706 --- diff --git a/dos2unix.spec b/dos2unix.spec index eecf294..39ee45e 100644 --- a/dos2unix.spec +++ b/dos2unix.spec @@ -1,7 +1,7 @@ Summary: Text file format converter Name: dos2unix Version: 3.1 -Release: 27.1 +Release: 28%{?dist} Group: Applications/Text License: Freely distributable Source: %{name}-%{version}.tar.bz2 @@ -12,7 +12,7 @@ Patch3: dos2unix-3.1-manpage-update-57507.patch Patch4: dos2unix-3.1-preserve-file-modes.patch Patch5: dos2unix-3.1-tmppath.patch -Buildroot: %{_tmppath}/%{name}-%{version}-root +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Dos2unix converts DOS or MAC text files to UNIX format. @@ -33,7 +33,8 @@ done %build make clean -make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" +make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \ + %{?_smp_mflags} make link %install @@ -56,6 +57,12 @@ install -m444 mac2unix.1 $RPM_BUILD_ROOT%{_mandir}/man1 rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 6 2007 Tim Waugh 3.1-28 +- Fixed build root (bug #225706). +- Build with SMP flags (bug #225706). +- Use dist in release tag (bug #225706). +- Fixed macros in changelog (bug #225706). + * Wed Jul 12 2006 Jesse Keating - 3.1-27.1 - rebuild @@ -150,6 +157,6 @@ rm -rf $RPM_BUILD_ROOT - built for 7.1 * Tue Jul 07 1999 Peter Soos -- Added Hungarian "Summary:" and "%description" +- Added Hungarian "Summary:" and "%%description" - Corrected the file and directory attributes to rebuild the package under RedHat Linux 6.0