Package init

This commit is contained in:
overweight 2019-09-30 10:36:56 -04:00
commit 2db75eb761
2 changed files with 62 additions and 0 deletions

BIN
diffstat-1.62.tgz Normal file

Binary file not shown.

62
diffstat.spec Normal file
View File

@ -0,0 +1,62 @@
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