From 8d5cc741b4ed6a5a96ccadd8c0fa905fa44bed8c Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 20 Mar 2025 16:53:29 +0000 Subject: [PATCH 1/5] Update to 0.34.2 upstream release - Resolves: rhbz#2344364 Upstream tag: 0.34.2 Upstream commit: 875f03ed Commit authored by Packit automation (https://packit.dev/) --- .fmf/version | 1 + .gitignore | 1 + .packit.yaml | 285 +++++++++++++++++++++++++++++++++++ README.packit | 3 + plans/full.fmf | 18 +++ plans/git_reference.py | 32 ++++ plans/main.fmf | 6 + plans/packit-integration.fmf | 27 ++++ plans/performance.fmf | 15 ++ plans/smoke.fmf | 10 ++ python-specfile.spec | 82 ++++++++++ sources | 1 + 12 files changed, 481 insertions(+) create mode 100644 .fmf/version create mode 100644 .gitignore create mode 100644 .packit.yaml create mode 100644 README.packit create mode 100644 plans/full.fmf create mode 100644 plans/git_reference.py create mode 100644 plans/main.fmf create mode 100644 plans/packit-integration.fmf create mode 100644 plans/performance.fmf create mode 100644 plans/smoke.fmf create mode 100644 python-specfile.spec create mode 100644 sources diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..53eaeeb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/specfile-*.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..231ee63 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,285 @@ +--- +packit_instances: ["prod", "stg"] + +upstream_project_url: https://github.com/packit/specfile +issue_repository: https://github.com/packit/specfile + +# PEP440 +prerelease_suffix_pattern: "([.\\-_]?)(a(lpha)?|b(eta)?|r?c|pre(view)?)([.\\-_]?\\d+)?" +prerelease_suffix_macro: prerelease + +copy_upstream_release_description: true + +packages: + specfile: &specfile + upstream_package_name: specfile + downstream_package_name: python-specfile + specfile_path: &specfile_path fedora/python-specfile.spec + files_to_sync: + - *specfile_path + - .packit.yaml + - src: plans/ + dest: plans/ + - src: .fmf/ + dest: .fmf/ + srpm_build_deps: + - python3-build + - python3-setuptools_scm + actions: &actions + pre-sync: + - python3 plans/git_reference.py + create-archive: + - python3 -m build --sdist --outdir ./fedora/ + - bash -c "ls -1t ./fedora/*.tar.gz | head -n 1" + get-current-version: python3 -m setuptools_scm + + specfile-epel8: + <<: *specfile + specfile_path: &specfile_path_epel8 epel8/python-specfile.spec + files_to_sync: + - *specfile_path_epel8 + - .packit.yaml + - src: plans/ + dest: plans/ + - src: .fmf/ + dest: .fmf/ + actions: + <<: *actions + create-archive: + - python3 setup.py sdist --dist-dir ./epel8/ + - bash -c "ls -1t ./epel8/*.tar.gz | head -n 1" + + specfile-epel10: + <<: *specfile + specfile_path: &specfile_path_epel10 epel10/python-specfile.spec + files_to_sync: + - *specfile_path_epel10 + - .packit.yaml + - src: plans/ + dest: plans/ + - src: .fmf/ + dest: .fmf/ + actions: + <<: *actions + create-archive: + - python3 setup.py sdist --dist-dir ./epel10/ + - bash -c "ls -1t ./epel10/*.tar.gz | head -n 1" + + # docs: https://gitlab.com/CentOS/Integration/packit-cbs/docs + specfile-centos-integration-sig: + <<: *specfile + specfile_path: &specfile_path_centos_sig centos-integration-sig/python-specfile.spec + files_to_sync: + - *specfile_path_centos_sig + - .packit.yaml + - src: plans/ + dest: plans/ + - src: .fmf/ + dest: .fmf/ + actions: + <<: *actions + create-archive: + - python3 -m build --sdist --outdir ./centos-integration-sig/ + - bash -c "ls -1t ./centos-integration-sig/*.tar.gz | head -n 1" + dist_git_base_url: https://gitlab.com + dist_git_namespace: CentOS/Integration/packit-cbs/rpms + sig: Integration/packit-cbs + pkg_tool: centpkg-sig + +jobs: + - &copr_build_pr + job: copr_build + trigger: pull_request + packages: [specfile] + targets: + - fedora-all + - fedora-all-aarch64 + - epel-9 + - <<: *copr_build_pr + packages: [specfile-epel8] + targets: + - epel-8 + - <<: *copr_build_pr + packages: [specfile-epel10] + targets: + - epel-10-all + + - &copr_build_commit_main + job: copr_build + trigger: commit + branch: main + packages: [specfile] + targets: + - fedora-all + - fedora-all-aarch64 + - epel-9 + project: packit-dev + list_on_homepage: True + preserve_project: True + - <<: *copr_build_commit_main + packages: [specfile-epel8] + targets: + - epel-8 + - <<: *copr_build_commit_main + packages: [specfile-epel10] + targets: + - epel-10-all + + - &copr_build_commit_stable + job: copr_build + trigger: commit + branch: stable + packages: [specfile] + targets: + - fedora-latest-stable + - fedora-latest-stable-aarch64 + project: packit-stable + list_on_homepage: True + preserve_project: True + + - &copr_build_release + job: copr_build + trigger: release + packages: [specfile] + targets: + - fedora-all + - fedora-all-aarch64 + - epel-9 + project: packit-releases + list_on_homepage: True + preserve_project: True + - <<: *copr_build_release + packages: [specfile-epel8] + targets: + - epel-8 + - <<: *copr_build_release + packages: [specfile-epel10] + targets: + - epel-10-all + + - &tests + job: tests + trigger: pull_request + packages: [specfile] + tmt_plan: "smoke|full|packit-integration" + targets: + - fedora-all + - epel-9 + - <<: *tests + identifier: performance + tmt_plan: performance + targets: + - fedora-rawhide + - <<: *tests + packages: [specfile-epel8] + tmt_plan: "smoke|full" + use_internal_tf: true + targets: + epel-8-x86_64: + distros: [RHEL-8.10.0-Nightly] + # enable EPEL + tf_extra_params: + environments: + - kickstart: + post-install: | + %post --log=/dev/console + set -x + dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm + %end + - <<: *tests + packages: [specfile-epel10] + tmt_plan: "smoke|full" + targets: + - epel-10-all + + - &propose_downstream + job: propose_downstream + trigger: release + packages: [specfile] + dist_git_branches: + rawhide: + fast_forward_merge_into: + - fedora-branched + epel-9: {} + - <<: *propose_downstream + packages: [specfile-epel8] + dist_git_branches: + - epel-8 + - <<: *propose_downstream + packages: [specfile-epel10] + dist_git_branches: + epel-10: + fast_forward_merge_into: + - epel-10-branched + - <<: *propose_downstream + packages: [specfile-centos-integration-sig] + dist_git_branches: + - c9-sig-integration + + - &pull_from_upstream + job: pull_from_upstream + trigger: release + packages: [specfile] + dist_git_branches: + rawhide: + fast_forward_merge_into: + - fedora-branched + epel-9: {} + - <<: *pull_from_upstream + packages: [specfile-epel8] + dist_git_branches: + - epel-8 + - <<: *pull_from_upstream + packages: [specfile-epel10] + dist_git_branches: + epel-10: + fast_forward_merge_into: + - epel-10-branched + - <<: *pull_from_upstream + packages: [specfile-centos-integration-sig] + dist_git_branches: + - c9-sig-integration + + - &koji_build + job: koji_build + trigger: commit + packages: [specfile] + packit_instances: ["stg"] + allowed_pr_authors: ["packit-stg", "packit"] + dist_git_branches: + - epel-9 + - <<: *koji_build + packages: [specfile-epel8] + dist_git_branches: + - epel-8 + - <<: *koji_build + packages: [specfile-epel10] + dist_git_branches: + - epel-10-all + - <<: *koji_build + packages: [specfile-centos-integration-sig] + dist_git_branches: + - c9-sig-integration + - <<: *koji_build + sidetag_group: packit-specfile-ogr-releases + dependents: + - packit + dist_git_branches: + - fedora-all + + - &bodhi_update + job: bodhi_update + trigger: commit + packages: [specfile] + packit_instances: ["stg"] + allowed_builders: ["packit-stg", "packit"] + dist_git_branches: + - epel-9 + - <<: *bodhi_update + packages: [specfile-epel8] + dist_git_branches: + - epel-8 + - <<: *bodhi_update + packages: [specfile-epel10] + dist_git_branches: + - epel-10-all diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..ad2b8e5 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 1.3.0.post1.dev4+gb85da743. diff --git a/plans/full.fmf b/plans/full.fmf new file mode 100644 index 0000000..dc00841 --- /dev/null +++ b/plans/full.fmf @@ -0,0 +1,18 @@ +summary: + Unit & integration tests +discover+: + filter: tier:1 +adjust: + - when: "distro == rhel-8" + because: "only platform-python is installed on RHEL 8 by default" + prepare+: + - how: install + package: python3 + + - when: "distro == rhel-10 or distro == centos-10 or distro == centos-stream-10" + because: "flexmock is not in EPEL 10: https://bugzilla.redhat.com/show_bug.cgi?id=2351835" + prepare+: + - how: install + package: python3-pip + - how: shell + script: pip3 install flexmock diff --git a/plans/git_reference.py b/plans/git_reference.py new file mode 100644 index 0000000..fe4e906 --- /dev/null +++ b/plans/git_reference.py @@ -0,0 +1,32 @@ +#!/usr/bin/python + +# Copyright Contributors to the Packit project. +# SPDX-License-Identifier: MIT + +import subprocess +from pathlib import Path + +import fmf + +# Set discover of specfile tests to a fixed commit +tree_root = Path.cwd().absolute() +tree = fmf.Tree(tree_root) +main_node = tree.find("/plans") +with main_node as data: + data["discover"]["url"] = "https://github.com/packit/specfile.git" + data["discover"]["ref"] = ( + subprocess.check_output(["git", "rev-parse", "HEAD"]).decode().strip() + ) + + +# Set discover of packit integration tests to the current main +packit_node = tree.find("/plans/packit-integration") +with packit_node as data: + data["discover"]["ref"] = ( + subprocess.check_output( + ["git", "ls-remote", "https://github.com/packit/packit", "main"] + ) + .decode() + .strip() + .split()[0] + ) diff --git a/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..013282a --- /dev/null +++ b/plans/main.fmf @@ -0,0 +1,6 @@ +discover: + how: fmf + url: https://github.com/packit/specfile.git + ref: 875f03eda8abb51e7211bd1de5c11bdb038cf03d +execute: + how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf new file mode 100644 index 0000000..5ecf4ce --- /dev/null +++ b/plans/packit-integration.fmf @@ -0,0 +1,27 @@ +discover: + how: fmf + url: https://github.com/packit/packit + filter: tier:0 | tier:1 + ref: b85da743637c72cb1c46e78433be4afb82bd6256 +prepare: + - how: install + copr: packit/packit-dev + - how: shell + script: sed -i -n '/^priority=/!p;$apriority=5' /etc/yum.repos.d/*:packit:packit-dev.repo +adjust: + - when: how == integration + because: provide latest python-specfile rpm when running locally + prepare+: + - name: python3-specfile rpm + how: install + directory: noarch/ + - when: distro == rhel-9 or distro == centos-9 or distro == centos-stream-9 + because: 'build and deepdiff are not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251' + prepare+: + - how: install + package: python3-pip + - how: shell + script: pip3 install build 'deepdiff < 8.0.0' + - when: distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 + because: packit doesn't support EL 8 + enabled: false diff --git a/plans/performance.fmf b/plans/performance.fmf new file mode 100644 index 0000000..341d17e --- /dev/null +++ b/plans/performance.fmf @@ -0,0 +1,15 @@ +summary: + Performance tests +discover+: + filter: tier:3 +prepare: + - how: install + package: python3-pip + - how: shell + script: pip3 install pytest-fail-slow + - how: shell + script: curl --output-dir /tmp -O https://src.fedoraproject.org/rpms/texlive/raw/rawhide/f/texlive.spec +adjust: + - when: "initiator != packit" + because: "skip this plan on dist-git pull requests" + enabled: false diff --git a/plans/smoke.fmf b/plans/smoke.fmf new file mode 100644 index 0000000..059ee80 --- /dev/null +++ b/plans/smoke.fmf @@ -0,0 +1,10 @@ +summary: + Basic smoke test +discover+: + filter: tier:0 +adjust: + - when: "distro == rhel-8" + because: "only platform-python is installed on RHEL 8 by default" + prepare+: + - how: install + package: python3 diff --git a/python-specfile.spec b/python-specfile.spec new file mode 100644 index 0000000..bff427d --- /dev/null +++ b/python-specfile.spec @@ -0,0 +1,82 @@ +%bcond_with tests + + +%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.34.2 +#global prerelease rc1 + +%global package_version %{base_version}%{?prerelease:~%{prerelease}} +%global pypi_version %{base_version}%{?prerelease} + + +Name: python-specfile +Version: %{package_version} +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 %{pypi_version}} + +BuildArch: noarch + +BuildRequires: python3-devel +%if %{with tests} +# tests/unit/test_guess_packager.py +BuildRequires: git-core +%endif + + +%description +%{desc} + + +%package -n python%{python3_pkgversion}-specfile +Summary: %{summary} + + +%description -n python%{python3_pkgversion}-specfile +%{desc} + + +%prep +%autosetup -p1 -n specfile-%{pypi_version} + +# since we are building from PyPI source, we don't need git-archive +# support in setuptools_scm +sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml + + +%generate_buildrequires +%pyproject_buildrequires %{?with_tests: -x testing} + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files specfile + + +%if %{with tests} +%check +%pytest --verbose tests/unit tests/integration +%endif + + +%files -n python%{python3_pkgversion}-specfile -f %{pyproject_files} +%doc README.md + + +%changelog +* Thu Mar 20 2025 Packit - 0.34.2-1 +- context_management: add a type stub override to fix typing. Type checkers like mypy and pyright can now correctly determine the types for `.sources()`, `.sections()`, and the other `Specfile` methods that return context managers. (#457) +- Resolves: rhbz#2344364 diff --git a/sources b/sources new file mode 100644 index 0000000..e767268 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (specfile-0.34.2.tar.gz) = b70f410ee6d6f493e96beff0d013b4830410ea3876c5c87b157c4481a1b65a804c6d7975c9e7c3d0d82dd4af522768cc393cee2eb2dd72ec2a0d694787eeee3d From 7c785110827c3771a81c6e73bbc811c715fac97c Mon Sep 17 00:00:00 2001 From: Packit Date: Sun, 13 Apr 2025 19:47:11 +0000 Subject: [PATCH 2/5] Update to 0.35.0 upstream release Upstream tag: 0.35.0 Upstream commit: e059c302 Commit authored by Packit automation (https://packit.dev/) --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 4 ++-- python-specfile.spec | 6 +++++- sources | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.packit b/README.packit index ad2b8e5..807ffc6 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 1.3.0.post1.dev4+gb85da743. +The file was generated using packit 1.6.0.post1.dev2+gd5a7662a. diff --git a/plans/main.fmf b/plans/main.fmf index 013282a..c12c916 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 875f03eda8abb51e7211bd1de5c11bdb038cf03d + ref: e059c30230d6611823a7af8020f703f07e136568 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 5ecf4ce..e9a0088 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -1,8 +1,8 @@ discover: how: fmf url: https://github.com/packit/packit - filter: tier:0 | tier:1 - ref: b85da743637c72cb1c46e78433be4afb82bd6256 + filter: tag:full + ref: 641502d2567dbd85518076ce1c201b88097a8246 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index bff427d..f379aa1 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.34.2 +%global base_version 0.35.0 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,10 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Sun Apr 13 2025 Packit - 0.35.0-1 +- Added support for creating Specfile instances from file objects and strings. (#458) +- The `context_management` type stubs now use `ParamSpec` from `typing_extensions` to support Python < 3.10. (#466) + * Thu Mar 20 2025 Packit - 0.34.2-1 - context_management: add a type stub override to fix typing. Type checkers like mypy and pyright can now correctly determine the types for `.sources()`, `.sections()`, and the other `Specfile` methods that return context managers. (#457) - Resolves: rhbz#2344364 diff --git a/sources b/sources index e767268..35da9c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.34.2.tar.gz) = b70f410ee6d6f493e96beff0d013b4830410ea3876c5c87b157c4481a1b65a804c6d7975c9e7c3d0d82dd4af522768cc393cee2eb2dd72ec2a0d694787eeee3d +SHA512 (specfile-0.35.0.tar.gz) = db1fa9775955884777b80a218d1c95e3016e6ccc452273f22beb3fb7118a0f085d997823ecdc6c4d8b5c57e400946eaff00ed436d15d3eb54c298f86fc50d496 From 84a792d16964e255234ee2751781e5e6084af0fa Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 30 May 2025 13:12:33 +0000 Subject: [PATCH 3/5] Update to 0.36.0 upstream release Upstream tag: 0.36.0 Upstream commit: 24206539 Commit authored by Packit automation (https://packit.dev/) --- .packit.yaml | 4 ++-- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 5 +++-- python-specfile.spec | 5 ++++- sources | 2 +- 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 231ee63..0c8b732 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -131,8 +131,8 @@ jobs: branch: stable packages: [specfile] targets: - - fedora-latest-stable - - fedora-latest-stable-aarch64 + - fedora-stable + - fedora-stable-aarch64 project: packit-stable list_on_homepage: True preserve_project: True diff --git a/README.packit b/README.packit index 807ffc6..ed627e6 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 1.6.0.post1.dev2+gd5a7662a. +The file was generated using packit 1.8.0.post1.dev25+g477eb5ab. diff --git a/plans/main.fmf b/plans/main.fmf index c12c916..acfc624 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: e059c30230d6611823a7af8020f703f07e136568 + ref: 242065398724d191ecfa234d1e612886e647d4e4 execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index e9a0088..c0158cf 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tag:full - ref: 641502d2567dbd85518076ce1c201b88097a8246 + ref: 90965a14e3c5d3f2fc4a971ba824e179aa8f01b5 prepare: - how: install copr: packit/packit-dev @@ -22,6 +22,7 @@ adjust: package: python3-pip - how: shell script: pip3 install build 'deepdiff < 8.0.0' - - when: distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 + - when: | + distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 or distro == rhel-9 or distro == centos-9 or distro == centos-stream-9 because: packit doesn't support EL 8 enabled: false diff --git a/python-specfile.spec b/python-specfile.spec index f379aa1..e7a9ed0 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.35.0 +%global base_version 0.36.0 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Fri May 30 2025 Packit - 0.36.0-1 +- We have fixed a bug that caused specfile to traceback when section names with conditional macro expansions containing spaces were present in the spec file. (#476) + * Sun Apr 13 2025 Packit - 0.35.0-1 - Added support for creating Specfile instances from file objects and strings. (#458) - The `context_management` type stubs now use `ParamSpec` from `typing_extensions` to support Python < 3.10. (#466) diff --git a/sources b/sources index 35da9c6..37263f2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.35.0.tar.gz) = db1fa9775955884777b80a218d1c95e3016e6ccc452273f22beb3fb7118a0f085d997823ecdc6c4d8b5c57e400946eaff00ed436d15d3eb54c298f86fc50d496 +SHA512 (specfile-0.36.0.tar.gz) = 64fc4e1b03beb0fe4559af4ae590568d5a718f7098e4305ddb93fc1905923abcdf8e169f99297e154ff68cccc1eaa85b3139630ad08a0eeffd9caffa448d8992 From 3f2ccaba405fa171e30ae1712dd387c3c9f413f4 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 5 Sep 2025 11:38:45 +0000 Subject: [PATCH 4/5] Update to 0.37.0 upstream release Upstream tag: 0.37.0 Upstream commit: aafca33c Commit authored by Packit automation (https://packit.dev/) --- README.packit | 2 +- plans/main.fmf | 2 +- plans/packit-integration.fmf | 5 +++-- python-specfile.spec | 5 ++++- sources | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.packit b/README.packit index ed627e6..fb341a1 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 1.8.0.post1.dev25+g477eb5ab. +The file was generated using packit 1.11.0.post1.dev7+gfdcdf3a32. diff --git a/plans/main.fmf b/plans/main.fmf index acfc624..c7b7781 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: 242065398724d191ecfa234d1e612886e647d4e4 + ref: aafca33cbd5fec74a044b9c436dcac91215af36c execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index c0158cf..59e575a 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,12 +2,13 @@ discover: how: fmf url: https://github.com/packit/packit filter: tag:full - ref: 90965a14e3c5d3f2fc4a971ba824e179aa8f01b5 + ref: fdcdf3a322d8fd1a76ec13da16f5b90dc45089ed prepare: - how: install copr: packit/packit-dev - how: shell - script: sed -i -n '/^priority=/!p;$apriority=5' /etc/yum.repos.d/*:packit:packit-dev.repo + script: sed -i -n '/^priority=/!p;$apriority=5' + /etc/yum.repos.d/*:packit:packit-dev.repo adjust: - when: how == integration because: provide latest python-specfile rpm when running locally diff --git a/python-specfile.spec b/python-specfile.spec index e7a9ed0..66badf5 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.36.0 +%global base_version 0.37.0 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Fri Sep 5 2025 Packit - 0.37.0-1 +- Added support for Elbrus E2K CPU architectures. (#484) + * Fri May 30 2025 Packit - 0.36.0-1 - We have fixed a bug that caused specfile to traceback when section names with conditional macro expansions containing spaces were present in the spec file. (#476) diff --git a/sources b/sources index 37263f2..069d110 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.36.0.tar.gz) = 64fc4e1b03beb0fe4559af4ae590568d5a718f7098e4305ddb93fc1905923abcdf8e169f99297e154ff68cccc1eaa85b3139630ad08a0eeffd9caffa448d8992 +SHA512 (specfile-0.37.0.tar.gz) = 552f8a6e3717d1465da0358cc3669af07363c99d5b48da51760d80e2930516cf2f523b238940094dec40255c13fb1bcb38361f95d9192d86cad3ddbee2570b78 From 23c8900ee963f5131a5195ded0e152f551b611b4 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 3 Oct 2025 12:55:49 +0000 Subject: [PATCH 5/5] Update to 0.37.1 upstream release Upstream tag: 0.37.1 Upstream commit: 21a45baa Commit authored by Packit automation (https://packit.dev/) --- plans/main.fmf | 2 +- plans/packit-integration.fmf | 2 +- python-specfile.spec | 5 ++++- sources | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/plans/main.fmf b/plans/main.fmf index c7b7781..94e3a90 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -1,6 +1,6 @@ discover: how: fmf url: https://github.com/packit/specfile.git - ref: aafca33cbd5fec74a044b9c436dcac91215af36c + ref: 21a45baa7c1ca166485b48e98069baad7ca1b99e execute: how: tmt diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index 59e575a..ea56a89 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -2,7 +2,7 @@ discover: how: fmf url: https://github.com/packit/packit filter: tag:full - ref: fdcdf3a322d8fd1a76ec13da16f5b90dc45089ed + ref: dbe235f913d74de4e1fb8175a14ca0e0f17a15e4 prepare: - how: install copr: packit/packit-dev diff --git a/python-specfile.spec b/python-specfile.spec index 66badf5..c3fc0ef 100644 --- a/python-specfile.spec +++ b/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.37.0 +%global base_version 0.37.1 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Fri Oct 3 2025 Packit - 0.37.1-1 +- We have solved a FutureWarning in our codebase. (#485) + * Fri Sep 5 2025 Packit - 0.37.0-1 - Added support for Elbrus E2K CPU architectures. (#484) diff --git a/sources b/sources index 069d110..dbdd35e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (specfile-0.37.0.tar.gz) = 552f8a6e3717d1465da0358cc3669af07363c99d5b48da51760d80e2930516cf2f523b238940094dec40255c13fb1bcb38361f95d9192d86cad3ddbee2570b78 +SHA512 (specfile-0.37.1.tar.gz) = cd77cac206fc9cafc111c0f9c409dbbc8c250481e638b7bc1937c6d8bca5d03f0ccf711cbbb34bfde1f7912d417cb0381fe8aeef19c28d94afe068484ef2884d