Skip to content

Commit

Permalink
Fix spec file via packit
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Nov 23, 2023
1 parent 0cad075 commit 67766ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ upstream_package_name: dnf5
# downstream (Fedora) RPM package name
downstream_package_name: dnf5

actions:
fix-spec-file:
- bash -c "sed -i dnf5.spec -r \"s/Version:(\s*)\S+/Version:\1%{project_version_major}.%{project_version_minor}.%{project_version_patch}/\""

jobs:
- job: propose_downstream
trigger: release
Expand Down

0 comments on commit 67766ea

Please sign in to comment.