b348f54
%global pypi_name xmltodict
93d480b
93d480b
Name:               python-xmltodict
4552dc0
Version:            0.12.0
1162660
Release:            9%{?dist}
1162660
Summary:            Python to transform XML to JSON
93d480b
93d480b
License:            MIT
Fabian Affolter f9ed8aa
URL:                https://github.com/martinblech/xmltodict
1162660
Source0:            %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
93d480b
BuildArch:          noarch
93d480b
93d480b
%description
93d480b
xmltodict is a Python module that makes working with XML feel like you are
93d480b
working with JSON.  It's very fast (Expat-based) and has a streaming mode
93d480b
with a small memory footprint, suitable for big XML dumps like Discogs or
93d480b
Wikipedia.
93d480b
b348f54
%package -n python3-%{pypi_name}
4552dc0
Summary:            %{summary}
4552dc0
4552dc0
BuildRequires:      python3-devel
1162660
BuildRequires:      python3-setuptools
4552dc0
BuildRequires:      python3-nose
b348f54
%{?python_provide:%python_provide python3-%{pypi_name}}
93d480b
b348f54
%description -n python3-%{pypi_name}
93d480b
xmltodict is a Python module that makes working with XML feel like you are
93d480b
working with JSON.  It's very fast (Expat-based) and has a streaming mode
93d480b
with a small memory footprint, suitable for big XML dumps like Discogs or
93d480b
Wikipedia.
93d480b
93d480b
%prep
b348f54
%autosetup -n %{pypi_name}-%{version}
93d480b
93d480b
%build
Fabian Affolter 4f0f698
%py3_build
93d480b
93d480b
%install
Fabian Affolter 4f0f698
%py3_install
93d480b
93d480b
%check
f3b7814
%{__python3} -m nose
e775ac3
b348f54
%files -n python3-%{pypi_name}
e775ac3
%doc README.md
e775ac3
%license LICENSE
b348f54
%{python3_sitelib}/%{pypi_name}.py
b348f54
%{python3_sitelib}/%{pypi_name}-%{version}-*
b348f54
%{python3_sitelib}/__pycache__/%{pypi_name}*
93d480b
93d480b
%changelog
1162660
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.0-9
1162660
- Add python3-setuptools as BR
1162660
24fa25e
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-8
24fa25e
- Rebuilt for Python 3.9
24fa25e
8cbfe6c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-7
8cbfe6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8cbfe6c
b348f54
* Sat Jan 11 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.0-6
b348f54
- Remove support for Python 2
b348f54
8bb4136
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-5
8bb4136
- Rebuilt for Python 3.8.0rc1 (#1748018)
8bb4136
406333b
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-4
406333b
- Rebuilt for Python 3.8
406333b
7a2e2b9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-3
7a2e2b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7a2e2b9
e775ac3
* Sun Jun 30 2019 Kevin Fenzi <kevin@scrye.com> - 0.12.0-2
e775ac3
- Conditionalize dropping python2 support so it only happens in f31+
e775ac3
- Fixes bug 1724842
e775ac3
4552dc0
* Sat Jun 08 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.0-1
4552dc0
- Update to latest upstream release 0.12.0
4552dc0
f3b7814
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-9
f3b7814
- Subpackage python2-xmltodict has been removed
f3b7814
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
f3b7814
b462862
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-8
b462862
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b462862
2cc844f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-7
2cc844f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2cc844f
81d97ea
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-6
81d97ea
- Rebuilt for Python 3.7
81d97ea
70188b8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-5
70188b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
70188b8
d84d06a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-4
d84d06a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d84d06a
c918c78
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-3
c918c78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c918c78
e916b6b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-2
e916b6b
- Rebuild for Python 3.6
e916b6b
7b7d028
* Tue Nov 15 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.10.2-1
b348f54
- Update to latest upstream release 0.10.2
7b7d028
Fabian Affolter e42ac1b
* Sun May 01 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.10.1-1
b348f54
- Update to latest upstream release 0.10.1
Fabian Affolter e42ac1b
ab8fec1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
ab8fec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ab8fec1
Fabian Affolter 4f0f698
* Sat Nov 14 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.2-1
Fabian Affolter 4f0f698
- Cleanup
b348f54
- Update to latest upstream release 0.9.2
Fabian Affolter 4f0f698
b74487e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
b74487e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
b74487e
15255bd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
15255bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
15255bd
Fabian Affolter f9ed8aa
* Thu Oct 02 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.0-1
Fabian Affolter f9ed8aa
- Update spec file according guidelines 
Fabian Affolter f9ed8aa
- Update to upstream release 0.9.0
Fabian Affolter f9ed8aa
de6341f
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-5
de6341f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
de6341f
6af68a3
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.4.2-4
6af68a3
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
6af68a3
e51eb32
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-3
e51eb32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e51eb32
fbc21f8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
fbc21f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fbc21f8
93d480b
* Fri Jan 04 2013 Ralph Bean <rbean@redhat.com> - 0.4.2-1
93d480b
- Latest upstream
93d480b
- Included README and LICENSE
93d480b
- Running tests now
93d480b
- https://github.com/martinblech/xmltodict/pull/11
93d480b
- Added Requires python3 to the python3 subpackage.
93d480b
93d480b
* Fri Jan 04 2013 Ralph Bean <rbean@redhat.com> - 0.4.1-1
93d480b
- Initial packaging for Fedora