Mark license with %license.

This commit is contained in:
Thomas Moschny 2015-12-05 17:38:12 +01:00
parent 255d38eb6f
commit 91fdaeece5

View File

@ -1,6 +1,6 @@
Name: xcb-util
Version: 0.4.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Convenience libraries sitting on top of libxcb
Group: System Environment/Libraries
License: MIT
@ -52,7 +52,12 @@ rm %{buildroot}%{_libdir}/*.la
%files
%doc README COPYING
%doc README
%if 0%{?_licensedir:1}
%license COPYING
%else
%doc COPYING
%endif # licensedir
%{_libdir}/libxcb-util.so.1*
@ -64,6 +69,9 @@ rm %{buildroot}%{_libdir}/*.la
%changelog
* Sat Dec 5 2015 Thomas Moschny <thomas.moschny@gmx.de> - 0.4.0-4
- Mark license with %%license.
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild