diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9cd49c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/iniconfig-1.1.1.tar.gz diff --git a/.python-iniconfig.metadata b/.python-iniconfig.metadata new file mode 100644 index 0000000..4d17c04 --- /dev/null +++ b/.python-iniconfig.metadata @@ -0,0 +1 @@ +f0d3a75f00752f75876468d04bf0cfbc05643b7e SOURCES/iniconfig-1.1.1.tar.gz diff --git a/SPECS/python-iniconfig.spec b/SPECS/python-iniconfig.spec new file mode 100644 index 0000000..f334eb5 --- /dev/null +++ b/SPECS/python-iniconfig.spec @@ -0,0 +1,85 @@ +Name: python-iniconfig +Version: 1.1.1 +Release: 5%{?dist} +Summary: Brain-dead simple parsing of ini files +License: MIT +URL: http://github.com/RonnyPfannschmidt/iniconfig +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros + +Source0: %{pypi_source iniconfig} + +# Tests are disabled to remove the test dependencies +# Specify --with tests to run the tests on e.g. EPEL +%bcond_with tests + +%global _description %{expand: +iniconfig is a small and simple INI-file parser module +having a unique set of features: + +* tested against Python2.4 across to Python3.2, Jython, PyPy +* maintains order of sections and entries +* supports multi-line values with or without line-continuations +* supports "#" comments everywhere +* raises errors with proper line-numbers +* no bells and whistles like automatic substitutions +* iniconfig raises an Error if two sections have the same name.} +%description %_description + + +%package -n python3-iniconfig +Summary: %{summary} +%description -n python3-iniconfig %_description + + +%prep +%autosetup -n iniconfig-%{version} + + +%generate_buildrequires +%pyproject_buildrequires %{?with_tests:-t} + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files iniconfig + + +%if %{with tests} +%check +%tox +%endif + + +%files -n python3-iniconfig -f %{pyproject_files} +%doc README.txt +%license LICENSE + + +%changelog +* Tue Aug 10 2021 Mohan Boddu - 1.1.1-5 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1.1.1-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Mon Mar 08 2021 Charalampos Stratakis - 1.1.1-3 +- Disable tests on RHEL9 to remove tox dependency + +* Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Oct 15 2020 Tomas Hrnciar - 1.1.1-1 +- Update to 1.1.1 (#1888157) + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 13 2020 Miro HronĨok - 1.0.0-1 +- Initial package (#1856421)