diffstat/diffstat.spec
Petr Gajdos b5dc251800 - updated to 1.56:
+ add -K option which attempts to improve the annotation of "only"
    files by looking for a match in the resulting set of files and
    inferring whether the file was added or removed (request by Marc
    Haber).
  + add check of command-line options for valid numbers.
  + improve merging of patches for the same filename (report/testcase by
    Paul E McKenney).
  + document -d option in manpage.
  + document -b, -C, -s option in usage (patch by Tim Waugh, Red Hat
    #852770)
  + modify configure script as done for byacc in 2012/10/03, making the
    2.52-patches the prerequisite and adding support for --datarootdir
    option.
  + update config.guess, config.sub
  + add logic to handle SVN diffs when the pathnames contain spaces
    (patch by Stuart Prescott, Debian #675475).
  + fix typo in package/debian/control

OBS-URL: https://build.opensuse.org/package/show/devel:tools/diffstat?expand=0&rev=18
2013-02-13 07:45:42 +00:00

56 lines
1.5 KiB
RPMSpec

#
# spec file for package diffstat
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: diffstat
Version: 1.56
Release: 0
Url: http://dickey.his.com/diffstat/diffstat.html
Summary: Utility That Provides Statistics Based on the Output of diff
License: MIT
Group: Productivity/Text/Utilities
Source: ftp://invisible-island.net/diffstat/diffstat.tar.gz
Patch: %{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 -n diffstat
%setup -q
%patch
%build
export CFLAGS="$RPM_OPT_FLAGS -Wall"
%configure
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%check
make check
%files
%defattr(-,root,root)
%doc README CHANGES
%doc %{_mandir}/man?/*
%{_bindir}/*
%changelog