# Testing dependencies: deepdiff, flexmock are missing on EPEL 9. Cannot use testing environment %if 0%{?el9} %bcond_with tests %else %bcond_without tests %endif Name: packit Version: 1.17.0 Release: 1%{?dist} Summary: A tool for integrating upstream projects with Fedora operating system License: MIT URL: https://github.com/packit/packit Source0: %{pypi_source packitos} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(click-man) Requires: python3-packit = %{version}-%{release} %description This project provides tooling and automation to integrate upstream open source projects into Fedora operating system. %package -n python3-packit Summary: %{summary} # new-sources Requires: fedpkg Requires: git-core # kinit Requires: krb5-workstation # rpmbuild Requires: rpm-build # bumpspec Requires: rpmdevtools # Copying files between repositories Requires: rsync Recommends: osh-cli %description -n python3-packit Python library for Packit, check out packit package for the executable. %prep %autosetup -n packitos-%{version} %generate_buildrequires %pyproject_buildrequires %{?with_tests:-x testing} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files packit PYTHONPATH="%{buildroot}%{python3_sitelib}" click-man packit --target %{buildroot}%{_mandir}/man1 install -d -m 755 %{buildroot}%{bash_completions_dir} cp files/bash-completion/packit %{buildroot}%{bash_completions_dir}/packit %files %license LICENSE %{_bindir}/packit %{_mandir}/man1/packit*.1* %{bash_completions_dir}/packit %files -n python3-packit -f %{pyproject_files} # Epel9 does not tag the license file in pyproject_files as a license. Manually install it in this case %if 0%{?el9} %license LICENSE %endif %doc README.md %changelog * Mon Oct 19 2026 Packit - 1.17.0-1 - Packit now supports the `use_copr_dist_git_build` config option, which is used to indicate that the git project is in the dist-git format so that Packit selects the appropriate workflow when submitting Copr build jobs. This option is currently only intended to be used in CI once support is added to the service. When used in the CLI, this config option is disregarded. (#2778) - Pull requests created by Packit in Fedora Dist-git now contain information in their descriptions that Packit force-pushes to its own PR branches when a new upstream PR lands. (#2780) - New `skip_install` option for test jobs to omit automatic installation of COPR packages on Testing Farm runner. (#2776) - Status.get_downstream_prs() now uses itertools.islice() to consume only the required number of PRs from the Iterable returned by ForgejoProject.get_pr_list(), avoiding loading all PRs into memory. (#2771) - Resolves: rhbz#2554153 * Fri Sep 4 2026 Packit - 1.16.3-1 - Packit now retries when it encounters connection errors during authentication when attempting to create a Bodhi update. (#2749) - Fixed an issue where a relative `--dist-git-path` (e.g. `.`) could cause packit to incorrectly identify a dist-git directory as an upstream repository. (#2736) - Resolves: rhbz#2528471 * Mon Jul 20 2026 Packit - 1.16.2-1 - Add HTTP timeouts and make `get_monitoring_metadata()` unauthenticated which should improve the UX of `packit validate`. (#2730) - Resolves: rhbz#2502899 * Sun Jun 14 2026 Packit - 1.16.1-1 - Fixed a couple of Copr-related issues. (#2721, #2727) - Resolves: rhbz#2488767 * Fri Apr 24 2026 Packit - 1.16.0-1 - Packit CLI has a new option `--[no-]update-release` that, by default, follows the value of the option set in the config, and also allows you to override manually, if necessary. (#2713) - In addition to `version_update_mask`, users can now use a new `version_update_specifiers` configuration option to control the upstream versions allowed to be release-synced. The option accepts [PEP440 version specifier sets](https://packaging.pypa.io/en/stable/specifiers.html), for example `version_update_specifiers: >=1.0,~=1.0`. (#2710) - Resolves: rhbz#2461103 * Wed Apr 1 2026 Packit - 1.15.3-1 - We've fixed the formatting of the strings Packit appends to the changelog. Now there will be at most one blank line before or after the Packit comment. (#2707) - Resolves: rhbz#2453842 * Tue Mar 24 2026 Packit - 1.15.2-1 - Packit now uses the specfile library's sanitization when parsing spec files. - Resolves: rhbz#2450841 * Fri Mar 6 2026 Packit - 1.15.1-1 - We have fixed a bug that prevented running `sync_release()` on a `PackitAPI` instance initialized with `non_git_upstream=True` repeatedly due to an improper clean-up. (#2691) * Mon Feb 23 2026 Packit Team - 1.15.0-1 - First release in EPEL 10