auto-import changelog data from dos2unix-3.1-15.src.rpm

Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
- Remove build dependency on perl, since perl BuildRequires: dos2unix, and
    there's no good reason not to just use sed here.
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Mon Oct 07 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
- All-arch rebuild
- Added BuildRequires: perl
This commit is contained in:
cvsdist 2004-09-09 04:19:41 +00:00
parent d2908fb3fa
commit a33606b2ce

View File

@ -1,7 +1,7 @@
Summary: Text file format converter
Name: dos2unix
Version: 3.1
Release: 12
Release: 15
Group: Applications/Text
License: Freely distributable
Source: %{name}-%{version}.tar.bz2
@ -16,7 +16,10 @@ Dos2unix converts DOS or MAC text files to UNIX format.
%setup -q
%patch0 -p1 -b .orig
%patch1 -p1 -b .segf
perl -pi -e 's,(#endif|#else)[^ ]*(.*),$1 /* $2 */,g' *.[ch]
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
%build
make clean
@ -43,6 +46,17 @@ install -m444 mac2unix.1 $RPM_BUILD_ROOT%{_mandir}/man1
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Feb 05 2003 Elliot Lee <sopwith@redhat.com> 3.1-15
- Remove build dependency on perl, since perl BuildRequires: dos2unix,
and there's no good reason not to just use sed here.
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Mon Oct 7 2002 Mike A. Harris <mharris@redhat.com> 3.1-13
- All-arch rebuild
- Added BuildRequires: perl
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild