diffutils/diffutils.spec

71 lines
1.5 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:36:57 -04:00
Name: diffutils
Version: 3.7
Release: 4
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)
BuildRequires: gcc help2man valgrind gettext-devel
BuildRequires: autoconf automake gcc_secure 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
* Mon Mar 23 2020 yuxiangyang<yuxiangyang4@huawei.com> 3.7-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add BuildRequires:gcc_secure to fix src.rpm build error
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