Package init
This commit is contained in:
commit
2db75eb761
BIN
diffstat-1.62.tgz
Normal file
BIN
diffstat-1.62.tgz
Normal file
Binary file not shown.
62
diffstat.spec
Normal file
62
diffstat.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user