diff --git a/diffstat-1.54.tar.bz2 b/diffstat-1.54.tar.bz2 deleted file mode 100644 index 68bfe04..0000000 --- a/diffstat-1.54.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0026aa7d704d99e8d5d749b121e54c920d3df405bfb1ab13c0e649522bee4b05 -size 181867 diff --git a/diffstat.changes b/diffstat.changes index 674f58c..ac04e59 100644 --- a/diffstat.changes +++ b/diffstat.changes @@ -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 diff --git a/diffstat-1.54.diff b/diffstat.diff similarity index 100% rename from diffstat-1.54.diff rename to diffstat.diff diff --git a/diffstat.spec b/diffstat.spec index 24f80d7..c960e97 100644 --- a/diffstat.spec +++ b/diffstat.spec @@ -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 - -%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) diff --git a/diffstat.tar.gz b/diffstat.tar.gz new file mode 100644 index 0000000..7be0a21 --- /dev/null +++ b/diffstat.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59a46c75a99f2c373a81880051adc43a17b71c55478691e702c61c13c6d61b55 +size 235836