%global desc %{expand: Python library for parsing and manipulating RPM spec files. Main focus is on modifying existing spec files, any change should result in a minimal diff.} Name: python-specfile Version: 0.3.0 Release: 1%{?dist} Summary: A library for parsing and manipulating RPM spec files License: MIT URL: https://github.com/packit/specfile Source0: %{pypi_source specfile} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel %description %{desc} %package -n python%{python3_pkgversion}-specfile Summary: %{summary} %description -n python%{python3_pkgversion}-specfile %{desc} %generate_buildrequires %pyproject_buildrequires -x testing %prep %autosetup -p1 -n specfile-%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files specfile %check %pytest %files -n python%{python3_pkgversion}-specfile -f %{pyproject_files} %doc README.md %changelog * Mon May 16 2022 Packit - 0.3.0-1 - Made `Sources` a `MutableSequence` (#36) - Started using consistent terminology for source numbers and added the option to insert a source with a specific number (#47) - Added support for implicit source numbering (#48) - Documented sources and `%prep` macros in README (#49) - Implemented high-level manipulation of version and release (#54) - Added support for `* Mon May 16 2022 John Doe - 0.3.0-1.fc35 - local build` (#56) - Added `remote` property to sources and enabled addition of `Sources` (#59) - Implemented mid-level manipulation of `%prep` section, including modification of `%prep` macros (#37, #52) * Thu Mar 31 2022 Packit - 0.2.0-1 - Enabled Zuul CI (#8) - Switched from git:// to https:// for rebase hook (#22) - Updated pre-commit configuration and adapted to type changes brought by new version of mypy (#24) - Non-lowercase section names are now supported (#26) - Added `Sections.get()` convenience method (#29) - Added packit configuration and enabled packit (#25) - Fixed infinite recursion when deep-copying instances of `Sections` and `Tags` (#30) - Updated Fedora and EPEL spec files (#32) - Fixed issues caused by older versions of dependencies on EPEL 8 (#33) - Implemented high-level manipulation of sources and patches (#20, #36) - It is now possible to parse spec files with missing local sources (#23) * Mon Feb 21 2022 Nikola Forró - 0.1.1-1 - New upstream release 0.1.1 * Tue Feb 08 2022 Nikola Forró - 0.1.0-1 - Initial package