Python 2 binary package renamed to python2-munch

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:41:38 -04:00
parent a5c038905a
commit 7d8ddbf9c6

View file

@ -14,7 +14,7 @@
Name: python-munch
Version: 2.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A dot-accessible dictionary (a la JavaScript objects)
Group: Development/Libraries
@ -32,15 +32,23 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
%endif
%description
munch is a fork of David Schoonover's **Bunch** package, providing similar
functionality. 99% of the work was done by him, and the fork was made
mainly for lack of responsiveness for fixes and maintenance on the original
code.
Munch is a dictionary that supports attribute-style access, a la
%global _description\
munch is a fork of David Schoonover's **Bunch** package, providing similar\
functionality. 99% of the work was done by him, and the fork was made\
mainly for lack of responsiveness for fixes and maintenance on the original\
code.\
\
Munch is a dictionary that supports attribute-style access, a la\
JavaScript.
%description %_description
%package -n python2-munch
Summary: %summary
%{?python_provide:%python_provide python2-munch}
%description -n python2-munch %_description
%if 0%{?with_python3}
%package -n python3-munch
Summary: A dot-accessible dictionary (a la JavaScript objects)
@ -85,7 +93,7 @@ popd
%endif
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
%files
%files -n python2-munch
%doc README.md
%{!?_licensedir:%global license %doc}
%license LICENSE.txt
@ -102,6 +110,10 @@ popd
%endif
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.0-2
- Python 2 binary package renamed to python2-munch
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Mon Jul 31 2017 Kevin Fenzi <kevin@scrye.com> - 2.2.0-1
- Update to 2.2.0. Fixes bug #1475808