- Moved 'make clean' to prep section and added comment about there being no
upstream (bug #225706).
This commit is contained in:
parent
1271138cb8
commit
6bd6a9c4e4
@ -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 <twaugh@redhat.com> 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 <twaugh@redhat.com> 3.1-33
|
||||
- Preserve file modes (bug #437465).
|
||||
- Fixed manpage grammar (bug #460731).
|
||||
|
Loading…
Reference in New Issue
Block a user