From 23ffe8587d780f714470eea317c4d7d16d1736f7 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 18 Jul 2014 15:40:10 -0400 Subject: [PATCH] fix license handling --- libyaml.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libyaml.spec b/libyaml.spec index 8903a52..aac799d 100644 --- a/libyaml.spec +++ b/libyaml.spec @@ -4,7 +4,7 @@ Name: libyaml Version: 0.1.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: YAML 1.1 parser and emitter written in C Group: System Environment/Libraries @@ -64,7 +64,9 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc LICENSE README +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc README %{_libdir}/%{name}*.so.* @@ -77,6 +79,9 @@ rm -rf %{buildroot} %changelog +* Fri Jul 18 2014 Tom Callaway - 0.1.6-4 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 0.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild