- Fixed source0 (bug #225695).
- Added COPYING file, taken from diffstat.c. - Resolves: rhbz#225695
This commit is contained in:
parent
7c869c97b4
commit
086501d2ee
@ -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
|
||||
|
20
COPYING
Normal file
20
COPYING
Normal file
@ -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. *
|
||||
******************************************************************************/
|
@ -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 <twaugh@redhat.com> 1.43-3
|
||||
- Fixed source0 (bug #225695).
|
||||
- Added COPYING file, taken from diffstat.c.
|
||||
|
||||
* Tue Mar 6 2007 Tim Waugh <twaugh@redhat.com> 1.43-2
|
||||
- Fixed buildroot (bug #225695).
|
||||
- Build should not require gzip or bzip2 as these are exceptions (bug #225695).
|
||||
|
Loading…
Reference in New Issue
Block a user