|
|
470a84 |
%global pypi_name configobj
|
|
|
470a84 |
|
|
|
470a84 |
Name: python-%{pypi_name}
|
|
|
470a84 |
Version: 5.0.6
|
|
|
470a84 |
Release: 11%{?dist}
|
|
|
470a84 |
Summary: Config file reading, writing, and validation
|
|
|
470a84 |
|
|
|
470a84 |
Group: System Environment/Libraries
|
|
|
470a84 |
License: BSD
|
|
|
470a84 |
URL: http://configobj.readthedocs.org/
|
|
|
470a84 |
# Moved to the github release instead of the pypi one since multiple elements (License and tests)
|
|
|
470a84 |
# are not available using pypi. Two bugs have been filled about this:
|
|
|
470a84 |
# https://github.com/DiffSK/configobj/issues/98
|
|
|
470a84 |
# https://github.com/DiffSK/configobj/issues/99
|
|
|
470a84 |
# Source0: https://pypi.python.org/packages/source/c/configobj/configobj-5.0.6.tar.gz
|
|
|
470a84 |
Source0: https://github.com/DiffSK/%{pypi_name}/archive/v%{version}.tar.gz
|
|
|
470a84 |
BuildArch: noarch
|
|
|
470a84 |
|
|
|
470a84 |
BuildRequires: python3-devel
|
|
|
470a84 |
BuildRequires: python3-setuptools
|
|
|
470a84 |
BuildRequires: python3-six
|
|
|
470a84 |
BuildRequires: python3-pytest
|
|
|
470a84 |
|
|
|
470a84 |
%description
|
|
|
470a84 |
ConfigObj is a simple but powerful configuration file reader and writer: an ini
|
|
|
470a84 |
file round tripper. Its main feature is that it is very easy to use, with a
|
|
|
470a84 |
straightforward programmer's interface and a simple syntax for config files.
|
|
|
470a84 |
|
|
|
470a84 |
%package -n python3-configobj
|
|
|
470a84 |
Summary: Config file reading, writing, and validation for Python 3
|
|
|
470a84 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
470a84 |
|
|
|
470a84 |
Requires: python3-six
|
|
|
470a84 |
%description -n python3-configobj
|
|
|
470a84 |
ConfigObj is a simple but powerful configuration file reader and writer: an ini
|
|
|
470a84 |
file round tripper. Its main feature is that it is very easy to use, with a
|
|
|
470a84 |
straightforward programmer's interface and a simple syntax for config files.
|
|
|
470a84 |
|
|
|
470a84 |
%prep
|
|
|
470a84 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
470a84 |
|
|
|
470a84 |
%build
|
|
|
470a84 |
%py3_build
|
|
|
470a84 |
|
|
|
470a84 |
%install
|
|
|
470a84 |
%py3_install
|
|
|
470a84 |
|
|
|
470a84 |
%check
|
|
|
470a84 |
# this needs to be set for tests.test_configobj.test_options_deprecation
|
|
|
470a84 |
export PYTHONWARNINGS=always
|
|
|
470a84 |
%{__python3} test_configobj.py
|
|
|
470a84 |
%{__python3} -m pytest tests
|
|
|
470a84 |
|
|
|
470a84 |
%files -n python3-%{pypi_name}
|
|
|
470a84 |
%doc README.md
|
|
|
470a84 |
%license LICENSE
|
|
|
470a84 |
%{python3_sitelib}/*
|
|
|
470a84 |
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
|
|
470a84 |
|
|
|
470a84 |
%changelog
|
|
|
470a84 |
* Tue Jun 05 2018 Petr Viktorin <pviktori@redhat.com> - 5.0.6-11
|
|
|
470a84 |
- Remove the Python 2 version
|
|
|
470a84 |
https://bugzilla.redhat.com/show_bug.cgi?id=1567146
|
|
|
470a84 |
|
|
|
470a84 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-10
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-9
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-8
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 5.0.6-7
|
|
|
470a84 |
- Enable tests
|
|
|
470a84 |
|
|
|
470a84 |
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 5.0.6-6
|
|
|
470a84 |
- Rebuild for Python 3.6
|
|
|
470a84 |
- Disable python3 tests for now
|
|
|
470a84 |
|
|
|
470a84 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.6-5
|
|
|
470a84 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-4
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jan 07 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.0.6-3
|
|
|
470a84 |
- Fix descriptions
|
|
|
470a84 |
- Fix for F22
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jan 07 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.0.6-2
|
|
|
470a84 |
- Simplify spec file
|
|
|
470a84 |
- Improve spec file
|
|
|
470a84 |
- Add tests
|
|
|
470a84 |
|
|
|
470a84 |
* Wed Jan 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.0.6-1
|
|
|
470a84 |
- Align to current upstream
|
|
|
470a84 |
|
|
|
470a84 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.5-4
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.5-3
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 5.0.5-2
|
|
|
470a84 |
- fix license handling
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jun 26 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 5.0.5-1
|
|
|
470a84 |
- Updated to 5.0.5 (new upstream "with the blessing of original creator")
|
|
|
470a84 |
- Introduced python3-configobj subpackage
|
|
|
470a84 |
- Changed upstream url to documentation written by new upstream
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-8
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-7
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-6
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-5
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-4
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.2-3
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 4.7.2-2
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Jun 17 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 4.7.2-1
|
|
|
470a84 |
- Fix traceback when doing from validate import *
|
|
|
470a84 |
- Upstream bugfix release
|
|
|
470a84 |
|
|
|
470a84 |
* Wed Jan 20 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-2
|
|
|
470a84 |
- Merge a bunch of changes from Gareth Armstrong <gareth.armstrong@hp.com>
|
|
|
470a84 |
- The src zip file should come either from http://www.voidspace.org.uk/
|
|
|
470a84 |
downloads/ or http://code.google.com/p/configobj/ as the PyPI tarball is
|
|
|
470a84 |
not complete. No docs and no test code.
|
|
|
470a84 |
- Added docs
|
|
|
470a84 |
- Remove BR on python-setuptools-devel
|
|
|
470a84 |
|
|
|
470a84 |
* Sun Jan 10 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-1
|
|
|
470a84 |
- Update to 4.7.0
|
|
|
470a84 |
|
|
|
470a84 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.0-2
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Thu May 7 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 4.6.0-1
|
|
|
470a84 |
- updated to latest upstream
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.3-5
|
|
|
470a84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
470a84 |
|
|
|
470a84 |
* Mon Feb 09 2009 Luke Macken <lmacken@redhat.com> - 4.5.3-4
|
|
|
470a84 |
- Conditionally include the egg-info, when available (#478417)
|
|
|
470a84 |
|
|
|
470a84 |
* Mon Dec 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 4.5.3-3
|
|
|
470a84 |
- Upload Source file so this actually builds.
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 4.5.3-2
|
|
|
470a84 |
- Rebuild for Python 2.6
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Jun 28 2008 Luke Macken <lmacken@redhat.com> - 4.5.3-1
|
|
|
470a84 |
- Update to 4.5.3
|
|
|
470a84 |
|
|
|
470a84 |
* Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> - 4.5.2-1
|
|
|
470a84 |
- Update to 4.5.2
|
|
|
470a84 |
|
|
|
470a84 |
* Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> - 4.4.0-2
|
|
|
470a84 |
- Update for python-setuptools changes in rawhide
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> - 4.4.0-1
|
|
|
470a84 |
- 4.4.0
|
|
|
470a84 |
|
|
|
470a84 |
* Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-6
|
|
|
470a84 |
- Rebuild for python 2.5
|
|
|
470a84 |
|
|
|
470a84 |
* Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-5
|
|
|
470a84 |
- Fix dist tag
|
|
|
470a84 |
|
|
|
470a84 |
* Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-4
|
|
|
470a84 |
- Rebuild for FC6
|
|
|
470a84 |
|
|
|
470a84 |
* Mon Aug 14 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-3
|
|
|
470a84 |
- Include pyo files
|
|
|
470a84 |
|
|
|
470a84 |
* Tue Jul 18 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-2
|
|
|
470a84 |
- Fix typo in the url
|
|
|
470a84 |
|
|
|
470a84 |
* Mon Jul 10 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-1
|
|
|
470a84 |
- Initial package
|