diffstat/diffstat.spec
Petr Gajdos 2f38b8452b - version update to 1.63
+ eliminate fixed buffer when decoding range.
  + use locale in computing filename column-width.
  + improve parsing for git diffs.
  + use terminal-width as default for -w to tty.
  + minor fix in do_merging (Miloslaw Smyk).
  + improve relative-pathname matching in count_lines()
  + add a parsing-case for svn diff.
  + quote filenames in -t/-T output.
  + fix cppcheck warnings about sscanf.
  + update configure macros
  + update config.guess, config.sub

OBS-URL: https://build.opensuse.org/package/show/devel:tools/diffstat?expand=0&rev=34
2019-12-19 13:13:13 +00:00

57 lines
1.7 KiB
RPMSpec

#
# spec file for package diffstat
#
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: diffstat
Version: 1.63
Release: 0
Summary: Utility That Provides Statistics Based on the Output of diff
License: MIT
Group: Productivity/Text/Utilities
URL: https://dickey.his.com/diffstat/diffstat.html
Source0: https://invisible-mirror.net/archives/diffstat/diffstat-%{version}.tgz
Source1: https://invisible-mirror.net/archives/diffstat/diffstat-%{version}.tgz.asc
Source2: %{name}.keyring
Patch0: %{name}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
diffstat reads the output of the diff command and displays a histogram
of the insertions, deletions, and modifications in each file.
%prep
%setup -q
%patch0
%build
%configure
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%check
make %{?_smp_mflags} check
%files
%defattr(-,root,root)
%doc README CHANGES COPYING
%{_bindir}/diffstat
%{_mandir}/man1/diffstat.1%{ext_man}
%changelog