Mark license with %license.

This commit is contained in:
Thomas Moschny 2015-12-05 18:36:36 +01:00
parent 5eb92d5e62
commit 82ba74c677
2 changed files with 11 additions and 5 deletions

4
.gitignore vendored
View File

@ -1,3 +1 @@
/xcb-util-image-0.3.8.tar.bz2
/xcb-util-image-0.3.9.tar.bz2
/xcb-util-image-0.4.0.tar.bz2
/xcb-util-image-*.tar.bz2

View File

@ -1,6 +1,6 @@
Name: xcb-util-image
Version: 0.4.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Port of Xlib's XImage and XShmImage functions on top of libxcb
Group: System Environment/Libraries
License: MIT
@ -49,7 +49,12 @@ rm %{buildroot}%{_libdir}/*.la
%files
%doc README COPYING
%doc README
%if 0%{?_licensedir:1}
%license COPYING
%else
%doc COPYING
%endif # licensedir
%{_libdir}/*.so.*
@ -61,6 +66,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