%global modname iniparse # Use the same directory of the main package for subpackage licence and docs %global _docdir_fmt %{name} Name: python-%{modname} Version: 0.5.3 Release: 1.20261103145910553789.pr55.1.g2241856%{?dist} Summary: Python Module for Accessing and Modifying Configuration Data in INI files License: MIT and Python URL: https://github.com/candlepin/python-iniparse Source0: python-iniparse-0.5.3.tar.gz BuildArch: noarch %global _description \ iniparse is an INI parser for Python which is API compatible\ with the standard library's ConfigParser, preserves structure of INI\ files (order of sections & options, indentation, comments, and blank\ lines are preserved when data is updated), and is more convenient to\ use. %description %{_description} %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-test %description -n python3-%{modname} %{_description} Python 3 version. %prep %setup -q -n python-iniparse-0.5.3 chmod -c -x html/index.html %build %py3_build %install %py3_install rm -vfr %{buildroot}%{_docdir}/* %check %{__python3} runtests.py %files -n python3-%{modname} %license LICENSE LICENSE-PSF %doc README.md Changelog html/ %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-*.egg-info/ %changelog * Tue Nov 3 2026 Packit - 0.5.3-1.20261103145910553789.pr55.1.g2241856 - chore: Release v0.5.3 (pkoprda) * Tue Nov 3 2026 Peter Koprda - 0.5.3-1 - Release 0.5.3 - Support only Python 3.9+ * Thu Oct 29 2026 Zdenek Petracek - 0.5.2-1 - Release 0.5.2 - tidy() also cleans the first section - ConfigNamespace abstract methods raise NotImplementedError - _compat_skip_empty_lines is per-instance - Avoid multiprocessing forkserver on Python 3.14+ - Tests no longer require CPython's test package * Tue May 18 2021 Jiri Hnidek - 0.5-1 - Release 0.5 - Moved project to https://github.com/candlepin/python-iniparse - Added support for Python 3 * Sat Jun 12 2010 Paramjit Oberoi - 0.4-1 - Release 0.4 * Sat Apr 17 2010 Paramjit Oberoi - 0.3.2-1 - Release 0.3.2 * Mon Mar 2 2009 Paramjit Oberoi - 0.3.1-1 - Release 0.3.1 * Fri Feb 27 2009 Paramjit Oberoi - 0.3.0-1 - Release 0.3.0 * Tue Dec 6 2008 Paramjit Oberoi - 0.2.4-1 - Release 0.2.4 - added egg-info file to %%files * Tue Dec 11 2007 Paramjit Oberoi - 0.2.3-1 - Release 0.2.3 * Tue Sep 24 2007 Paramjit Oberoi - 0.2.2-1 - Release 0.2.2 * Tue Aug 7 2007 Paramjit Oberoi - 0.2.1-1 - Release 0.2.1 * Fri Jul 27 2007 Tim Lauridsen - 0.2-3 - relocated doc to /usr/share/doc/python-iniparse-0.2 * Thu Jul 26 2007 Tim Lauridsen - 0.2-2 - changed name from iniparse to python-iniparse * Tue Jul 17 2007 Tim Lauridsen - 0.2-1 - Release 0.2 - Added html/* to %%doc * Fri Jul 13 2007 Tim Lauridsen - 0.1-1 - Initial build.