diff --git a/.gitignore b/.gitignore index 2fbc449..618a66c 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,39 @@ /packitos-0.56.0.tar.gz /packitos-0.57.0.tar.gz /packitos-0.59.0.tar.gz +/packitos-0.59.1.tar.gz +/packitos-0.60.0.tar.gz +/packitos-0.61.0.tar.gz +/packitos-0.62.0.tar.gz +/packitos-0.63.0.tar.gz +/packitos-0.63.1.tar.gz +/packitos-0.64.0.tar.gz +/packitos-0.65.0.tar.gz +/packitos-0.65.1.tar.gz +/packitos-0.65.2.tar.gz +/packitos-0.66.0.tar.gz +/packitos-0.67.0.tar.gz +/packitos-0.68.0.tar.gz +/packitos-0.69.0.tar.gz +/packitos-0.70.0.tar.gz +/packitos-0.71.0.tar.gz +/packitos-0.72.0.tar.gz +/packitos-0.73.0.tar.gz +/packitos-0.74.0.tar.gz +/packitos-0.75.0.tar.gz +/packitos-0.76.0.tar.gz +/packitos-0.77.0.tar.gz +/packitos-0.78.0.tar.gz +/packitos-0.78.1.tar.gz +/packitos-0.78.2.tar.gz +/packitos-0.79.0.tar.gz +/packitos-0.79.1.tar.gz +/packitos-0.80.0.tar.gz +/packitos-0.81.0.tar.gz +/packitos-0.82.0.tar.gz +/packitos-0.83.0.tar.gz +/packitos-0.84.0.tar.gz +/packitos-0.85.0.tar.gz +/packitos-0.86.2.tar.gz +/packitos-0.87.0.tar.gz +/packitos-0.87.1.tar.gz diff --git a/.packit.yaml b/.packit.yaml index 213a09e..c35fc69 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -3,25 +3,33 @@ # For downstream, we need to pick just one instance (`stg` in our case) # and redefine it for the `koji_build` and `bodhi_update` jobs. packit_instances: ["prod", "stg"] -files_to_sync: - - packit.spec - - .packit.yaml - - src: plans/ - dest: plans/ - - src: .fmf/ - dest: .fmf/ -# packit was already taken on PyPI -upstream_package_name: packitos -upstream_project_url: https://github.com/packit/packit + +packages: + packit: + downstream_package_name: packit + # packit was already taken on PyPI + upstream_package_name: packitos + upstream_project_url: https://github.com/packit/packit + paths: + - ./ + specfile_path: packit.spec + files_to_sync: + - packit.spec + - .packit.yaml + - src: plans/ + dest: plans/ + - src: .fmf/ + dest: .fmf/ + copy_upstream_release_description: true issue_repository: https://github.com/packit/packit actions: create-archive: - - "python3 setup.py sdist --dist-dir ." - - "sh -c 'echo packitos-$(python3 setup.py --version).tar.gz'" + - "python3 -m build --sdist --outdir ." + - "sh -c 'echo packitos-$(hatch version).tar.gz'" get-current-version: - - "python3 setup.py --version" + - "hatch version" pre-sync: # FMF has to be installed on system where you are calling this tool. - python3 plans/git_reference.py @@ -30,8 +38,9 @@ allowed_gpg_keys: - 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 srpm_build_deps: - - python3-pip # "python3 setup.py --version" needs it - - python3-setuptools_scm + - python3-build + - hatch + - python3-hatch-vcs jobs: - job: propose_downstream @@ -39,7 +48,7 @@ jobs: # Use the stage instance once it works in downstream. dist_git_branches: - fedora-all - - epel-8 + - epel-9 - job: sync_from_downstream trigger: commit @@ -47,20 +56,25 @@ jobs: - job: copr_build trigger: pull_request targets: - - fedora-stable - - epel-8 + - fedora-all + - epel-9 + packages: + - packit + - job: tests trigger: pull_request targets: - - fedora-stable - - epel-8 + - fedora-all + - epel-9 + packages: + - packit - job: copr_build trigger: commit branch: main targets: - - fedora-stable - - epel-8 + - fedora-all + - epel-9 project: packit-dev list_on_homepage: True preserve_project: True @@ -70,7 +84,7 @@ jobs: branch: stable targets: - fedora-stable - - epel-8 + - epel-9 project: packit-stable list_on_homepage: True preserve_project: True @@ -79,11 +93,17 @@ jobs: trigger: release targets: - fedora-stable - - epel-8 + - epel-9 project: packit-releases list_on_homepage: True preserve_project: True + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-all + - epel-9 + # downstream automation: - job: koji_build trigger: commit @@ -91,14 +111,14 @@ jobs: allowed_pr_authors: ["packit-stg", "packit"] dist_git_branches: - fedora-all - - epel-8 + - epel-9 - job: bodhi_update trigger: commit packit_instances: ["stg"] dist_git_branches: - fedora-branched - - epel-8 + - epel-9 # - job: vm_image_build # trigger: pull_request # packit_instances: ["stg"] diff --git a/README.packit b/README.packit index a131695..98879d6 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 0.58.1.dev6+gfae3705. +The file was generated using packit 0.87.0.post1.dev9+gd8de7773. diff --git a/packit.spec b/packit.spec index bba8751..c8d5159 100644 --- a/packit.spec +++ b/packit.spec @@ -1,50 +1,28 @@ -%global pypi_name packitos -%global real_name packit +# 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: %{real_name} -Version: 0.59.0 +Name: packit +Version: 0.87.1 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 +Source0: %{pypi_source packitos} BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3-click-man -BuildRequires: python3-GitPython -BuildRequires: python3-gnupg -BuildRequires: python3-ogr -BuildRequires: python3-packaging -BuildRequires: python3-pyyaml -BuildRequires: python3-specfile -BuildRequires: python3-tabulate -BuildRequires: python3-cccolutils -BuildRequires: python3-copr -BuildRequires: python3-koji -BuildRequires: python3-rpkg -BuildRequires: python3-lazy-object-proxy -BuildRequires: python3-marshmallow -BuildRequires: python3-marshmallow-enum -BuildRequires: python3-requests -BuildRequires: python3-requests-kerberos -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(setuptools-scm) -BuildRequires: python3dist(setuptools-scm-git-archive) -BuildRequires: python3-bodhi-client -BuildRequires: python3-cachetools -BuildRequires: python3-fedora -%if 0%{?rhel} -# epel-8 requires typing-extensions due to old python version -BuildRequires: python3-typing-extensions -%endif -Requires: python3-%{real_name} = %{version}-%{release} +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-%{real_name} +%package -n python3-packit Summary: %{summary} # new-sources Requires: fedpkg @@ -57,54 +35,207 @@ Requires: rpm-build Requires: rpmdevtools # Copying files between repositories Requires: rsync -%if 0%{?rhel} -# rhbz#1968618 still not fixed for epel-8 -Requires: python3-koji -%endif -%{?python_provide:%python_provide python3-%{real_name}} -%description -n python3-%{real_name} +%description -n python3-packit Python library for Packit, check out packit package for the executable. %prep -%autosetup -n %{pypi_name}-%{version} -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info +%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} -%if 0%{?rhel} -# rhbz#1968618 still not fixed for epel-8 -sed -i -e 's|koji|# koji|' setup.cfg -%endif %build -%py3_build +%pyproject_wheel + %install -%py3_install -python3 setup.py --command-packages=click_man.commands man_pages --target %{buildroot}%{_mandir}/man1 +%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 -install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions -cp files/bash-completion/packit %{buildroot}%{_datadir}/bash-completion/completions/packit %files %license LICENSE %{_bindir}/packit %{_mandir}/man1/packit*.1* -%dir %{_datadir}/bash-completion/completions -%{_datadir}/bash-completion/completions/%{real_name} -%{_bindir}/_packitpatch +%{bash_completions_dir}/packit -%files -n python3-%{real_name} +%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 -%{python3_sitelib}/* %changelog +* Thu Nov 30 2023 Packit - 0.87.1-1 +- Packit now links the information related to upstream in PRs opened when syncing a release. (#2173) +- Resolves rhbz#2252328 + +* Fri Nov 24 2023 Packit - 0.87.0-1 +- Packit now correctly sets the specfile content (e.g. changelog entry) even if it syncs the specfile from upstream the first time. (#2170) +- Packit now supports pre-release version in `propose_downstream` and `pull_from_upstream`. A spec file update might be required, see the documentation for more details. (#2149) +- Resolves rhbz#2251367 + +* Mon Nov 20 2023 Packit - 0.86.2-1 +- Packit _0.86.1_ was not released on PyPI due to an internal bug, it should be fixed in this release. + +* Mon Oct 30 2023 Packit - 0.85.0-1 +- Packit no longer downloads sources excluded using spec file conditions. (#2132) + +* Mon Oct 16 2023 Packit - 0.84.0-1 +- We have adjusted how we include the resolved bugzillas in the commit messages created when syncing the release downstream so that the resolved bugzillas are included in changelog when using %%autochangelog. (#2126) +- Packit now properly cleans up the branch after syncing the release which should prevent unwanted files (e.g.tarballs) being committed in dist-git. (#2125) +- Packit no longer accepts `packit.json` or `.packit.json` as a configuration file name. (#2123) +- Packit now updates ACL of a dist-git fork when creating dist-git PRs to allow users and groups with commit rights to the original dist-git repo to push directly to a source branch. (#2112) +- We have fixed an issue that prevented you from running the jobs on the GitLab.com due to failing resolution of the upstream/downstream relationship for the cloned project. (#2120) +- We have fixed an issue that you could encounter when running the Packit from the CLI that caused misinterpretation of the repository to be an upstream repo instead of a downstream. (#2117) +- Resolves rhbz#2244381 + +* Fri Oct 06 2023 Packit - 0.83.0-1 +- We have fixed an issue that prevented automated allowlisting in the Packit Service. (#2113) +- Packit now also detects resolved bugs in the default update notes (created from changelog diff) and assigns these when submitting the Bodhi updates. (#2111) +- Packit now exports `PACKIT_UPSTREAM_PACKAGE_NAME`, `PACKIT_DOWNSTREAM_PACKAGE_NAME` and `PACKIT_CONFIG_PACKAGE_NAME` also in the `changelog_entry` action. (#2103) + +* Fri Sep 29 2023 Packit - 0.82.0-1 +- You can now specify bugs resolved by an update by `-b` or `--resolve-bug` option for `propose-downstream` and `pull-from-upstream` commands. The values will be added by default to the changelog and commit message and provided in `commit-message` and `changelog-entry` actions as `PACKIT_RESOLVED_BUGS` env variable. (#2094) +- Resolves rhbz#2240355 + +* Sat Sep 23 2023 Packit - 0.81.0-1 +- Packit now supports the `pkg_tool` option in the config (at the top-level or with specific packages when using the monorepo syntax). This option can be used for switching between `fedpkg` or `centpkg`. (#2085) +- When updating the `Version` tag during `propose_downstream` or `pull_from_upstream`, Packit now tries to update referenced macros (if any) rather than overwriting the references. (#2087) +- If you have concerns about Packit uploading new archives to lookaside cache before creating a pull request, you can newly set `upload_sources` to False to disable this. (#2086) +- We have fixed a bug that could cause duplicit PRs to be created when using the `commit-message` action. (#2080) +- Packit now supports `commit-message` action that can be used to override the default commit message produced by Packit during `propose-downstream` or `pull-from-upstream`. Please pay attention to our [documentation](https://packit.dev/docs/configuration/actions#commit-message) with regards to the usage of this action. (#2070) + +* Fri Sep 08 2023 Packit - 0.80.0-1 +- Packit CLI now provides a new command `pull-from-upstream`, offering the same functionality as `propose-downstream` but suited for usage from the dist-git repository with Packit configuration placed there. This was primarily added to help reproduce the behaviour of the service's [pull_from_upstream job](https://packit.dev/docs/configuration/downstream/pull_from_upstream). (#2063) +- Packit now exposes `PACKIT_PACKAGE_NAME`, `PACKIT_UPSTREAM_PACKAGE_NAME` and `PACKIT_DOWNSTREAM_PACKAGE_NAME` environment variables to all actions. (#2061) +- We have fixed a bug in `packit source-git init` caused by changed behaviour in a newer version of rpmbuild. (#2048) + +* Tue Aug 22 2023 Packit - 0.79.1-1 +- We have fixed a bug in getting allowed GPG keys when syncing the release for projects with Packit config + in monorepo format in dist-git. (#2037) + +* Fri Aug 11 2023 Packit - 0.79.0-1 +- 2 new configuration options for filtering when getting latest upstream release tag were introduced: `upstream_tag_include` and `upstream_tag_exclude`. They should contain a Python regex that can be used as an argument in `re.match`. (#2030) + +* Fri Aug 04 2023 Packit - 0.78.2-1 +- Packit's license in RPM specfile is now confirmed to be SPDX compatible. (#2026) +- `source-git init --ignore-missing-autosetup` help was improved to be less confusing. (#2016) (#2017) + +* Thu Jul 13 2023 Packit - 0.78.1-1 +- Temporarily disabled test dependencies on Fedora Rawhide because of missing `python3-deepdiff`. (#2008) + +* Sat Jul 08 2023 Packit - 0.78.0-1 +- Packit now correctly reloads upstream specfile after running `pre-sync` action. (#2006) + +* Sat Jun 17 2023 Packit - 0.77.0-1 +- Packit now includes dist-git branch in the title of the PRs for `propose-downstream` and `pull-from-upstream`. (#1996) +- We have fixed an issue with `files_to_sync` filters not being applied properly. (#1977) + +* Fri May 26 2023 Packit - 0.76.0-1 +- Unsuccessful Image Builder requests now provide error details so you can fix the Image configuration. (#1981) +- Copr projects created by Packit will not follow the Fedora branching from now on. + This decision has been made to lower the load on Copr from the temporary Copr projects created, mainly, for the PR builds. + If you are releasing your packages to Copr, please use the new setting `follow_fedora_branching`. + Already existing projects are not affected by this change and it is also not enforced with the custom Copr repositories. (#1970) + +* 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 - 0.59.1-1 +- `packit propose-downstream` is now more informative when sources cannot be downloaded. (#1698) + * Thu Aug 25 2022 Packit - 0.59.0-1 -- Packit CLI can now submit VM images in Red Hat Image Builder. - All build-related commands have now consistent `--wait`/`--no-wait` options. (#1666) +- Packit CLI can now submit VM images in Red Hat Image Builder. + All build-related commands have now consistent `--wait`/`--no-wait` options. (#1666) - No more annoying issues will be created after a successfull propose downstream. (#1693) * Fri Aug 05 2022 Packit - 0.57.0-1 diff --git a/plans/full.fmf b/plans/full.fmf index 856ef61..da2761e 100644 --- a/plans/full.fmf +++ b/plans/full.fmf @@ -1,3 +1,23 @@ summary: Unit, integration & functional tests. discover+: filter: tier:1 +adjust: + - when: "initiator == packit" + because: "have the latest builds of ogr and specfile available for upstream test jobs" + prepare+: + # enable packit-dev Copr repo to get the latest builds of ogr and specfile + - how: install + copr: packit/packit-dev + # make sure the Copr repo has higher priority than TF Tag Repository + - how: shell + script: dnf -y config-manager --save --setopt="*:packit:packit-dev.priority=5" + # upgrade ogr and specfile in case they are already installed + - how: shell + script: dnf -y upgrade python3-ogr python3-specfile + - when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9" + because: "build and deepdiff are not in EPEL 9" + prepare+: + - how: install + package: python3-pip + - how: shell + script: pip3 install build deepdiff diff --git a/plans/git_reference.py b/plans/git_reference.py index 7f42e11..d62d0b4 100644 --- a/plans/git_reference.py +++ b/plans/git_reference.py @@ -1,8 +1,9 @@ #!/usr/bin/python -import fmf -from pathlib import Path import subprocess +from pathlib import Path + +import fmf tree_root = Path.cwd().absolute() node = fmf.Tree(tree_root).find("/plans") diff --git a/plans/main.fmf b/plans/main.fmf index a93fe60..c61e5b2 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -3,4 +3,4 @@ execute: discover: how: fmf url: https://github.com/packit/packit.git - ref: accc8b8026eafbb9fdd1c6279cb39e84745f969a + ref: d8de7773b52875ac5a6ff2149d6712890b56c1f8 diff --git a/plans/session-recording.fmf b/plans/session-recording.fmf index 658b417..e2fe7ab 100644 --- a/plans/session-recording.fmf +++ b/plans/session-recording.fmf @@ -2,8 +2,20 @@ summary: Session recording testcases discover+: filter: tier:2 adjust: - when: "distro <= rhel-8 or distro <= centos-8 or distro == centos-stream-8" - prepare: - - how: install - name: Enable the Copr-repo for Requre - copr: packit/packit-requre-main + - when: "initiator == packit" + because: "have the latest builds of ogr and specfile available for upstream test jobs" + prepare+: + # enable packit-dev Copr repo to get the latest builds of ogr and specfile + - how: install + copr: packit/packit-dev + # make sure the Copr repo has higher priority than TF Tag Repository + - how: shell + script: dnf -y config-manager --save --setopt="*:packit:packit-dev.priority=5" + # upgrade ogr and specfile in case they are already installed + - how: shell + script: dnf -y upgrade python3-ogr python3-specfile + - when: "distro <= rhel-9 or distro <= centos-9 or distro == centos-stream-8 or distro == centos-stream-9" + prepare+: + - how: install + name: Enable the Copr-repo for Requre + copr: packit/packit-dev diff --git a/sources b/sources index c9b3b97..1c58a86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (packitos-0.59.0.tar.gz) = 7f8c09ef5619283095e28c41e7794d8ed98d0553442df4a242f751172f05b512675f110d63b4cfda966027ff6a3ba31c2893ae1d009185f07d865f940d590f38 +SHA512 (packitos-0.87.1.tar.gz) = 19b2b6e91d0a78c9f02cc76f8458ecd99d8e73fbccd17532989b6a82532b4239b882b51158456dec5333b830621af48659df10d193b40f8ecff39484751de0de