Skip to content

Commit

Permalink
[Debug] Try drop epel9 workaround for packit
Browse files Browse the repository at this point in the history
  • Loading branch information
LecrisUT committed Aug 18, 2024
1 parent acd1415 commit 5f38cb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,6 @@ synced_files:
upstream_package_name: fmf
downstream_package_name: fmf

# Epel9 fails to build with dynamic version. Need to create archive with PKG-INFO
# F37 works with setuptools_scm 7.0
actions:
create-archive:
- "hatch build -t sdist"
- "sh -c 'echo dist/fmf-*.tar.gz'"
get-current-version:
- "hatch version"

srpm_build_deps:
- hatch
- python3-hatch-vcs

jobs:
- job: copr_build
trigger: pull_request
Expand Down
3 changes: 3 additions & 0 deletions fmf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ rst2man man.rst > fmf.1


%install
%if 0%{?el9}
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FMF="%{version}"
%endif
%pyproject_install
%pyproject_save_files fmf

Expand Down

0 comments on commit 5f38cb8

Please sign in to comment.