From cbbbedc51e686844833358f26411c4fbf8082e7bb7cccd2ee576a91ae494296b Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 24 Aug 2010 10:26:23 +0000 Subject: [PATCH 1/2] - updated to 1.53 (see CHANGES) OBS-URL: https://build.opensuse.org/package/show/devel:tools/diffstat?expand=0&rev=9 --- diffstat-1.51.diff | 78 ------------------------------------------- diffstat-1.51.tar.bz2 | 3 -- diffstat-1.53.diff | 37 ++++++++++++++++++++ diffstat-1.53.tar.bz2 | 3 ++ diffstat.changes | 5 +++ diffstat.spec | 2 +- 6 files changed, 46 insertions(+), 82 deletions(-) delete mode 100644 diffstat-1.51.diff delete mode 100644 diffstat-1.51.tar.bz2 create mode 100644 diffstat-1.53.diff create mode 100644 diffstat-1.53.tar.bz2 diff --git a/diffstat-1.51.diff b/diffstat-1.51.diff deleted file mode 100644 index 20c692c..0000000 --- a/diffstat-1.51.diff +++ /dev/null @@ -1,78 +0,0 @@ -Index: config_h.in -=================================================================== ---- config_h.in.orig -+++ config_h.in -@@ -5,4 +5,10 @@ - * config.h -- Kevin Buettner. - */ - --@DEFS@ -+#define HAVE_GETOPT_H 0 -+#define HAVE_MALLOC_H 0 -+#define HAVE_POPEN 0 -+#define HAVE_STDLIB_H 0 -+#define HAVE_STRING_H 0 -+#define HAVE_UNISTD_H 0 -+#define STDC_HEADERS 0 -Index: diffstat.c -=================================================================== ---- diffstat.c.orig -+++ diffstat.c -@@ -228,6 +228,10 @@ extern int optind; - #define BZIP2_PATH "" - #endif - -+#ifndef ZCAT_PATH -+#define ZCAT_PATH "" -+#endif -+ - #ifndef COMPRESS_PATH - #define COMPRESS_PATH "" - #endif -Index: makefile.in -=================================================================== ---- makefile.in.orig -+++ makefile.in -@@ -8,6 +8,7 @@ THIS = diffstat - srcdir = @srcdir@ - VPATH = @srcdir@ - -+DEFS = @DEFS@ - CC = @CC@ - LINK = $(CC) - INSTALL = @INSTALL@ -@@ -15,7 +16,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ - INSTALL_DATA = @INSTALL_DATA@ - - CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ --CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@ -+CPPFLAGS = -I. -I$(srcdir) $(DEFS) @CPPFLAGS@ - - LIBS = @LIBS@ - LDFLAGS = @LDFLAGS@ -@@ -27,8 +28,8 @@ DESTDIR = @DESTDIR@ - prefix = @prefix@ - exec_prefix = @exec_prefix@ - --bindir = $(DESTDIR)@bindir@ --mandir = $(DESTDIR)@mandir@ -+bindir = @bindir@ -+mandir = @mandir@ - - #### End of system configuration section. #### - -@@ -68,11 +69,11 @@ $(PROG) : diffstat$o - @ECHO_LD@$(LINK) $(LDFLAGS) -o $@ diffstat$o $(LIBS) - - install : all installdirs -- $(INSTALL_PROGRAM) $(PROG) $(bindir)/$(PROG) -- $(INSTALL_DATA) $(srcdir)/$(THIS).1 $(man1dir)/$(THIS).$(manext) -+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)/$(PROG) -+ $(INSTALL_DATA) $(srcdir)/$(THIS).1 $(DESTDIR)$(man1dir)/$(THIS).$(manext) - - installdirs : -- $(SHELL) ${srcdir}/mkdirs.sh $(bindir) $(libdir) $(man1dir) -+ $(SHELL) ${srcdir}/mkdirs.sh $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(man1dir) - - uninstall : - rm -f $(bindir)/$(PROG) $(man1dir)/$(THIS).$(manext) diff --git a/diffstat-1.51.tar.bz2 b/diffstat-1.51.tar.bz2 deleted file mode 100644 index b0bbe9b..0000000 --- a/diffstat-1.51.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:928aa4a25901cf2b57288c748c4a9a72e7a35c772e5619d96e433c8ad481e3a3 -size 177892 diff --git a/diffstat-1.53.diff b/diffstat-1.53.diff new file mode 100644 index 0000000..4449ff7 --- /dev/null +++ b/diffstat-1.53.diff @@ -0,0 +1,37 @@ +Index: config_h.in +=================================================================== +--- config_h.in.orig ++++ config_h.in +@@ -5,4 +5,10 @@ + * config.h -- Kevin Buettner. + */ + +-@DEFS@ ++#define HAVE_GETOPT_H 0 ++#define HAVE_MALLOC_H 0 ++#define HAVE_POPEN 0 ++#define HAVE_STDLIB_H 0 ++#define HAVE_STRING_H 0 ++#define HAVE_UNISTD_H 0 ++#define STDC_HEADERS 0 +Index: makefile.in +=================================================================== +--- makefile.in.orig ++++ makefile.in +@@ -15,6 +15,7 @@ exec_prefix = @exec_prefix@ + bindir = @bindir@ + mandir = @mandir@ + ++DEFS = @DEFS@ + CC = @CC@ + LINK = $(CC) + INSTALL = @INSTALL@ +@@ -26,7 +27,7 @@ CTAGS = @CTAGS@ + ETAGS = @ETAGS@ + + CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ +-CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@ ++CPPFLAGS = -I. -I$(srcdir) $(DEFS) @CPPFLAGS@ + + LIBS = @LIBS@ + LDFLAGS = @LDFLAGS@ diff --git a/diffstat-1.53.tar.bz2 b/diffstat-1.53.tar.bz2 new file mode 100644 index 0000000..8171432 --- /dev/null +++ b/diffstat-1.53.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ed4680f354664af9cf31c4dcced30afc40e932be09a4e9496771deb015e16d8 +size 181539 diff --git a/diffstat.changes b/diffstat.changes index 458381c..59f462d 100644 --- a/diffstat.changes +++ b/diffstat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 24 12:24:10 CEST 2010 - pgajdos@suse.cz + +- updated to 1.53 (see CHANGES) + ------------------------------------------------------------------- Wed Dec 9 00:22:05 CET 2009 - jengelh@medozas.de diff --git a/diffstat.spec b/diffstat.spec index 0fd40bd..df2d06f 100644 --- a/diffstat.spec +++ b/diffstat.spec @@ -19,7 +19,7 @@ Name: diffstat -Version: 1.51 +Version: 1.53 Release: 2 AutoReqProv: on Group: Productivity/Text/Utilities From a0edbd551a82498f931e47ad037b0414b27204a36768735141b94d8d049d3b30 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 27 Sep 2010 13:46:30 +0000 Subject: [PATCH 2/2] Accepting request 49167 from devel:tools checked in (request 49167) OBS-URL: https://build.opensuse.org/request/show/49167 OBS-URL: https://build.opensuse.org/package/show/devel:tools/diffstat?expand=0&rev=10 --- diffstat.spec | 4 ++-- ready | 0 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 ready diff --git a/diffstat.spec b/diffstat.spec index df2d06f..b16db26 100644 --- a/diffstat.spec +++ b/diffstat.spec @@ -1,5 +1,5 @@ # -# spec file for package diffstat (Version 1.51) +# spec file for package diffstat (Version 1.53) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,7 +20,7 @@ Name: diffstat Version: 1.53 -Release: 2 +Release: 1 AutoReqProv: on Group: Productivity/Text/Utilities License: MIT License (or similar) diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000