- 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
This commit is contained in:
Tim Waugh 2007-02-06 16:40:28 +00:00
parent b232e9929e
commit 956121ad6e

View File

@ -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 <twaugh@redhat.com> 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 <jkeating@redhat.com> - 3.1-27.1
- rebuild
@ -150,6 +157,6 @@ rm -rf $RPM_BUILD_ROOT
- built for 7.1
* Tue Jul 07 1999 Peter Soos <sp@osb.hu>
- 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