Blame SPECS/diffutils.spec

e5695f
Summary: A GNU collection of diff utilities
e5695f
Name: diffutils
e5695f
Version: 3.3
e5695f
Release: 5%{?dist}
e5695f
Group: Applications/Text
e5695f
URL: http://www.gnu.org/software/diffutils/diffutils.html
e5695f
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
e5695f
Patch1: diffutils-cmp-s-empty.patch
e5695f
Patch2: diffutils-mkdir_p.patch
e5695f
Patch4: diffutils-i18n.patch
e5695f
Patch5: diffutils-3.3-diffseq.patch
e5695f
License: GPLv3+
e5695f
Requires(post): info
e5695f
Requires(preun): info
e5695f
Provides: bundled(gnulib)
e5695f
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e5695f
BuildRequires: help2man
e5695f
e5695f
%description
e5695f
Diffutils includes four utilities: diff, cmp, diff3 and sdiff. Diff
e5695f
compares two files and shows the differences, line by line.  The cmp
e5695f
command shows the offset and line numbers where two files differ, or
e5695f
cmp can show the characters that differ between the two files.  The
e5695f
diff3 command shows the differences between three files.  Diff3 can be
e5695f
used when two people have made independent changes to a common
e5695f
original; diff3 can produce a merged file that contains both sets of
e5695f
changes and warnings about conflicts.  The sdiff command can be used
e5695f
to merge two files interactively.
e5695f
e5695f
Install diffutils if you need to compare text files.
e5695f
e5695f
%prep
e5695f
%setup -q
e5695f
# For 'cmp -s', compare file sizes only if both non-zero (bug #563618).
e5695f
%patch1 -p1 -b .cmp-s-empty
e5695f
e5695f
# Work around @mkdir_p@ build issue.
e5695f
%patch2 -p1 -b .mkdir_p
e5695f
e5695f
%patch4 -p1 -b .i18n
e5695f
e5695f
%patch5 -p1 -b .diffseq
e5695f
e5695f
%build
e5695f
%configure
e5695f
make PR_PROGRAM=%{_bindir}/pr
e5695f
e5695f
%install
e5695f
rm -rf $RPM_BUILD_ROOT
e5695f
make DESTDIR=$RPM_BUILD_ROOT install
e5695f
e5695f
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
e5695f
%find_lang %{name}
e5695f
e5695f
%check
e5695f
make check
e5695f
e5695f
%post
e5695f
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
e5695f
e5695f
%preun
e5695f
if [ $1 = 0 ]; then
e5695f
  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
