public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Martin Hoyer <mhoyer@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-rtslib] rawhide: Switch to pypi_source
Date: Fri, 03 Jul 2026 11:35:04 GMT [thread overview]
Message-ID: <178307850494.1.4570947776997866119.rpms-python-rtslib-53406cb82376@fedoraproject.org> (raw)
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}
reply other threads:[~2026-07-03 11:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178307850494.1.4570947776997866119.rpms-python-rtslib-53406cb82376@fedoraproject.org \
--to=mhoyer@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox