From ce9c6ed39c89eabb15aec32337d8da2b2710a2eb Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 30 Jul 2014 12:54:08 -0400 Subject: [PATCH] fix license handling --- pinentry.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pinentry.spec b/pinentry.spec index 9c75c19..8b47078 100644 --- a/pinentry.spec +++ b/pinentry.spec @@ -1,7 +1,7 @@ Name: pinentry Version: 0.8.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Collection of simple PIN or passphrase entry dialogs # qt & qt4 subpackage have different license, see subpackage definitions @@ -109,7 +109,9 @@ if [ $1 -eq 0 -a -f %{_infodir}/pinentry.info* ] ; then fi %files -%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS ChangeLog NEWS README THANKS TODO %{_bindir}/pinentry-curses %{_bindir}/pinentry %{_infodir}/pinentry.info* @@ -124,6 +126,9 @@ fi %changelog +* Wed Jul 30 2014 Tom Callaway - 0.8.3-5 +- fix license handling + * Sat Jul 19 2014 Rex Dieter 0.8.3-4 - /usr/bin/pinentry should not check if stderr is opened (#787775)