[PyYAML] fix license handling
Tom Callaway
spot at fedoraproject.org
Mon Aug 4 04:20:23 UTC 2014
commit d5e73fec0c3d67d01c2269a7e50a78af4cc56af2
Author: Tom Callaway <spot at fedoraproject.org>
Date: Mon Aug 4 00:20:18 2014 -0400
fix license handling
PyYAML.spec | 13 ++++++++++---
1 files 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 <spot at fedoraproject.org> - 3.11-4
+- fix license handling
+
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list