From d5e73fec0c3d67d01c2269a7e50a78af4cc56af2 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 4 Aug 2014 00:20:18 -0400 Subject: [PATCH] fix license handling --- PyYAML.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/PyYAML.spec b/PyYAML.spec index 975a2f0..3b8e573 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -6,7 +6,7 @@ Name: PyYAML Version: 3.11 -Release: 3%{?dist} +Release: 4%{?dist} Summary: YAML parser and emitter for Python Group: Development/Libraries @@ -102,18 +102,25 @@ rm -rf %{buildroot} %files %defattr(644,root,root,755) -%doc CHANGES LICENSE PKG-INFO README examples +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc CHANGES PKG-INFO README examples %{python_sitearch}/* %if 0%{?with_python3} %files -n python3-PyYAML %defattr(644,root,root,755) -%doc CHANGES LICENSE PKG-INFO README examples +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc CHANGES PKG-INFO README examples %{python3_sitearch}/* %endif %changelog +* Mon Aug 4 2014 Tom Callaway - 3.11-4 +- fix license handling + * Fri Jun 06 2014 Fedora Release Engineering - 3.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild