From 086501d2ee5001549cfc61f03d7ee352276a96ce Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mar 06 2007 16:29:24 +0000 Subject: - Fixed source0 (bug #225695). - Added COPYING file, taken from diffstat.c. - Resolves: rhbz#225695 --- diff --git a/.cvsignore b/.cvsignore index 615a1dc..fad01fd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,3 +2,4 @@ diffstat-1.31.tar.gz diffstat-1.38.tgz diffstat-1.41.tgz diffstat-1.43.tar.gz +diffstat-1.43.tgz diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..084df10 --- /dev/null +++ b/COPYING @@ -0,0 +1,20 @@ +/****************************************************************************** + * Copyright 1994-2005,2006 by Thomas E. Dickey * + * All Rights Reserved. * + * * + * Permission to use, copy, modify, and distribute this software and its * + * documentation for any purpose and without fee is hereby granted, provided * + * that the above copyright notice appear in all copies and that both that * + * copyright notice and this permission notice appear in supporting * + * documentation, and that the name of the above listed copyright holder(s) * + * not be used in advertising or publicity pertaining to distribution of the * + * software without specific, written prior permission. * + * * + * THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD * + * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND * + * FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE * + * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR * + * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * + ******************************************************************************/ diff --git a/diffstat.spec b/diffstat.spec index b0190da..d709568 100644 --- a/diffstat.spec +++ b/diffstat.spec @@ -1,12 +1,13 @@ Summary: A utility which provides statistics based on the output of diff Name: diffstat Version: 1.43 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Tools License: distributable URL: http://invisible-island.net/diffstat # Note that the upstream tarball is unversioned, just %{name}.tar.gz -Source: ftp://invisible-island.net/diffstat/%{name}-%{version}.tar.gz +Source0: ftp://invisible-island.net/diffstat/%{name}-%{version}.tgz +Source1: COPYING BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -28,16 +29,22 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +cp %{SOURCE1} . %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) +%doc COPYING %{_bindir}/diffstat %{_mandir}/*/* %changelog +* Tue Mar 6 2007 Tim Waugh 1.43-3 +- Fixed source0 (bug #225695). +- Added COPYING file, taken from diffstat.c. + * Tue Mar 6 2007 Tim Waugh 1.43-2 - Fixed buildroot (bug #225695). - Build should not require gzip or bzip2 as these are exceptions (bug #225695). diff --git a/sources b/sources index e3c3f68..fad31fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c23f9af8075fd81e98a0afdc3df49de9 diffstat-1.43.tar.gz +c23f9af8075fd81e98a0afdc3df49de9 diffstat-1.43.tgz