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:
commit
781f1405fa
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0026aa7d704d99e8d5d749b121e54c920d3df405bfb1ab13c0e649522bee4b05
|
|
||||||
size 181867
|
|
@ -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
|
Tue Oct 12 07:10:26 UTC 2010 - pgajdos@novell.com
|
||||||
|
|
||||||
|
@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,49 +15,36 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: diffstat
|
Name: diffstat
|
||||||
Version: 1.54
|
Version: 1.55
|
||||||
Release: 1
|
Release: 0
|
||||||
AutoReqProv: on
|
|
||||||
Group: Productivity/Text/Utilities
|
|
||||||
License: MIT License (or similar)
|
|
||||||
Url: http://dickey.his.com/diffstat/diffstat.html
|
Url: http://dickey.his.com/diffstat/diffstat.html
|
||||||
Summary: Utility That Provides Statistics Based on the Output of diff
|
Summary: Utility That Provides Statistics Based on the Output of diff
|
||||||
Source: %{name}-%{version}.tar.bz2
|
License: MIT
|
||||||
Patch: %{name}-%{version}.diff
|
Group: Productivity/Text/Utilities
|
||||||
|
Source: ftp://invisible-island.net/diffstat/diffstat.tar.gz
|
||||||
|
Patch: %{name}.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
diffstat reads the output of the diff command and displays a histogram
|
diffstat reads the output of the diff command and displays a histogram
|
||||||
of the insertions, deletions, and modifications in each file.
|
of the insertions, deletions, and modifications in each file.
|
||||||
|
|
||||||
|
%prep -n diffstat
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Thomas E. Dickey <dickey@clark.net>
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f}
|
export CFLAGS="$RPM_OPT_FLAGS -Wall"
|
||||||
CFLAGS="$RPM_OPT_FLAGS -Wall" \
|
%configure
|
||||||
./configure \
|
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--bindir=%{_bindir} \
|
|
||||||
--mandir=%{_mandir}
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
%clean
|
%check
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
3
diffstat.tar.gz
Normal file
3
diffstat.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:59a46c75a99f2c373a81880051adc43a17b71c55478691e702c61c13c6d61b55
|
||||||
|
size 235836
|
Loading…
Reference in New Issue
Block a user