e5695f
fi
e5695f
e5695f
%clean
e5695f
rm -rf $RPM_BUILD_ROOT
e5695f
e5695f
%files -f %{name}.lang
e5695f
%defattr(-,root,root)
e5695f
%doc COPYING NEWS README
e5695f
%{_bindir}/*
e5695f
%{_mandir}/*/*
e5695f
%{_infodir}/diffutils.info*gz
e5695f
e5695f
%changelog
e5695f
* Wed Nov 21 2018 Than Ngo <than@redhat.com> - 3.3-5
e5695f
- Resolves: #1611281, diff -y produces garbage
e5695f
e5695f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.3-4
e5695f
- Mass rebuild 2014-01-24
e5695f
e5695f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.3-3
e5695f
- Mass rebuild 2013-12-27
e5695f
e5695f
* Wed Oct 23 2013 Tim Waugh <twaugh@redhat.com> 3.3-2
e5695f
- Fixed multibyte handling logic for diff -Z (bug #1022417).
e5695f
e5695f
* Tue Mar 26 2013 Tim Waugh <twaugh@redhat.com> 3.3-1
e5695f
- 3.3 (bug #927560).
e5695f
e5695f
* Fri Feb 22 2013 Tim Waugh <twaugh@redhat.com> 3.2-13
e5695f
- Fixed i18n handling of 'diff -E' (bug #914666).
e5695f
e5695f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-12
e5695f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e5695f
e5695f
* Fri Oct 26 2012 Tim Waugh <twaugh@redhat.com> 3.2-11
e5695f
- Ported i18n patch and reinstated it (bug #870460).
e5695f
e5695f
* Wed Sep 19 2012 Tim Waugh <twaugh@redhat.com> 3.2-10
e5695f
- Fixed license as current source says GPLv3+.
e5695f
e5695f
* Mon Jul 23 2012 Tim Waugh <twaugh@redhat.com> 3.2-9
e5695f
- Fixed build failure.
e5695f
e5695f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-8
e5695f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e5695f
e5695f
* Mon May 21  2012 Tim Waugh <twaugh@redhat.com> 3.2-7
e5695f
- Provides bundled(gnulib) (bug #821751).
e5695f
e5695f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-6
e5695f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e5695f
e5695f
* Thu Dec  8 2011 Tim Waugh <twaugh@redhat.com> 3.2-5
e5695f
- Fix bug #747969 again.
e5695f
e5695f
* Tue Nov 29 2011 Tim Waugh <twaugh@redhat.com> 3.2-4
e5695f
- Real fix for bug #747969: the diffutils info file changed name in
e5695f
  3.1.  Updated the scriptlets to install/remove the correct filename
e5695f
  from the info directory.
e5695f
e5695f
* Fri Nov 25 2011 Tim Waugh <twaugh@redhat.com> 3.2-3
e5695f
- Fixed up reference to info page in man pages (bug #747969).
e5695f
e5695f
* Fri Nov 25 2011 Tim Waugh <twaugh@redhat.com> 3.2-2
e5695f
- Applied upstream gnulib fix for float test on ppc, as well as
e5695f
  correction for LDBL_MANT_DIG definition (bug #733536).
e5695f
e5695f
* Fri Sep  2 2011 Tim Waugh <twaugh@redhat.com> 3.2-1
e5695f
- 3.2.
e5695f
e5695f
* Thu Aug 11 2011 Tim Waugh <twaugh@redhat.com> 3.1-1
e5695f
- 3.1.
e5695f
e5695f
* Wed Apr 13 2011 Tim Waugh <twaugh@redhat.com> 3.0-1
e5695f
- 3.0 (bug #566482).
e5695f
- The i18n patch is dropped for the time being.
e5695f
e5695f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-30
e5695f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e5695f
e5695f
* Fri Jun 25 2010 Tim Waugh <twaugh@redhat.com> 2.8.1-29
e5695f
- For 'cmp -s', compare file sizes only if both non-zero (bug #563618).
e5695f
e5695f
* Wed Apr 21 2010 Tim Waugh <twaugh@redhat.com> - 2.8.1-28
e5695f
- Build requires help2man (bug #577325).  Fixes empty diff man page.
e5695f
e5695f
* Wed Mar  3 2010 Tim Waugh <twaugh@redhat.com> - 2.8.1-27
e5695f
- Added comments for all patches.
e5695f
e5695f
* Wed Mar  3 2010 Tim Waugh <twaugh@redhat.com> - 2.8.1-26
e5695f
- Use upstream man pages.
e5695f
- Ship COPYING file.
e5695f
e5695f
* Tue Aug 11 2009 Tim Waugh <twaugh@redhat.com> 2.8.1-25
e5695f
- Only try to install the info file if it exists so that package
e5695f
  installation does not fail with --excludedocs (bug #515919).
e5695f
e5695f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-24
e5695f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e5695f
e5695f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-23
e5695f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e5695f
e5695f
* Fri Feb 13 2009 Tim Waugh <twaugh@redhat.com> 2.8.1-22
e5695f
- Fixed 'sdiff -E' (bug #484892).
e5695f
e5695f
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 2.8.1-21
e5695f
- Rebuild for GCC 4.3.
e5695f
e5695f
* Wed Jan  2 2008 Tim Waugh <twaugh@redhat.com> 2.8.1-20
e5695f
- Converted spec file to UTF-8 (bug #225696).
e5695f
- Fixed summary (bug #225696).
e5695f
- Fixed PreReq (bug #225696).
e5695f
- Removed Prefix (bug #225696).
e5695f
- Fixed build root (bug #225696).
e5695f
- Avoid %%makeinstall (bug #225696).
e5695f
- Fixed license tag (bug #225696).
e5695f
e5695f
* Tue Nov  6 2007 Tim Waugh <twaugh@redhat.com> 2.8.1-19
e5695f
- Rebuilt.
e5695f
e5695f
* Tue Nov  6 2007 Tim Waugh <twaugh@redhat.com> 2.8.1-18
e5695f
- Fixed multibyte speed improvement patch (bug #363831).
e5695f
e5695f
* Tue Aug 14 2007 Tim Waugh <twaugh@redhat.com> 2.8.1-17
e5695f
- Multibyte speed improvement (bug #252117).
e5695f
e5695f
* Mon Jan 22 2007 Tim Waugh <twaugh@redhat.com> 2.8.1-16
e5695f
- Make scriptlet unconditionally succeed (bug #223683).
e5695f
e5695f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.8.1-15.2.2
e5695f
- rebuild
e5695f
e5695f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.8.1-15.2.1
e5695f
- bump again for double-long bug on ppc(64)
e5695f
e5695f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.8.1-15.2
e5695f
- rebuilt for new gcc4.1 snapshot and glibc changes
e5695f
e5695f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e5695f
- rebuilt
e5695f
e5695f
* Wed Apr  6 2005 Tim Waugh <twaugh@redhat.com> 2.8.1-15
e5695f
- Fixed sdiff exit code handling (bug #152967).
e5695f
e5695f
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 2.8.1-14
e5695f
- Rebuild for new GCC.
e5695f
e5695f
* Wed Feb  9 2005 Tim Waugh <twaugh@redhat.com> 2.8.1-13
e5695f
- Rebuilt.
e5695f
e5695f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
e5695f
- rebuilt
e5695f
e5695f
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
e5695f
- rebuilt
e5695f
e5695f
* Thu Jan  8 2004 Tim Waugh <twaugh@redhat.com> 2.8.1-10
e5695f
- Fix mistaken use of '|' instead of '||'.
e5695f
e5695f
* Sat Oct 25 2003 Tim Waugh <twaugh@redhat.com> 2.8.1-9
e5695f
- Rebuilt.
e5695f
e5695f
* Tue Jun 17 2003 Tim Waugh <twaugh@redhat.com> 2.8.1-8
e5695f
- Rebuilt.
e5695f
e5695f
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
e5695f
- rebuilt
e5695f
e5695f
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
e5695f
- rebuilt
e5695f
e5695f
* Tue Nov 19 2002 Tim Waugh <twaugh@redhat.com> 2.8.1-5
e5695f
- i18n patch.
e5695f
e5695f
* Tue Oct 22 2002 Tim Waugh <twaugh@redhat.com> 2.8.1-4
e5695f
- Ship translations.
e5695f
e5695f
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
e5695f
- automated rebuild
e5695f
e5695f
* Thu May 23 2002 Tim Powers <timp@redhat.com>
e5695f
- automated rebuild
e5695f
e5695f
* Mon Apr 22 2002 Tim Waugh <twaugh@redhat.com> 2.8.1-1
e5695f
- 2.8.1.
e5695f
- No longer need immunix-owl-tmp patch.
e5695f
e5695f
* Wed Feb 27 2002 Tim Waugh <twaugh@redhat.com> 2.7.2-5
e5695f
- Rebuild in new environment.
e5695f
e5695f
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
e5695f
- automated rebuild
e5695f
e5695f
* Fri Nov 02 2001 Tim Waugh <twaugh@redhat.com> 2.7.2-3
e5695f
- Make sure %%post scriplet doesn't fail if --excludedocs is used.
e5695f
e5695f
* Fri Jun 01 2001 Tim Waugh <twaugh@redhat.com> 2.7.2-2
e5695f
- Install diff.1, since it's no longer in man-pages.
e5695f
e5695f
* Fri Mar 30 2001 Tim Waugh <twaugh@redhat.com> 2.7.2-1
e5695f
- 2.7.2.
e5695f
e5695f
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
e5695f
- automatic rebuild
e5695f
e5695f
* Thu Jul 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
e5695f
- fix %%changelog entries (escape them)
e5695f
- update source location
e5695f
- remove manual stripping
e5695f
- add URL
e5695f
e5695f
* Tue Jun 06 2000 Than Ngo <than@redhat.de>
e5695f
- add %%defattr
e5695f
- use rpm macros
e5695f
e5695f
* Wed May 31 2000 Ngo Than <than@redhat.de>
e5695f
- put man pages and info files in correct place
e5695f
- cleanup specfile
e5695f
e5695f
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
e5695f
- rebuild to gzip man pages.
e5695f
e5695f
* Mon Apr 19 1999 Jeff Johnson <jbj@redhat.com>
e5695f
- man pages not in %%files.
e5695f
- but avoid conflict for diff.1
e5695f
e5695f
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
e5695f
- auto rebuild in the new build environment (release 14)
e5695f
e5695f
* Sun Mar 14 1999 Jeff Johnson <jbj@redhat.com>
e5695f
- add man pages (#831).
e5695f
- add %%configure and Prefix.
e5695f
e5695f
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
e5695f
- build for glibc 2.1
e5695f
e5695f
* Tue Jul 14 1998 Bill Kawakami <billk@home.com>
e5695f
- included the four man pages stolen from Slackware
e5695f
e5695f
* Tue May 05 1998 Prospector System <bugs@redhat.com>
e5695f
- translations modified for de, fr, tr
e5695f
e5695f
* Sun May 03 1998 Cristian Gafton <gafton@redhat.com>
e5695f
- fixed spec file to reference/use the $RPM_BUILD_ROOT always
e5695f
    
e5695f
* Wed Dec 31 1997 Otto Hammersmith <otto@redhat.com>
e5695f
- fixed where it looks for 'pr' (/usr/bin, rather than /bin)
e5695f
e5695f
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
e5695f
- added BuildRoot
e5695f
e5695f
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
e5695f
- uses install-info
e5695f
e5695f
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
e5695f
- built against glibc