From 6dcc157db11f2740fe5c6a049c6a4c9865b21186 Mon Sep 17 00:00:00 2001 From: "Richard M. Shaw" Date: Tue, 3 Nov 2015 08:38:53 -0600 Subject: [PATCH] Add one liner conditional to redirect %license to %doc for EPEL 6. --- openjpeg2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/openjpeg2.spec b/openjpeg2.spec index ca24d5c..1b66388 100644 --- a/openjpeg2.spec +++ b/openjpeg2.spec @@ -274,6 +274,7 @@ make test -C %{_target_platform} %files +%{!?_licensedir:%global license %doc} %license LICENSE %doc AUTHORS NEWS README THANKS %{_libdir}/libopenjp2.so.*