File diffstat.spec of Package diffstat

# 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

Name:           diffstat
Version:        1.63
Release:        0
Summary:        Utility That Provides Statistics Based on the Output of diff
License:        MIT
Group:          Productivity/Text/Utilities
Source2:        %{name}.keyring
Patch0:         %{name}.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

diffstat reads the output of the diff command and displays a histogram
of the insertions, deletions, and modifications in each file.

%setup -q

make %{?_smp_mflags} CFLAGS="%{optflags}"

make %{?_smp_mflags} DESTDIR=%{buildroot} install

make %{?_smp_mflags} check


openSUSE Build Service is sponsored by