From 880893348c359196505530044e6069cf344dad1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Tue, 28 Jul 2020 22:34:56 +0100 Subject: [PATCH] Small improvements in spec file --- patchutils.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/patchutils.spec b/patchutils.spec index 8a66ada..70b5cbc 100644 --- a/patchutils.spec +++ b/patchutils.spec @@ -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}/*/*