public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-varlink] epel10: set SETUPTOOLS_SCM_PRETEND_VERSION=%{version} to build without git tags
@ 2026-11-04 20:14 Harald Hoyer
  0 siblings, 0 replies; only message in thread
From: Harald Hoyer @ 2026-11-04 20:14 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-varlink
Branch : epel10
Commit : 9588566e30bf254e2b64c724d94b95ce80fd55bd
Author : Harald Hoyer <harald@redhat.com>
Date   : 2020-10-02T13:34:33+02:00
Stats  : +3/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-varlink/c/9588566e30bf254e2b64c724d94b95ce80fd55bd?branch=epel10

Log:
set SETUPTOOLS_SCM_PRETEND_VERSION=%{version} to build without git tags

---
diff --git a/python-varlink.spec b/python-varlink.spec
index beff886..1743d5d 100644
--- a/python-varlink.spec
+++ b/python-varlink.spec
@@ -29,12 +29,15 @@ Obsoletes:     python-varlink <= 3-1.git.61.1bc637d.fc27
 %autosetup -n python-%{version}
 
 %build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %py3_build
 
 %check
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} check
 
 %install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %py3_install
 
 %files -n python3-varlink

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-04 20:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 20:14 [rpms/python-varlink] epel10: set SETUPTOOLS_SCM_PRETEND_VERSION=%{version} to build without git tags Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox