63 lines
1.0 KiB
RPMSpec
63 lines
1.0 KiB
RPMSpec
|
|
Name: diffstat
|
||
|
|
Version: 1.62
|
||
|
|
Release: 3
|
||
|
|
Summary: A utility which shows statistics from diff output
|
||
|
|
License: MIT
|
||
|
|
URL: http://invisible-island.net/diffstat
|
||
|
|
Source0: ftp://ftp.invisible-island.net/pub/diffstat/%{name}-%{version}.tgz
|
||
|
|
|
||
|
|
BuildRequires: gcc xz
|
||
|
|
|
||
|
|
%description
|
||
|
|
diffstat reads the output of diff and displays a histogram of the insertions,
|
||
|
|
deletions, and modifications per-file. It is useful for reviewing large,complex
|
||
|
|
patch files.
|
||
|
|
|
||
|
|
%package_help
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%configure
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
%make_install
|
||
|
|
|
||
|
|
%check
|
||
|
|
make check
|
||
|
|
|
||
|
|
%pre
|
||
|
|
|
||
|
|
%preun
|
||
|
|
|
||
|
|
%post
|
||
|
|
|
||
|
|
%postun
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc CHANGES README COPYING
|
||
|
|
%{_bindir}/diffstat
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/*/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 1.62-3
|
||
|
|
- Type:bugfix
|
||
|
|
- ID:NA
|
||
|
|
- SUG:NA
|
||
|
|
- DESC:add help package
|
||
|
|
|
||
|
|
* Thu Sep 26 2019 chengquan<chengquan3@huawei.com> - 1.62-2
|
||
|
|
- Type:bugfix
|
||
|
|
- ID:NA
|
||
|
|
- SUG:NA
|
||
|
|
- DESC:revise requires in openeuler
|
||
|
|
|
||
|
|
* Thu Aug 08 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.62-1
|
||
|
|
- Package init
|