Fix license tag and install license files

This commit is contained in:
Mikolaj Izdebski 2015-06-10 10:40:01 +02:00
parent 5ae2370844
commit 14596f50a2

View File

@ -2,7 +2,7 @@ Name: jna
Version: 4.1.0 Version: 4.1.0
Release: 7%{?dist} Release: 7%{?dist}
Summary: Pure Java access to native libraries Summary: Pure Java access to native libraries
License: LGPLv2+ License: LGPLv2 or ASL 2.0
URL: https://jna.dev.java.net/ URL: https://jna.dev.java.net/
# The source for this package was pulled from upstream's vcs. Use the # The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball: # following commands to generate the tarball:
@ -129,12 +129,13 @@ cp -a doc/javadoc/* %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles %files -f .mfiles
%doc LICENSE OTHERS README.md CHANGES.md TODO %doc OTHERS README.md CHANGES.md TODO
%license LICENSE LGPL2.1 ASL2.0
%{_libdir}/%{name} %{_libdir}/%{name}
%files javadoc %files javadoc
%doc LICENSE %license LICENSE LGPL2.1 ASL2.0
%{_javadocdir}/%{name} %{_javadocdir}/%{name}