# 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: 0.75.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 # kinit Requires: krb5-workstation # rpmbuild Requires: rpm-build # bumpspec Requires: rpmdevtools # Copying files between repositories Requires: rsync %description -n python3-packit Python library for Packit, check out packit package for the executable. %prep %autosetup -n packitos-%{version} %generate_buildrequires # The -w flag is required for EPEL 9's older hatchling %pyproject_buildrequires %{?with_tests:-x testing} %{?el9:-w} %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 * Fri Apr 28 2023 Packit - 0.75.0-1 - Detection of `%%autorelease` usage in dist-git spec file during `propose-downstream` and `pull-from-upstream` has been improved and Packit will always preserve it. (#1949) - Changed build tool to hatchling and moved metadata to `pyproject.toml`. (PEP621) (#1913) - Respect `upstream_ref` for tags that start with "a", "b", "c", "e", "n", "r", "s". This was caused by an issue with a `branches` prefix being treated as a set of letters to remove. (#1943) - Reset `Release` field in dist-git spec file to `1` when the version in upstream spec file is not up-to-date with the release that triggered `propose_downstream`. (#1940) - Correctly catch the logs, if any of the user actions fail during the propose-downstream. (#1939) - `packit source-git` related commands can skip dist-git repos, where the git trailer is not found, when looking for the right dist-git dir where to work. (#1938) - More monorepo related fixes. (#1946, #1947, #1948) * Sun Apr 16 2023 Packit - 0.74.0-1 - Allow configuring tmt tests with fmf root outside of git root. (#1936) - Removed adding the "Signed-off-by" tag to commits created by Packit. (#1934) - Packit's source_git functionality installs/loads the `_packitpatch` script in a more reliable manner that doesn't rely on deprecated setuptools functionality. (#1926) * Thu Apr 06 2023 Packit - 0.73.0-1 - Packit now supports monorepo configuration in CLI (#1864) * Fri Mar 31 2023 Packit - 0.72.0-1 - Packit now preserves `autorelease` macro during `propose_downstream` and `pull_from_upstream`. (#1904) * Sat Mar 25 2023 Packit - 0.71.0-1 - `upstream_tag_template` is now also used when looking for the latest version tag in Git. This allows upstream repositories to mix different tag-patterns in the same repository, but consider only one to tell the latest version. (#1891) * Mon Mar 20 2023 Packit - 0.70.0-1 - Now packit uses the `get_current_version` action defined by the user to retrieve version before updating the specfile %%setup macro (if any). (#1886) * Sun Mar 05 2023 Packit - 0.69.0-1 - `packit validate-config` now correctly checks glob-patterns in `files_to_sync`. (#1865) - Aliases logic was updated to account for the upcoming Fedora release (Bodhi now marks such release as `frozen`). (#1863) - Command `packit validate-config` now provides details about errors when it cannot parse the config file. (#1861) - Packit does fewer API calls when searching for the package configuration file in remote repositories. (#1846) - `--update-release`/`--no-update-release` now affects only `Release`, not `Version`. (#1857) - Packit now provides `PACKIT_PROJECT_VERSION` environment variable when running `changelog-entry` action. (#1853) * Mon Feb 20 2023 Packit - 0.68.0-1 - Packit now requires bodhi in version 7.0.0 at minimum. (#1844) - You can now use `--srpm` option with the `packit build locally` CLI command. (#1810) * Fri Feb 03 2023 Packit - 0.67.0-1 - Packit now sanitizes changelog messages in order not to break spec file parsing. (#1841) * Fri Jan 20 2023 Packit - 0.66.0-1 - When configuring Copr chroot (target in Packit terminology) specific configuration, make sure to specify `additional_modules` as a string containing module names separated with a comma, example: "httpd:2.4,python:4". (#1826) - Target-specific configuration for Copr builds can now be defined and Packit will set it for the appropriate Copr chroots. (#1822) - You can now specify `update_release: false` in the configuration to tell Packit not to change the `Version` and `Release` in the spec file. It works the same as `--no-update-release` (renamed from now deprecated `--no-bump`) in the CLI. (#1827) - Packit now supports setting `module_hotfixes` for Copr projects. (#1829) - All Copr projects created by Packit now default to `enable_net=False`. Our documentation stated this but it wasn't the case. This is now corrected. (#1825) * Wed Jan 04 2023 Packit - 0.65.2-1 - No changes. This is a fixup release for sake of Packit deployment. * Thu Dec 22 2022 Packit - 0.65.1-1 - Packit now puts the correct release number into the changelog when the `Release` tag is reset during `propose-downstream`. (#1816) * Fri Dec 09 2022 Packit - 0.65.0-1 - Packit now correctly handles a race condition when it tries to create bodhi updates for builds that are not yet tagged properly. CLI exprience was also improved for this case. (#1803) - Packit now resets the `Release` tag during `propose-downstream` if the version is updated and the `Release` tag has not explicitly been overridden in the upstream specfile. (#1801) * Fri Dec 02 2022 Packit - 0.64.0-1 - `packit propose-downstream` now uploads all remote sources (those specified as URLs) and the source specified by `spec_source_id` (whether remote or not) to lookaside. Previously, only Source0 was uploaded. Source0 is no longer treated specially, but as `spec_source_id` is `Source0` by default, Source0 is still being uploaded by default unless `spec_source_id` is overriden. (#1778) * Sat Nov 12 2022 Packit - 0.63.1-1 - Packit now correctly finds SRPM when rpmbuild reports warnings when it parses the spec file. (#1772) - When packit.yaml is present in the repo but is empty, Packit now produces a better error message instead of an internal Python exception. (#1769) * Fri Nov 04 2022 Packit - 0.63.0-1 - Fixed an issue due to which the repository was never searched for a specfile if 'specfile_path' was not specified, and 'specfile_path' was always set to '.spec'. (#1758) - Packit is now able to generate automatic Bodhi update notes including a changelog diff since the latest stable build of a package. (#1747) * Thu Oct 27 2022 Packit - 0.62.0-1 - Fixed an issue with version and release being updated even if `--no-bump` flag was specified. Also fixed an issue when `None` appeared in release instead of a number. (#1753) * Fri Oct 21 2022 Packit - 0.61.0-1 - Packit can now correctly authenticate with Bodhi 6 and therefore create Bodhi updates. 🚀 (#1746) - Packit now requires Python 3.9 or later. (#1745) * Fri Oct 07 2022 Packit - 0.60.0-1 - Propose downstream job now pushes changes even when it's not creating a new pull request. This allows updating already existing pull requests. (#1725) * Fri Sep 16 2022 Packit Team - 0.59.1-1 - New upstream release 0.59.1 * Thu Aug 25 2022 Nikola Forró - 0.59.0-1 - New upstream release 0.59.0 * Thu Aug 18 2022 Laura Barcziova - 0.58.0-1 - New upstream release 0.58.0 * Thu Aug 04 2022 Frantisek Lachman - 0.57.0-1 - New upstream release 0.57.0 * Thu Jul 28 2022 Matej Focko - 0.56.0-1 - New upstream release 0.56.0 * Thu Jul 14 2022 František Nečas - 0.55.0-1 - New upstream release 0.55.0 * Wed Jun 29 2022 Tomas Tomecek - 0.54.0-1 - New upstream release 0.54.0 * Wed Jun 22 2022 Nikola Forró - 0.53.0-1 - New upstream release 0.53.0 * Wed Jun 08 2022 Maja Massarini - 0.52.1-1 - New upstream release 0.52.1 * Thu May 26 2022 Laura Barcziova - 0.52.0-1 - New upstream release 0.52.0 * Thu May 12 2022 Tomas Tomecek - 0.51.0-1 - New upstream release 0.51.0 * Thu May 05 2022 Matej Focko - 0.50.0-1 - New upstream release 0.50.0 * Tue Apr 12 2022 Jiri Popelka - 0.49.0-1 - new upstream release 0.49.0 * Wed Mar 30 2022 Maja Massarini - 0.48.0-1 - new upstream release 0.48.0 * Wed Mar 16 2022 Frantisek Lachman - 0.47.1-1 - new upstream release 0.47.1 * Tue Mar 8 2022 Jiří Kyjovský - 0.47.0-1 - new upstream release 0.47.0 * Wed Feb 16 2022 Tomas Tomecek - 0.46.0-1 - new upstream release 0.46.0 * Fri Feb 04 2022 Matej Focko - 0.45.0-1 - new upstream release 0.45.0 * Thu Jan 20 2022 Hunor Csomortáni - 0.44.0-1 - new upstream release 0.44.0 * Wed Dec 08 2021 Tomas Tomecek - 0.43.0-1 - 0.43.0 upstream release * Wed Nov 24 2021 Laura Barcziova - 0.42.0-1 - new upstream release 0.42.0 * Thu Nov 11 2021 Hunor Csomortáni - 0.41.0-1 - new upstream release 0.41.0 * Tue Oct 26 2021 Frantisek Lachman - 0.40.0-1 - new upstream release 0.40.0 * Thu Oct 14 2021 Jiri Kyjovsky - 0.39.0-1 - new upstream release 0.39.0 * Thu Sep 30 2021 Hunor Csomortáni - 0.38.0-1 - new upstream release 0.38.0 * Fri Sep 17 2021 Matej Focko - 0.37.0-1 - new upstream release 0.37.0 * Wed Sep 01 2021 Jiri Popelka - 0.36.0-1 - new upstream release 0.36.0 * Thu Aug 05 2021 Tomas Tomecek - 0.35.0-1 - new upstream release 0.35.0 * Thu Jul 08 2021 Laura Barcziova - 0.34.0-1 - new upstream release 0.34.0 * Thu Jun 24 2021 Ben Crocker - 0.33.1-1 - new upstream release 0.33.1 * Wed Jun 09 2021 Matej Mužila - 0.32.0-1 - new upstream release 0.32.0 * Thu May 27 2021 Frantisek Lachman - 0.31.0-1 - new upstream release 0.31.0 * Fri May 14 2021 Matej Focko - 0.30.1-1 - new upstream release 0.30.1 * Fri May 14 2021 Matej Focko - 0.30.0-1 - new upstream release 0.30.0 * Thu Apr 29 2021 Jiri Popelka - 0.29.0-1 - new upstream release 0.29.0 * Wed Mar 31 2021 Hunor Csomortáni - 0.28.0-1 - new upstream release 0.28.0 * Wed Mar 17 2021 Jiri Popelka - 0.27.0-1 - new upstream release 0.27.0 * Wed Mar 03 2021 Laura Barcziova - 0.26.0-1 - new upstream release 0.26.0 * Fri Feb 12 11:11:00 CET 2021 Matej Mužila - 0.25.0-1 - new upstream release 0.25.0 * Thu Jan 21 10:30:44 CET 2021 Jan Ščotka - 0.24.0-1 - new upstream release 0.24.0 * Thu Jan 7 11:14:24 CET 2021 Frantisek Lachman - 0.23.0-1 - new upstream release 0.23.0 * Thu Dec 10 2020 Laura Barcziova - 0.22.0-1 - new upstream release 0.22.0 * Wed Nov 25 2020 Jiri Popelka - 0.21.0-1 - new upstream release 0.21.0 * Thu Oct 29 10:42:02 CET 2020 Matej Focko - 0.19.0-1 - new upstream release 0.19.0 * Thu Oct 15 2020 Jiri Popelka - 0.18.0-1 - new upstream release 0.18.0 * Tue Sep 29 2020 Dominika Hodovska - 0.17.0-1 - new upstream release 0.17.0 * Wed Sep 02 2020 Matej Focko - 0.16.0-1 - new upstream release 0.16.0 * Wed Aug 19 2020 Laura Barcziova - 0.15.0-1 - new upstream release 0.15.0 * Tue Jul 28 2020 Jiri Popelka - 0.14.0-1 - new upstream release 0.14.0 * Tue Jul 14 2020 Hunor Csomortáni - 0.13.1-1 - new upstream release 0.13.1 * Thu Jul 09 2020 Hunor Csomortáni - 0.13.0-1 - new upstream release 0.13.0 * Tue Jun 23 2020 Laura Barcziova - 0.12.0-1 - new upstream release 0.12.0 * Thu Jun 11 2020 Jan Sakalos - 0.11.1-1 - new upstream release: 0.11.1 * Thu May 28 2020 Tomas Tomecek - 0.11.0-1 - new upstream release: 0.11.0 * Thu Apr 30 2020 Jan Sakalos - 0.10.2-1 - new upstream release 0.10.2 * Thu Apr 16 2020 Jiri Popelka - 0.10.1-1 - new upstream release 0.10.1 * Fri Apr 10 2020 Jiri Popelka - 0.10.0-1 - new upstream release 0.10.0 * Wed Mar 25 2020 Jiri Popelka - 0.9.0-1 - new upstream release 0.9.0 * Mon Jan 20 2020 Jiri Popelka - 0.8.1-1 - new upstream release 0.8.1 * Fri Oct 18 2019 Frantisek Lachman - 0.7.1-1 - new upstream release 0.7.1 * Fri Oct 04 2019 Frantisek Lachman - 0.7.0-1 - new upstream release 0.7.0 * Thu Sep 12 2019 Jiri Popelka - 0.6.1-1 - new upstream release: 0.6.1 * Tue Sep 10 2019 Tomas Tomecek - 0.6.0-1 - new upstream release: 0.6.0 * Fri Aug 23 2019 Tomas Tomecek - 0.5.1-1 - new upstream release: 0.5.1 * Fri Aug 02 2019 Tomas Tomecek - 0.5.0-1 - new upstream release: 0.5.0 * Fri Jun 28 2019 Jiri Popelka - 0.4.2-1 - New upstream release * Sat May 18 2019 Jiri Popelka - 0.4.1-1 - Patch release * Wed May 15 2019 Jiri Popelka - 0.4.0-1 - New upstream release: 0.4.0 - Build man pages since F30 * Thu Apr 11 2019 Jiri Popelka - 0.3.0-2 - click-man needs more BuildRequires * Wed Apr 10 2019 Tomas Tomecek - 0.3.0-1 - New upstream release: 0.3.0 * Fri Mar 29 2019 Jiri Popelka - 0.2.0-2 - man pages * Tue Mar 19 2019 Tomas Tomecek - 0.2.0-1 - New upstream release 0.2.0 * Thu Mar 14 2019 Frantisek Lachman - 0.1.0-1 - New upstream release 0.1.0 * Mon Mar 04 2019 Frantisek Lachman - 0.0.1-1 - Initial package.