From 82ba74c67781bbebcbb5a74023024c0bbc71e005 Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Sat, 5 Dec 2015 18:36:36 +0100 Subject: [PATCH] Mark license with %license. --- .gitignore | 4 +--- xcb-util-image.spec | 12 ++++++++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2340294..c6598ad 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/xcb-util-image.spec b/xcb-util-image.spec index da1a419..fc5dca2 100644 --- a/xcb-util-image.spec +++ b/xcb-util-image.spec @@ -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 - 0.4.0-4 +- Mark license with %%license. + * Fri Jun 19 2015 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild