Change to use python3_pkgversion macro for EPEL 7 support
This commit is contained in:
parent
b334f8cb67
commit
9b3126313d
@ -1,6 +1,6 @@
|
|||||||
Name: python-configobj
|
Name: python-configobj
|
||||||
Version: 5.0.6
|
Version: 5.0.6
|
||||||
Release: 25%{?dist}
|
Release: 26%{?dist}
|
||||||
Summary: Config file reading, writing, and validation
|
Summary: Config file reading, writing, and validation
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://configobj.readthedocs.org/
|
URL: http://configobj.readthedocs.org/
|
||||||
@ -11,21 +11,21 @@ URL: http://configobj.readthedocs.org/
|
|||||||
# 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/configobj/archive/v%{version}.tar.gz
|
Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: python3-six
|
BuildRequires: python%{python3_pkgversion}-six
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
%global _description \
|
%global _description \
|
||||||
ConfigObj is a simple but powerful configuration file reader and writer: an ini\
|
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\
|
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.
|
straightforward programmers interface and a simple syntax for config files.
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
%package -n python3-configobj
|
%package -n python%{python3_pkgversion}-configobj
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-configobj}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-configobj}
|
||||||
Requires: python3-six
|
Requires: python%{python3_pkgversion}-six
|
||||||
%description -n python3-configobj %_description
|
%description -n python%{python3_pkgversion}-configobj %_description
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n configobj-%{version}
|
%autosetup -n configobj-%{version}
|
||||||
@ -42,7 +42,7 @@ export PYTHONWARNINGS=always
|
|||||||
%{__python3} test_configobj.py
|
%{__python3} test_configobj.py
|
||||||
py.test-%{python3_version} tests
|
py.test-%{python3_version} tests
|
||||||
|
|
||||||
%files -n python3-configobj
|
%files -n python%{python3_pkgversion}-configobj
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/_version.py
|
%{python3_sitelib}/_version.py
|
||||||
@ -52,6 +52,9 @@ py.test-%{python3_version} tests
|
|||||||
%{python3_sitelib}/configobj-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/configobj-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 08 2021 Sam P <survient@fedoraproject.org> - 5.0.6-26
|
||||||
|
- Change to use python3_pkgversion macro for EPEL 7 support
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-25
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-25
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user