Accepting request 83254 from home:jengelh:bl-d

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

OBS-URL: https://build.opensuse.org/request/show/83254
OBS-URL: https://build.opensuse.org/package/show/devel:tools/diffstat?expand=0&rev=13
This commit is contained in:
Greg Kroah-Hartman 2011-09-20 15:57:04 +00:00 committed by Git OBS Bridge
parent eb899062d3
commit a35aa464bf
5 changed files with 24 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ed4680f354664af9cf31c4dcced30afc40e932be09a4e9496771deb015e16d8
size 181539

3
diffstat-1.54.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
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
- updated to 1.54
+ correct counts used for new files when -S/-D options are used.
+ minor typography improvement to manpage (patch by Solaris Designer)
+ remove the temporary directory on error, introduced in 1.48+ (patch
by Solaris Designer).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 24 12:24:10 CEST 2010 - pgajdos@suse.cz Tue Aug 24 12:24:10 CEST 2010 - pgajdos@suse.cz

View File

@ -1,7 +1,7 @@
# #
# spec file for package diffstat (Version 1.53) # spec file for package diffstat
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 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,13 +15,11 @@
# 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.53 Version: 1.54
Release: 1 Release: 1
AutoReqProv: on
Group: Productivity/Text/Utilities Group: Productivity/Text/Utilities
License: MIT License (or similar) License: MIT License (or similar)
Url: http://dickey.his.com/diffstat/diffstat.html Url: http://dickey.his.com/diffstat/diffstat.html
@ -34,31 +32,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
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.
Authors:
--------
Thomas E. Dickey <dickey@clark.net>
%prep %prep
%setup -q %setup -q
%patch %patch
%build %build
%{suse_update_config -f} %{suse_update_config -f}
CFLAGS="$RPM_OPT_FLAGS -Wall" \ export 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
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README CHANGES %doc README CHANGES