Define license macro for el6.

This commit is contained in:
Ralph Bean 2015-08-17 10:30:54 -04:00
parent 567e2d9b12
commit 0e7371862e

View file

@ -14,7 +14,7 @@
Name: python-munch
Version: 2.0.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A dot-accessible dictionary (a la JavaScript objects)
Group: Development/Libraries
@ -87,6 +87,7 @@ popd
%files
%doc README.md
%{!?_licensedir:%global license %doc}
%license LICENSE.txt
%{python2_sitelib}/%{modname}/
%{python2_sitelib}/%{modname}-%{version}*
@ -94,12 +95,16 @@ popd
%if 0%{?with_python3}
%files -n python3-munch
%doc README.md
%{!?_licensedir:%global license %doc}
%license LICENSE.txt
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}*
%endif
%changelog
* Mon Aug 17 2015 Ralph Bean <rbean@redhat.com> - 2.0.2-4
- Define license macro for el6.
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild