[libyaml] fix license handling
Tom Callaway
spot at fedoraproject.org
Fri Jul 18 19:39:45 UTC 2014
commit 23ffe8587d780f714470eea317c4d7d16d1736f7
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Jul 18 15:40:10 2014 -0400
fix license handling
libyaml.spec | 9 +++++++--
1 files 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 <spot at fedoraproject.org> - 0.1.6-4
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list