| |
@@ -1,8 +1,8 @@
|
| |
%global modname munch
|
| |
|
| |
Name: python-munch
|
| |
- Version: 2.3.2
|
| |
- Release: 7%{?dist}
|
| |
+ Version: 2.5.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: A dot-accessible dictionary (a la JavaScript objects)
|
| |
|
| |
License: MIT
|
| |
@@ -13,6 +13,7 @@
|
| |
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: python3-setuptools
|
| |
+ BuildRequires: python3-pbr
|
| |
|
| |
%global _description\
|
| |
munch is a fork of David Schoonover's **Bunch** package, providing similar\
|
| |
@@ -26,16 +27,10 @@
|
| |
%description %_description
|
| |
|
| |
%package -n python3-munch
|
| |
- Summary: A dot-accessible dictionary (a la JavaScript objects)
|
| |
-
|
| |
- %description -n python3-munch
|
| |
- 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.
|
| |
+ Summary: %{summary}
|
| |
+ %{?python_provide:%python_provide python3-munch}
|
| |
|
| |
- Munch is a dictionary that supports attribute-style access, a la
|
| |
- JavaScript.
|
| |
+ %description -n python3-munch %_description
|
| |
|
| |
%prep
|
| |
%setup -q -n %{modname}-%{version}
|
| |
@@ -48,11 +43,11 @@
|
| |
|
| |
|
| |
%build
|
| |
- %{__python3} setup.py build
|
| |
+ %py3_build
|
| |
|
| |
|
| |
%install
|
| |
- %{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
|
| |
+ %py3_install
|
| |
|
| |
|
| |
%files -n python3-munch
|
| |
@@ -60,10 +55,14 @@
|
| |
%{!?_licensedir:%global license %doc}
|
| |
%license LICENSE.txt
|
| |
%{python3_sitelib}/%{modname}/
|
| |
- %{python3_sitelib}/%{modname}-%{version}*
|
| |
+ %{python3_sitelib}/%{modname}-%{version}*/
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Wed Mar 04 2020 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-1
|
| |
+ - Update to 2.5.0 (#1766566)
|
| |
+ - Fixes build with Python 3.9 (#1789175)
|
| |
+
|
| |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-7
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
| |
|
| |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1766566
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1789175 (Python 3.9)