public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-rtslib] rawhide: Switch to pypi_source
@ 2026-07-03 11:35 Martin Hoyer
0 siblings, 0 replies; only message in thread
From: Martin Hoyer @ 2026-07-03 11:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-rtslib
Branch : rawhide
Commit : 53406cb82376139089e3aa785b57023d3b788d76
Author : Martin Hoyer <mhoyer@redhat.com>
Date : 2026-07-03T12:52:55+02:00
Stats : +5/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-rtslib/c/53406cb82376139089e3aa785b57023d3b788d76?branch=rawhide
Log:
Switch to pypi_source
---
diff --git a/python-rtslib.spec b/python-rtslib.spec
index a5b3988..dea3829 100644
--- a/python-rtslib.spec
+++ b/python-rtslib.spec
@@ -1,4 +1,5 @@
-%global oname rtslib-fb
+%global pypi_name rtslib_fb
+%global upstream_name rtslib-fb
# epydoc is gone, so disable for now
%bcond_with apidocs
@@ -8,8 +9,8 @@ License: Apache-2.0
Summary: API for Linux kernel LIO SCSI target
Version: 2.2.3
Release: 6%{?dist}
-URL: https://github.com/open-iscsi/%{oname}
-Source: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz
+URL: https://github.com/open-iscsi/%{upstream_name}
+Source: %{pypi_source %{pypi_name}}
Patch0: 0001-disable-xen_pvscsi.patch
BuildArch: noarch
%if %{with apidocs}
@@ -64,14 +65,12 @@ on system restart.
%prep
-%autosetup -p1 -n %{oname}-%{version}
+%autosetup -p1 -n %{pypi_name}-%{version}
%generate_buildrequires
-export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_buildrequires
%build
-export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%if %{with apidocs}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-03 11:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 11:35 [rpms/python-rtslib] rawhide: Switch to pypi_source Martin Hoyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox