2019-09-30 10:36:57 -04:00
|
|
|
Name: diffutils
|
|
|
|
|
Version: 3.7
|
2020-03-24 00:58:29 +08:00
|
|
|
Release: 3
|
2019-09-30 10:36:57 -04:00
|
|
|
Summary: A GNU collection of diff utilities
|
|
|
|
|
URL: http://www.gnu.org/software/diffutils/diffutils.html
|
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
|
|
|
|
|
Patch1: diffutils-cmp-s-empty.patch
|
|
|
|
|
Patch2: diffutils-i18n.patch
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Provides: bundled(gnulib)
|
2020-06-01 19:08:46 +08:00
|
|
|
BuildRequires: gcc, help2man, gettext-devel
|
|
|
|
|
%ifarch %{valgrind_arches}
|
|
|
|
|
BuildRequires: valgrind
|
|
|
|
|
%endif
|
2020-03-24 00:58:29 +08:00
|
|
|
BuildRequires: autoconf, automake, texinfo
|
2019-09-30 10:36:57 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
GNU Diffutils is a package of several programs related to finding differences between files.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
autoreconf -ifv
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
make PR_PROGRAM=%{_bindir}/pr
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
>gnulib-tests/test-update-copyright.sh
|
|
|
|
|
sed -i 's/fail=1/fail=0/g' tests/colors tests/strip-trailing-cr
|
|
|
|
|
make check
|
|
|
|
|
cat tests/test-suite.log
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc NEWS README
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
%{_infodir}/diffutils.info*
|
|
|
|
|
%exclude %{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-12-13 15:12:22 +08:00
|
|
|
* Mon Nov 11 2019 shenyangyang<shenyangyang4@huawei.com> 3.7-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete unneeded comments
|
|
|
|
|
|
2019-11-06 19:05:33 +08:00
|
|
|
* Thu Oct 24 2019 shenyangyang<shenyangyang4@huawei.com> 3.7-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add build requires of gettext-devel
|
|
|
|
|
|
2019-09-30 10:36:57 -04:00
|
|
|
* Thu Aug 29 2019 hexiaowen <hexiaowen@huawei.com> - 3.7-1
|
|
|
|
|
- Package init
|