From 8ae053b4a06a9c24dc09c43cbf9f697ab126b87cc94a31bd40bbc4cfa2a7cbcf Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:10:08 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffstat?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + diffstat-1.43.diff | 59 ++++++++++++++++++++++++++++ diffstat-1.43.tar.bz2 | 3 ++ diffstat.changes | 58 +++++++++++++++++++++++++++ diffstat.spec | 91 +++++++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 235 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 diffstat-1.43.diff create mode 100644 diffstat-1.43.tar.bz2 create mode 100644 diffstat.changes create mode 100644 diffstat.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/diffstat-1.43.diff b/diffstat-1.43.diff new file mode 100644 index 0000000..c1b1391 --- /dev/null +++ b/diffstat-1.43.diff @@ -0,0 +1,59 @@ +--- config_h.in ++++ 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 +--- makefile.in ++++ makefile.in +@@ -8,6 +8,7 @@ + srcdir = @srcdir@ + VPATH = @srcdir@ + ++DEFS = @DEFS@ + CC = @CC@ + LINK = $(CC) + INSTALL = @INSTALL@ +@@ -15,7 +16,7 @@ + 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 @@ + 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 @@ + @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.43.tar.bz2 b/diffstat-1.43.tar.bz2 new file mode 100644 index 0000000..d35c4bb --- /dev/null +++ b/diffstat-1.43.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe2943c8feb493092f1ca858786b161749411e3095aa1a556d11c9dabbcacbcf +size 88470 diff --git a/diffstat.changes b/diffstat.changes new file mode 100644 index 0000000..f3e7bbe --- /dev/null +++ b/diffstat.changes @@ -0,0 +1,58 @@ +------------------------------------------------------------------- +Thu Jul 27 15:33:59 CEST 2006 - mjancar@suse.cz + +- update to 1.43 + * fix to avoid modifying data which is being used by tsearch() for + ordering the binary tree (report by Adrian Bunk). + * do not ignore pathnames in /tmp/, since some tools create usable + pathnames for both old/new files there (Debian #376086). + * correct ifdef for fgetc_unlocked(). + * updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and + CF_XOPEN_SOURCE + * add configure check for compress, gzip and bzip2 programs that may be + used to decompress files. + +------------------------------------------------------------------- +Wed Jan 25 21:35:30 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Jan 12 17:29:49 CET 2006 - mjancar@suse.cz + +- update to 1.41 + +------------------------------------------------------------------- +Mon Aug 1 17:28:22 CEST 2005 - mjancar@suse.cz + +- update to 1.39 + +------------------------------------------------------------------- +Thu Feb 24 16:35:51 CET 2005 - mjancar@suse.cz + +- update to 1.38 + +------------------------------------------------------------------- +Fri Feb 27 09:12:27 CET 2004 - mjancar@suse.cz + +- update to 1.34 + +------------------------------------------------------------------- +Thu Jul 24 16:25:14 CEST 2003 - mjancar@suse.cz + +- update to 1.33 + +------------------------------------------------------------------- +Fri Nov 23 15:29:09 CET 2001 - cihlar@suse.cz + +- update to version 1.29 + * add bzip2 (.bz2) suffix + * add check for diff from RCS archive where the + "diff" lines do not reference a filename +- added Url: + +------------------------------------------------------------------- +Thu Oct 19 10:32:40 CEST 2000 - cihlar@suse.cz + +- package created + diff --git a/diffstat.spec b/diffstat.spec new file mode 100644 index 0000000..19bd325 --- /dev/null +++ b/diffstat.spec @@ -0,0 +1,91 @@ +# +# spec file for package diffstat (Version 1.43) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: diffstat +Version: 1.43 +Release: 1 +Autoreqprov: on +Group: Productivity/Text/Utilities +License: distributable +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 +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 +%setup -q +%patch + +%build +%{suse_update_config -f} +CFLAGS="$RPM_OPT_FLAGS -Wall" \ + ./configure \ + --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --mandir=%{_mandir} +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README CHANGES +%doc %{_mandir}/man?/* +%{_bindir}/* + +%changelog -n diffstat +* Thu Jul 27 2006 - mjancar@suse.cz +- update to 1.43 + * fix to avoid modifying data which is being used by tsearch() for + ordering the binary tree (report by Adrian Bunk). + * do not ignore pathnames in /tmp/, since some tools create usable + pathnames for both old/new files there (Debian #376086). + * correct ifdef for fgetc_unlocked(). + * updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and + CF_XOPEN_SOURCE + * add configure check for compress, gzip and bzip2 programs that may be + used to decompress files. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Thu Jan 12 2006 - mjancar@suse.cz +- update to 1.41 +* Mon Aug 01 2005 - mjancar@suse.cz +- update to 1.39 +* Thu Feb 24 2005 - mjancar@suse.cz +- update to 1.38 +* Fri Feb 27 2004 - mjancar@suse.cz +- update to 1.34 +* Thu Jul 24 2003 - mjancar@suse.cz +- update to 1.33 +* Fri Nov 23 2001 - cihlar@suse.cz +- update to version 1.29 + * add bzip2 (.bz2) suffix + * add check for diff from RCS archive where the + "diff" lines do not reference a filename +- added Url: +* Thu Oct 19 2000 - cihlar@suse.cz +- package created diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4