Compare commits

..

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

4 changed files with 68 additions and 31 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/v5.0.6.tar.gz SOURCES/v5.0.6.tar.gz
/v5.0.6.tar.gz

View File

@ -0,0 +1 @@
b7cadbe17ff69953b3060eaf941fbd95959452be SOURCES/v5.0.6.tar.gz

View File

@ -1,11 +1,7 @@
%global pypi_name configobj Name: python-configobj
Name: python-%{pypi_name}
Version: 5.0.6 Version: 5.0.6
Release: 11%{?dist} Release: 25%{?dist}
Summary: Config file reading, writing, and validation Summary: Config file reading, writing, and validation
Group: System Environment/Libraries
License: BSD License: BSD
URL: http://configobj.readthedocs.org/ URL: http://configobj.readthedocs.org/
# Moved to the github release instead of the pypi one since multiple elements (License and tests) # 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/98
# https://github.com/DiffSK/configobj/issues/99 # https://github.com/DiffSK/configobj/issues/99
# Source0: https://pypi.python.org/packages/source/c/configobj/configobj-5.0.6.tar.gz # 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 BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-six BuildRequires: python3-six
BuildRequires: python3-pytest 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 %package -n python3-configobj
ConfigObj is a simple but powerful configuration file reader and writer: an ini Summary: %{summary}
file round tripper. Its main feature is that it is very easy to use, with a %{?python_provide:%python_provide python3-configobj}
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}}
Requires: python3-six Requires: python3-six
%description -n python3-configobj %description -n python3-configobj %_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.
%prep %prep
%autosetup -n %{pypi_name}-%{version} %autosetup -n configobj-%{version}
%build %build
%py3_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 # this needs to be set for tests.test_configobj.test_options_deprecation
export PYTHONWARNINGS=always export PYTHONWARNINGS=always
%{__python3} test_configobj.py %{__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 %doc README.md
%license LICENSE %license LICENSE
%{python3_sitelib}/* %{python3_sitelib}/_version.py
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %{python3_sitelib}/configobj.py
%{python3_sitelib}/validate.py
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/configobj-%{version}-py%{python3_version}.egg-info
%changelog %changelog
* Tue Jun 05 2018 Petr Viktorin <pviktori@redhat.com> - 5.0.6-11 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.0.6-25
- Remove the Python 2 version - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
https://bugzilla.redhat.com/show_bug.cgi?id=1567146 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 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +0,0 @@
SHA512 (v5.0.6.tar.gz) = 326eb86e362f281ebf07abcb1cf7616abb270c482eafe842371cda8708245ca5e8262f1644b7164664ecc10e9004ed061c9de18cd233a657d4697dbc3ba3c59d