From 2728c71f97a3a72b691e252011a0741a22cd03c2 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Mon, 14 Apr 2014 16:32:08 -0400 Subject: [PATCH] %license not supported prior to fc19 --- graphviz.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphviz.spec.in b/graphviz.spec.in index 2fc60daa1..4a48a526b 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -161,6 +161,9 @@ BuildRequires: R-devel swig >= 1.3.33 perl-libs %define WEBP 1 BuildRequires: libwebp-devel %endif +%if %fedora >= 19 +%define SEPARATE_LICENSE 1 +%endif %if %fedora >= 22 %define _GO 1 BuildRequires: golang >= 1.2 gcc-go @@ -190,8 +193,10 @@ of graphs (as in nodes and edges, not as in bar-charts). %files %defattr(-,root,root,-) +%if 0%{?SEPARATE_LICENSE} %license COPYING -%doc AUTHORS ChangeLog NEWS README +%endif +%doc COPYING AUTHORS ChangeLog NEWS README %exclude %{_bindir}/dot_builtins %{_bindir}/acyclic %{_bindir}/bcomps -- 2.40.0