From 2910dd3a3b0902869db6e2ee58fbe21b4e6e00a7 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sun, 17 Jan 2016 21:01:25 -0600 Subject: [PATCH] %%license hack for el6 --- qt5-qtbase.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index 03ca807..f39771a 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -578,7 +578,8 @@ fi %endif %files -%doc LICENSE.LGPL* LGPL_EXCEPTION.txt LICENSE.FDL +%{!?_licensedir:%global license %%doc} +%license LICENSE.LGPL* LGPL_EXCEPTION.txt LICENSE.FDL %if 0%{?qtchooser} %dir %{_sysconfdir}/xdg/qtchooser # not editable config files, so not using %%config here