fix license handling

This commit is contained in:
Tom Callaway 2014-07-18 14:52:38 -04:00
parent 47e6d6e0c8
commit 9d1bd9b71a

View File

@ -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 <spot@fedoraproject.org> 1.13-2
- fix license handling
* Wed Jun 25 2014 Tomáš Mráz <tmraz@redhat.com> 1.13-1
- new upstream release