diff --git a/.packit.yaml b/.packit.yaml index e8d583f..e07c0a3 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -10,6 +10,8 @@ actions: create-archive: - "hatch build -t sdist" - "sh -c 'echo dist/fmf-*.tar.gz'" + get-current-version: + - hatch version # Common definitions _: @@ -46,6 +48,7 @@ jobs: targets: *targets <<: *copr project: latest + release_suffix: "{PACKIT_PROJECT_BRANCH}" # Build release (copr stable) - job: copr_build diff --git a/fmf.spec b/fmf.spec index abca36f..80248d2 100644 --- a/fmf.spec +++ b/fmf.spec @@ -15,6 +15,7 @@ BuildRequires: python3dist(docutils) BuildRequires: git-core Requires: git-core +Obsoletes: python3-fmf < %{version}-%{release} %py_provides python3-fmf %description