Compare commits
3 commits
rawhide
...
diffutils-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3833d561a | ||
|
|
2bf8e4203e | ||
|
|
09d740ccf3 |
2 changed files with 17 additions and 15 deletions
1
branch
Normal file
1
branch
Normal file
|
|
@ -0,0 +1 @@
|
|||
F-13
|
||||
|
|
@ -1,14 +1,10 @@
|
|||
Summary: A GNU collection of diff utilities
|
||||
Name: diffutils
|
||||
Version: 2.8.1
|
||||
Release: 25%{?dist}
|
||||
Release: 27%{?dist}
|
||||
Group: Applications/Text
|
||||
URL: http://www.gnu.org/software/diffutils/diffutils.html
|
||||
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.gz
|
||||
Source1: cmp.1
|
||||
Source2: diff.1
|
||||
Source3: diff3.1
|
||||
Source4: sdiff.1
|
||||
Patch0: diffutils-2.8.4-i18n.patch
|
||||
Patch1: diffutils-2.8.1-badc.patch
|
||||
Patch2: diffutils-sdiff.patch
|
||||
|
|
@ -33,9 +29,16 @@ Install diffutils if you need to compare text files.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
# Multibyte support.
|
||||
%patch0 -p1 -b .i18n
|
||||
|
||||
# Unintentional use of '|' instead of '||'.
|
||||
%patch1 -p1 -b .badc
|
||||
|
||||
# Fixed sdiff exit code handling (bug #152967).
|
||||
%patch2 -p1 -b .sdiff
|
||||
|
||||
# Fixed 'sdiff -E' (bug #484892).
|
||||
%patch3 -p1 -b .sdiff-E
|
||||
|
||||
%build
|
||||
|
|
@ -46,15 +49,6 @@ make PR_PROGRAM=%{_bindir}/pr
|
|||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
( cd $RPM_BUILD_ROOT
|
||||
gzip -9nf .%{_infodir}/diff*
|
||||
mkdir -p .%{_mandir}/man1
|
||||
for manpage in %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}
|
||||
do
|
||||
install -m 0644 ${manpage} .%{_mandir}/man1
|
||||
done
|
||||
)
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
%find_lang %{name}
|
||||
|
||||
|
|
@ -75,12 +69,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS README
|
||||
%doc COPYING NEWS README
|
||||
%{_bindir}/*
|
||||
%{_mandir}/*/*
|
||||
%{_infodir}/diff.info*gz
|
||||
|
||||
%changelog
|
||||
* Wed Mar 3 2010 Tim Waugh <twaugh@redhat.com> - 2.8.1-27
|
||||
- Added comments for all patches.
|
||||
|
||||
* Wed Mar 3 2010 Tim Waugh <twaugh@redhat.com> - 2.8.1-26
|
||||
- Use upstream man pages.
|
||||
- Ship COPYING file.
|
||||
|
||||
* Tue Aug 11 2009 Tim Waugh <twaugh@redhat.com> 2.8.1-25
|
||||
- Only try to install the info file if it exists so that package
|
||||
installation does not fail with --excludedocs (bug #515919).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue