fix license handling
This commit is contained in:
parent
6247260641
commit
d5e73fec0c
13
PyYAML.spec
13
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@fedoraproject.org> - 3.11-4
|
||||
- fix license handling
|
||||
|
||||
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user