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