Accepting request 98716 from devel:tools

- updated to 1.55:
  * fixed [bnc#739210] -- on commercial license found in diffstat 
    1.54 (test files)
  * add -R option, like patch's, to reverse the order of the 
    comparison.
- switch on make check

- remove call to suse_update_config (very old work around)

- Remove redundant tags/sections from specfile
  (cf. packaging guidelines)
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/98716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffstat?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2012-01-06 10:43:29 +00:00 committed by Git OBS Bridge
commit 781f1405fa
5 changed files with 38 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0026aa7d704d99e8d5d749b121e54c920d3df405bfb1ab13c0e649522bee4b05
size 181867

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Jan 4 09:04:33 UTC 2012 - pgajdos@suse.com
- updated to 1.55:
* fixed [bnc#739210] -- on commercial license found in diffstat
1.54 (test files)
* add -R option, like patch's, to reverse the order of the
comparison.
- switch on make check
-------------------------------------------------------------------
Tue Dec 20 20:15:42 UTC 2011 - coolo@suse.com
- remove call to suse_update_config (very old work around)
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Tue Oct 12 07:10:26 UTC 2010 - pgajdos@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package diffstat (Version 1.54)
# spec file for package diffstat
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -15,49 +15,36 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: diffstat
Version: 1.54
Release: 1
AutoReqProv: on
Group: Productivity/Text/Utilities
License: MIT License (or similar)
Version: 1.55
Release: 0
Url: http://dickey.his.com/diffstat/diffstat.html
Summary: Utility That Provides Statistics Based on the Output of diff
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.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.
Authors:
--------
Thomas E. Dickey <dickey@clark.net>
%prep
%prep -n diffstat
%setup -q
%patch
%build
%{suse_update_config -f}
CFLAGS="$RPM_OPT_FLAGS -Wall" \
./configure \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--mandir=%{_mandir}
export CFLAGS="$RPM_OPT_FLAGS -Wall"
%configure
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%check
make check
%files
%defattr(-,root,root)

3
diffstat.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59a46c75a99f2c373a81880051adc43a17b71c55478691e702c61c13c6d61b55
size 235836