From 9d1bd9b71a6798884af42a55e337f2b976ff4682 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 14:52:38 -0400 Subject: [PATCH] fix license handling --- libgpg-error.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libgpg-error.spec b/libgpg-error.spec index 2091545..20bf9a8 100644 --- a/libgpg-error.spec +++ b/libgpg-error.spec @@ -1,7 +1,7 @@ Summary: Library for error values used by GnuPG components Name: libgpg-error Version: 1.13 -Release: 1%{?dist} +Release: 2%{?dist} URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/ Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig @@ -92,7 +92,9 @@ rm -fr $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) -%doc COPYING COPYING.LIB AUTHORS README NEWS ChangeLog +%{!?_licensedir:%global license %%doc} +%license COPYING COPYING.LIB +%doc AUTHORS README NEWS ChangeLog %{_bindir}/gpg-error /%{_lib}/libgpg-error.so.0* @@ -104,6 +106,9 @@ rm -fr $RPM_BUILD_ROOT %{_datadir}/aclocal/gpg-error.m4 %changelog +* Fri Jul 18 2014 Tom Callaway 1.13-2 +- fix license handling + * Wed Jun 25 2014 Tomáš Mráz 1.13-1 - new upstream release