Define license macro for el6.
This commit is contained in:
parent
567e2d9b12
commit
0e7371862e
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue