Initialize for diffutils
This commit is contained in:
commit
1aa7c0edb4
6 changed files with 3713 additions and 0 deletions
1
.diffutils.metadata
Normal file
1
.diffutils.metadata
Normal file
|
@ -0,0 +1 @@
|
|||
c861927d3ea1185320022e3d25e03efb3a7d75cdebf9dd1de6a44cc80b9ca681 diffutils-3.6.tar.xz
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
diffutils-3.6.tar.xz
|
16
diffutils-3.6.tar.xz.sig
Normal file
16
diffutils-3.6.tar.xz.sig
Normal file
|
@ -0,0 +1,16 @@
|
|||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIcBAABCgAGBQJZIfmkAAoJEH/Z/MsAC+7uqLUP/0tj7JXPEO6WN2y76ssw23r5
|
||||
mrGy3rF8qiy1F8QoM4VymTRMFAdKFjq4oPd0iW5HicYnD8Mb8Vt0v6+TGXa4ysOz
|
||||
0gkr3qdnRLcRLVEXs2jnTSRyVPUnOPrECQkOgJPseTQI28TbccxCNC8LBwLAsb4H
|
||||
EKATndnfUPFxy1gntrRIc4O7e6IyjUYfikrzGgPLil4GFTQZMiJ5FJuFkCBoW6+C
|
||||
hNAWVOLuT/3mCm3AIzLSK7SbUMa2xa6hQ29d7VAtEP/dH3HRDzFEmsw9CVdo8iDE
|
||||
DVc1vetlUfs+2WoXSuDee7enTBhXJLyV2P1TxxpRU1nX24sLeqWPz8L548BguRnO
|
||||
yArz5AhZ3ep9nSaSfd+7iKmzxQK4+eO2a5a1OguDzHNDjV1tvqr61A9o7wBWljJU
|
||||
Wb/aEGkyn3pqQCbA+Ia3SJoXLbIC8i9ASJ1/XaADRplMuq6BOz7ivgNBkP2Opxvh
|
||||
lISoLbwrR+FJHyJusx2KIHbJsoei6IWj57EaR993ZylTLNnWk5oBAU5X3h4cIVec
|
||||
mTMxJ0j1lojXEtQBskQ3q8Q8ZXwLWBhDYz2smBQasnvaibNJmsx/WYNTFo5v8jIE
|
||||
YyvjkQ2SYULnmC/Evzz+nX1EW7hXFLilXeU73mcHlUKl59qwEZ9QCMd4I3i795Wh
|
||||
udOMJR+url+hCgi3Wifv
|
||||
=IN0s
|
||||
-----END PGP SIGNATURE-----
|
211
diffutils.changes
Normal file
211
diffutils.changes
Normal file
|
@ -0,0 +1,211 @@
|
|||
* Wed Jul 1 2020 christian.voegl@suse.com
|
||||
- Add ppc64_disable_failing_test to disable a sporadically failing
|
||||
test for ppc64 and ppc64le builds (boo#1156913)
|
||||
* Thu Feb 22 2018 fvogt@suse.com
|
||||
- Use %%license (boo#1082318)
|
||||
* Mon May 22 2017 mpluskal@suse.com
|
||||
- Update to version 3.6:
|
||||
* When one file is a prefix of the other, cmp now appends the
|
||||
shorter file's size to the EOF diagnostic.
|
||||
* diff's default algorithm has been tweaked to deal better with
|
||||
larger files, reversing some of the changes made in
|
||||
diffutils-3.4.
|
||||
- Define packager and bug reporting url
|
||||
* Wed Feb 22 2017 mliska@suse.cz
|
||||
- Update to a pre-release version (3.5.15):
|
||||
* remove big-file-performance.patch and gnulib-diffseq.patch
|
||||
* comment signature source as the release is not officially signed yet
|
||||
* Wed Oct 26 2016 schwab@suse.de
|
||||
- gnulib-diffseq.patch, big-file-performance.patch: Avoid performance
|
||||
regression on big files (bsc#1004991)
|
||||
* Mon Aug 22 2016 astieger@suse.com
|
||||
- Diffutils 3.5:
|
||||
* diff3 no longer malfunctions due to use-after-free
|
||||
[bug introduced in 3.4]
|
||||
* diff --color no longer colorizes when TERM=dumb
|
||||
* Tue Aug 9 2016 mpluskal@suse.com
|
||||
- Update to version 3.4
|
||||
* diff accepts two new options --color and --palette to generate
|
||||
and configure colored output. --color takes an optional
|
||||
argument specifying when to colorize a line: --color=always,
|
||||
- -color=auto, --color=never. --palette is used to configure
|
||||
which colors are used.
|
||||
* many bugfixes
|
||||
- New -lang subpackage
|
||||
- Drop no longer needed gnulib-perl522.patch
|
||||
* Thu Feb 4 2016 mpluskal@suse.com
|
||||
- Make building more verbose
|
||||
- Move info page removal to preun
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Update provides/obsoletes
|
||||
* Mon Jul 6 2015 coolo@suse.com
|
||||
- add gnulib-perl522.patch from gnulib upstream
|
||||
* Sat Jan 3 2015 meissner@suse.com
|
||||
- build with PIE
|
||||
* Fri Dec 6 2013 pth@suse.de
|
||||
- Diffutils has a testsuite so run it.
|
||||
* Fri Jun 21 2013 meissner@suse.com
|
||||
- disable gpg key checking to avoid build cycles. will be
|
||||
done by source service
|
||||
* Fri Apr 5 2013 meissner@suse.com
|
||||
- add gpg key checking, keyring from savannah
|
||||
* Fri Apr 5 2013 jslaby@suse.com
|
||||
- Update to 3.3:
|
||||
* add --no-dereference
|
||||
* -N works with - (stdin) as input
|
||||
* many fixes
|
||||
* many cleanups (in docco too)
|
||||
- remove: config-guess-sub-update.patch
|
||||
- remove: diffutils-stdio.in.patch
|
||||
* Mon Mar 25 2013 mmeister@suse.com
|
||||
- Added url as source.
|
||||
Please see http://en.opensuse.org/SourceUrls
|
||||
* Sat Feb 2 2013 schwab@suse.de
|
||||
- Update config.guess/sub for aarch64
|
||||
* Tue Jul 17 2012 aj@suse.de
|
||||
- Fix build with missing gets declaration (glibc 2.16)
|
||||
* Mon Feb 27 2012 jslaby@suse.de
|
||||
- Update to 3.2:
|
||||
* diff: --ignore-file-name-case now applies at top level too
|
||||
* diff, sdiff: new option --ignore-trailing-space
|
||||
* maint: avoid new "make sytnax-check" failure
|
||||
* Sun Sep 18 2011 jengelh@medozas.de
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
* Sat Aug 13 2011 pth@suse.de
|
||||
- Update to 3.1:
|
||||
+ Bug fixes
|
||||
- diff no longer reports spurious differences merely because two
|
||||
entries in the same directory have names that compare equal in
|
||||
the current locale, or compare equal because --ignore-file-name-case
|
||||
was given.
|
||||
* Sun Sep 19 2010 vuntz@opensuse.org
|
||||
- Update to version 3.0:
|
||||
+ Bug fixes
|
||||
- diff once again prints the required "\ No newline at end of
|
||||
file" line when at least one input lacks a newline-at-EOF and
|
||||
the final hunk plus context-length aligns exactly with the end
|
||||
of the newline-lacking file.
|
||||
[bug introduced between 2.8.7 and 2.9]
|
||||
+ Changes in behavior
|
||||
- In context-style diffs, diff prints a portion of a preceding
|
||||
"function" line for each hunk, with --show-function-line=RE
|
||||
(-F) or --show-c-function (-p). Now, it trims leading blanks
|
||||
from such lines before extracting a prefix. This is useful
|
||||
especially when a function line is so far indented that the
|
||||
name itself would be truncated or not included in the
|
||||
limited-width substring that diff appends.
|
||||
- diff once again reports a difference with the diagnostic
|
||||
"Binary files A and B differ" when at least one of the files
|
||||
appears to be binary. From 2.8.4 through diffutils-2.9, it
|
||||
printed "Files A and B differ".
|
||||
- Changes from version 2.9:
|
||||
+ New features
|
||||
- New diff option --suppress-blank-empty.
|
||||
- Bring back support for `diff -NUM', where NUM is a number,
|
||||
even when conforming to POSIX 1003.1-2001. This change
|
||||
reverts to the behavior of GNU diff 2.7 and earlier. This is
|
||||
a change only when conforming to POSIX 1003.1-2001; there is
|
||||
no effect when conforming to older POSIX versions.
|
||||
- sdiff now understands '1' and '2' as synonyms for 'l' and
|
||||
'r'.
|
||||
+ Changes in behavior
|
||||
- sdiff and diff3 now invoke diff, not $(bindir)/diff
|
||||
+ Administrivia
|
||||
- updated gnulib support
|
||||
- Drop diffutils-no_binary_mode.patch: fixed upstream.
|
||||
- Drop diffutils-2.8.1-i18n-0.2.patch: this doesn't apply anymore,
|
||||
the only reference I can guess about it goes back to 2004, and
|
||||
commit 8983b8d9 upstream is about handling multibyte characters
|
||||
in side-by-side format. So I'm assuming it's fixed. This also
|
||||
means we can drop the call to autoreconf.
|
||||
- Drop diffutils-2.8.7-autoconf.patch: this is not needed anymore.
|
||||
- Remove AutoReqProv: it's default now.
|
||||
- Stop touching the main pages in %%build.
|
||||
- Use %%configure and %%makeinstall macros.
|
||||
* Fri Aug 20 2010 pth@novell.com
|
||||
- Only do freopen if O_BINARY is true.
|
||||
* Mon Jun 28 2010 jengelh@medozas.de
|
||||
- use %%_smp_mflags
|
||||
* Sat Feb 13 2010 rguenther@suse.de
|
||||
- fix stack limit autoconf check
|
||||
* Mon Dec 7 2009 jengelh@medozas.de
|
||||
- enable parallel building
|
||||
* Thu Jan 10 2008 schwab@suse.de
|
||||
- Update to head of trunk.
|
||||
* New diff option --suppress-blank-empty.
|
||||
* Bring back support for `diff -NUM', where NUM is a number,
|
||||
even when conforming to POSIX 1003.1-2001. This change reverts to
|
||||
the behavior of GNU diff 2.7 and earlier. This is a change only
|
||||
when conforming to POSIX 1003.1-2001; there is no effect when
|
||||
conforming to older POSIX versions.
|
||||
This change is in response to decisions taken in the January 2005
|
||||
Austin Group standardization meeting. For more details, please see
|
||||
"Utility Syntax Guidelines" in the Minutes of the January 2005
|
||||
Meeting <http://www.opengroup.org/austin/docs/austin_239.html>.
|
||||
* sdiff now understands '1' and '2' as synonyms for 'l' and 'r'.
|
||||
* Mon Nov 27 2006 rguenther@suse.de
|
||||
- removed help2man BuildRequires again. Instead prevent patches
|
||||
from invalidating the shipped manpages.
|
||||
* Thu Oct 5 2006 mjancar@suse.cz
|
||||
- readd help2man to BuildRequires (needed to build manpages)
|
||||
* Fri Aug 11 2006 schwab@suse.de
|
||||
- Update cmp patch [#198332].
|
||||
* Mon Jul 24 2006 rguenther@suse.de
|
||||
- diffutils does not need help2man.
|
||||
* Fri Mar 10 2006 schwab@suse.de
|
||||
- Fix output of EOF message when stdout is redirected to /dev/null.
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Sep 15 2004 schwab@suse.de
|
||||
- Readd mbrtowc check [#45308].
|
||||
* Tue May 4 2004 schwab@suse.de
|
||||
- Update to diffutils 2.8.7.
|
||||
* Tue Apr 13 2004 schwab@suse.de
|
||||
- Update to diffutils 2.8.6.
|
||||
* Sat Jan 10 2004 adrian@suse.de
|
||||
- build as user
|
||||
* Wed Oct 15 2003 schwab@suse.de
|
||||
- Update to diffutils 2.8.4.
|
||||
* Mon May 12 2003 schwab@suse.de
|
||||
- Add %%defattr.
|
||||
* Thu Apr 24 2003 ro@suse.de
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
* Mon Apr 7 2003 schwab@suse.de
|
||||
- Only delete info entries when removing last version.
|
||||
* Thu Feb 6 2003 schwab@suse.de
|
||||
- Use %%install_info.
|
||||
* Thu Sep 5 2002 schwab@suse.de
|
||||
- Avoid rebuilding manpage [#18930].
|
||||
* Tue Aug 20 2002 schwab@suse.de
|
||||
- Add i18n patches.
|
||||
* Mon Apr 8 2002 schwab@suse.de
|
||||
- Update to diffutils 2.8.1.
|
||||
* Documentation fixes.
|
||||
* Thu Mar 28 2002 schwab@suse.de
|
||||
- Update to diffutils 2.8.
|
||||
* Fri Oct 5 2001 schwab@suse.de
|
||||
- Update to diffutils 2.7.2.
|
||||
* Sat Jan 13 2001 schwab@suse.de
|
||||
- Fix last change to close resource leaks.
|
||||
* Sat Jan 13 2001 draht@suse.de
|
||||
- tmpfile security problem fixed using mkstemp().
|
||||
* Sun Dec 3 2000 schwab@suse.de
|
||||
- diff: Fix a corner case in handling of directories.
|
||||
- sdiff: Fix reading of split lines.
|
||||
* Tue Oct 24 2000 schwab@suse.de
|
||||
- Renamed from diff.
|
||||
* Fri Sep 8 2000 schwab@suse.de
|
||||
- Switch to BuildRoot.
|
||||
- Add group tag.
|
||||
- Use %%{_infodir}.
|
||||
* Tue Jan 18 2000 schwab@suse.de
|
||||
- /usr/info -> /usr/share/info
|
||||
* Mon Sep 13 1999 bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Wed Sep 8 1999 schwab@suse.de
|
||||
- specfile cleanup
|
||||
* Fri Dec 18 1998 ro@suse.de
|
||||
- dont use m486 on alpha :-)
|
||||
* Thu Jan 2 1997 florian@suse.de
|
||||
bug-fix for sdiff
|
3406
diffutils.keyring
Normal file
3406
diffutils.keyring
Normal file
File diff suppressed because it is too large
Load diff
78
diffutils.spec
Normal file
78
diffutils.spec
Normal file
|
@ -0,0 +1,78 @@
|
|||
#
|
||||
# spec file for package diffutils
|
||||
#
|
||||
# Copyright (c) 2022-2023 ZhuningOS
|
||||
#
|
||||
|
||||
|
||||
Name: diffutils
|
||||
Version: 3.6
|
||||
Release: 4.3.1
|
||||
Summary: GNU diff Utilities
|
||||
License: GFDL-1.2 and GPL-3.0+
|
||||
Group: Productivity/Text/Utilities
|
||||
Url: https://www.gnu.org/software/diffutils/
|
||||
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
||||
Source2: %{name}.keyring
|
||||
%ifarch ppc64le ppc64
|
||||
Patch0: ppc64_disable_failing_test.patch
|
||||
%endif
|
||||
BuildRequires: xz
|
||||
Requires(pre): %{install_info_prereq}
|
||||
Requires(preun): %{install_info_prereq}
|
||||
Recommends: %{name}-lang = %{version}
|
||||
Provides: diff = %{version}
|
||||
Obsoletes: diff < %{version}
|
||||
|
||||
%description
|
||||
The GNU diff utilities find differences between files. diff is used to
|
||||
make source code patches, for instance.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%ifarch ppc64le ppc64
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fPIE"
|
||||
export LDFLAGS="-pie"
|
||||
%configure \
|
||||
--with-packager="openSUSE" \
|
||||
--with-packager-bug-reports="http://bugs.opensuse.org/"
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%find_lang %{name}
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README THANKS
|
||||
%{_bindir}/cmp
|
||||
%{_bindir}/diff
|
||||
%{_bindir}/diff3
|
||||
%{_bindir}/sdiff
|
||||
%{_infodir}/diffutils.info%{ext_info}
|
||||
%{_mandir}/man1/cmp.1%{ext_man}
|
||||
%{_mandir}/man1/diff.1%{ext_man}
|
||||
%{_mandir}/man1/diff3.1%{ext_man}
|
||||
%{_mandir}/man1/sdiff.1%{ext_man}
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%changelog
|
Loading…
Add table
Reference in a new issue