%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.} %global base_version 0.32.5 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} %global pypi_version %{base_version}%{?prerelease} Name: python-specfile Version: 0.32.5 Release: 1.20241026213121055998.main.0.gc38cfaa%{?dist} Summary: A library for parsing and manipulating RPM spec files License: MIT URL: https://github.com/packit/specfile Source0: specfile-0.32.5.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: %{py3_dist setuptools setuptools-scm} BuildRequires: %{py3_dist importlib-metadata dataclasses rpm typing-extensions} BuildRequires: %{py3_dist flexmock pytest} BuildRequires: git-core %description %{desc} %package -n python%{python3_pkgversion}-specfile Summary: %{summary} %description -n python%{python3_pkgversion}-specfile %{desc} %prep %autosetup -p1 -n specfile-0.32.5 # Remove bundled egg-info rm -rf specfile.egg-info %build %py3_build %install %py3_install %check %pytest --verbose tests/unit tests/integration %files -n python%{python3_pkgversion}-specfile %license LICENSE %doc README.md %{python3_sitelib}/specfile %{python3_sitelib}/specfile-%{version}-py%{python3_version}.egg-info %changelog * Sat Oct 26 2024 Packit - 0.32.5-1.20241026213121055998.main.0.gc38cfaa - Development snapshot (c38cfaad) * Fri Oct 25 2024 Packit Team - 0.32.5-1 - New upstream release 0.32.5 * Fri Oct 11 2024 Packit Team - 0.32.4-1 - New upstream release 0.32.4 * Fri Sep 27 2024 Packit Team - 0.32.3-1 - New upstream release 0.32.3 * Fri Sep 13 2024 Packit Team - 0.32.2-1 - New upstream release 0.32.2 * Mon Jul 29 2024 Packit Team - 0.32.1-1 - New upstream release 0.32.1 * Mon Jul 22 2024 Packit Team - 0.32.0-1 - New upstream release 0.32.0 * Thu Jul 04 2024 Packit Team - 0.31.0-1 - New upstream release 0.31.0 * Wed Jun 26 2024 Packit Team - 0.30.0-1 - New upstream release 0.30.0 * Thu Jun 06 2024 Packit Team - 0.29.0-1 - New upstream release 0.29.0 * Thu May 23 2024 Packit Team - 0.28.3-1 - New upstream release 0.28.3 * Mon Apr 08 2024 Packit Team - 0.28.2-1 - New upstream release 0.28.2 * Mon Mar 25 2024 Packit Team - 0.28.1-1 - New upstream release 0.28.1 * Sun Mar 17 2024 Packit Team - 0.28.0-1 - New upstream release 0.28.0 * Fri Jan 19 2024 Packit Team - 0.27.0-1 - New upstream release 0.27.0 * Fri Dec 08 2023 Packit Team - 0.26.0-1 - New upstream release 0.26.0 * Mon Nov 20 2023 Packit Team - 0.25.1~rc1-1 - New upstream release 0.25.1rc1 * Mon Nov 20 2023 Packit Team - 0.25.0-1 - New upstream release 0.25.0 * Tue Nov 14 2023 Nikola Forró - 0.24.1~rc2-1 - New upstream release 0.24.1rc2 * Tue Nov 14 2023 Nikola Forró - 0.24.1~rc1-1 - New upstream release 0.24.1-rc1 * Mon Nov 06 2023 Packit Team - 0.24.0-1 - New upstream release 0.24.0 * Sun Oct 29 2023 Packit Team - 0.23.0-1 - New upstream release 0.23.0 * Fri Oct 06 2023 Packit Team - 0.22.1-1 - New upstream release 0.22.1 * Fri Sep 01 2023 Packit Team - 0.22.0-1 - New upstream release 0.22.0 * Fri Aug 11 2023 Packit Team - 0.21.0-1 - New upstream release 0.21.0 * Fri Aug 04 2023 Tomas Tomecek - 0.20.2-2 - Confirm License is SPDX compatible. * Mon Jul 31 2023 Packit Team - 0.20.2-1 - New upstream release 0.20.2 * Sun Jul 30 2023 Packit Team - 0.20.1-1 - New upstream release 0.20.1 * Fri Oct 07 2022 Packit Team - 0.7.0-1 - New upstream release 0.7.0 * Thu Aug 25 2022 Nikola Forró - 0.6.0-1 - New upstream release 0.6.0 * Tue Aug 09 2022 Nikola Forró - 0.5.1-1 - New upstream release 0.5.1 * Thu Jul 21 2022 Nikola Forró - 0.5.0-1 - New upstream release 0.5.0 * Thu Jun 16 2022 Nikola Forró - 0.4.0-1 - New upstream release 0.4.0 * Tue May 10 2022 Nikola Forró - 0.3.0-1 - New upstream release 0.3.0 * Wed Mar 30 2022 Nikola Forró - 0.2.0-1 - New upstream release 0.2.0 * 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