Small improvements in spec file

This commit is contained in:
Sérgio M. Basto 2020-07-28 22:34:56 +01:00 committed by twaugh
parent bcec0ac2f3
commit 880893348c

View File

@ -8,10 +8,11 @@ Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.x
Obsoletes: interdiff <= 0.0.10
Provides: interdiff = 0.0.11
Requires: patch
BuildRequires: gcc
BuildRequires: gcc
BuildRequires: perl-generators
BuildRequires: xmlto
BuildRequires: automake, autoconf
BuildRequires: automake
BuildRequires: autoconf
%description
This is a collection of programs that can manipulate patch files in
@ -30,11 +31,12 @@ patches, and simply listing the files modified by a patch.
make check
%install
make DESTDIR=%{buildroot} install
%make_install
%files
%{!?_licensedir:%global license %doc}
%doc AUTHORS ChangeLog README BUGS NEWS
%doc AUTHORS ChangeLog README BUGS NEWS patchview/README.patchview
%license COPYING
%{_bindir}/*
%{_mandir}/*/*