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

@ -11,7 +11,8 @@ Requires: patch
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}/*/*