Fixes suggested by upstream maintainer.

No longer requires ghostscript or groff.
Large file support taken care of upstream now.
This commit is contained in:
Tim Waugh 2011-05-20 12:13:51 +01:00
parent 63eaf7897d
commit 42d738a257

View File

@ -7,8 +7,6 @@ License: BSD
URL: http://www.xs4all.nl/~waterlan/dos2unix.html
Source: http://www.xs4all.nl/~waterlan/dos2unix/%{name}-%{version}.tar.gz
BuildRequires: gettext
BuildRequires: groff
BuildRequires: ghostscript
BuildRequires: perl
Provides: unix2dos = %{version}-%{release}
Obsoletes: unix2dos < 5.1-1
@ -21,8 +19,7 @@ vice versa.
%setup -q
%build
make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \
%{?_smp_mflags}
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
@ -46,6 +43,10 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri May 20 2011 Tim Waugh <twaugh@redhat.com> 5.3-2
- No longer requires ghostscript or groff.
- Large file support taken care of upstream now.
* Wed Apr 27 2011 Tim Waugh <twaugh@redhat.com> 5.3-1
- 5.3.