Compare commits

...

No commits in common. "c8s" and "c9-beta" have entirely different histories.
c8s ... c9-beta

1 changed files with 67 additions and 29 deletions

View File

@ -1,11 +1,7 @@
%global pypi_name configobj
Name: python-%{pypi_name}
Name: python-configobj
Version: 5.0.6
Release: 11%{?dist}
Release: 25%{?dist}
Summary: Config file reading, writing, and validation
Group: System Environment/Libraries
License: BSD
URL: http://configobj.readthedocs.org/
# Moved to the github release instead of the pypi one since multiple elements (License and tests)
@ -13,31 +9,26 @@ URL: http://configobj.readthedocs.org/
# https://github.com/DiffSK/configobj/issues/98
# https://github.com/DiffSK/configobj/issues/99
# Source0: https://pypi.python.org/packages/source/c/configobj/configobj-5.0.6.tar.gz
Source0: https://github.com/DiffSK/%{pypi_name}/archive/v%{version}.tar.gz
Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-six
BuildRequires: python3-pytest
%global _description \
ConfigObj is a simple but powerful configuration file reader and writer: an ini\
file round tripper. Its main feature is that it is very easy to use, with a\
straightforward programmers interface and a simple syntax for config files.
%description %_description
%description
ConfigObj is a simple but powerful configuration file reader and writer: an ini
file round tripper. Its main feature is that it is very easy to use, with a
straightforward programmer's interface and a simple syntax for config files.
%package -n python3-configobj
Summary: Config file reading, writing, and validation for Python 3
%{?python_provide:%python_provide python3-%{pypi_name}}
%package -n python3-configobj
Summary: %{summary}
%{?python_provide:%python_provide python3-configobj}
Requires: python3-six
%description -n python3-configobj
ConfigObj is a simple but powerful configuration file reader and writer: an ini
file round tripper. Its main feature is that it is very easy to use, with a
straightforward programmer's interface and a simple syntax for config files.
%description -n python3-configobj %_description
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n configobj-%{version}
%build
%py3_build
@ -49,18 +40,65 @@ straightforward programmer's interface and a simple syntax for config files.
# this needs to be set for tests.test_configobj.test_options_deprecation
export PYTHONWARNINGS=always
%{__python3} test_configobj.py
%{__python3} -m pytest tests
py.test-%{python3_version} tests
%files -n python3-%{pypi_name}
%files -n python3-configobj
%doc README.md
%license LICENSE
%{python3_sitelib}/*
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%{python3_sitelib}/_version.py
%{python3_sitelib}/configobj.py
%{python3_sitelib}/validate.py
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/configobj-%{version}-py%{python3_version}.egg-info
%changelog
* Tue Jun 05 2018 Petr Viktorin <pviktori@redhat.com> - 5.0.6-11
- Remove the Python 2 version
https://bugzilla.redhat.com/show_bug.cgi?id=1567146
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.0.6-25
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.0.6-24
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-21
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-19
- Subpackage python2-configobj has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-18
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-17
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-13
- Rebuilt for Python 3.7
* Thu Mar 15 2018 Terje Rosten <terje.rosten@ntnu.no> - 5.0.6-12
- Minor clean up
* Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.6-11
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild