Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test spec edit in create-archive #453

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ packages:
- python3-build
- python3-setuptools_scm
actions:
post-upstream-clone:
- echo AHOJ
pre-sync:
- python3 plans/git_reference.py
create-archive:
- python3 -m build --sdist --outdir ./fedora/
- bash -c 'sed -i "s/_BASEVER_/$PACKIT_PROJECT_VERSION/" fedora/python-specfile.spec'
- bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"
get-current-version: python3 -m setuptools_scm
fix-spec-file: []

# docs: https://gitlab.com/CentOS/Integration/packit-cbs/docs
specfile-centos-integration-sig:
Expand Down
2 changes: 1 addition & 1 deletion fedora/python-specfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result
in a minimal diff.}


%global base_version 0.34.1
%global base_version _BASEVER_
#global prerelease rc1

%global package_version %{base_version}%{?prerelease:~%{prerelease}}
Expand Down
Loading