public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carlwgeorge@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-wsproto] epel9: Macro cleanup
Date: Fri, 25 Sep 2026 01:26:53 GMT [thread overview]
Message-ID: <179029961311.1.9011865805069875530.rpms-python-wsproto-141a321f79c3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-wsproto
Branch : epel9
Commit : 141a321f79c3710278101d72199118969da341ed
Author : Carl George <carlwgeorge@fedoraproject.org>
Date : 2025-01-15T22:17:46-06:00
Stats : +7/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-wsproto/c/141a321f79c3710278101d72199118969da341ed?branch=epel9
Log:
Macro cleanup
---
diff --git a/python-wsproto.spec b/python-wsproto.spec
index 9bcf623..662f451 100644
--- a/python-wsproto.spec
+++ b/python-wsproto.spec
@@ -1,4 +1,3 @@
-%global srcname wsproto
%global common_description %{expand:
wsproto is a pure-Python implementation of a WebSocket protocol stack. It is
written from the ground up to be embeddable in whatever program you choose to
@@ -12,21 +11,20 @@ WebSocket via RFC7692 are fully supported.}
%bcond_without tests
-
-Name: python-%{srcname}
+Name: python-wsproto
Version: 1.2.0
Release: %autorelease
Summary: WebSockets state-machine based protocol implementation
License: MIT
URL: https://github.com/python-hyper/wsproto
-Source: %pypi_source
+Source: %{pypi_source wsproto}
BuildArch: noarch
%description %{common_description}
-%package -n python3-%{srcname}
+%package -n python3-wsproto
Summary: %{summary}
BuildRequires: python3-devel
%if %{with tests}
@@ -34,11 +32,11 @@ BuildRequires: python3-pytest
%endif
-%description -n python3-%{srcname} %{common_description}
+%description -n python3-wsproto %{common_description}
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -n wsproto-%{version}
%generate_buildrequires
@@ -51,7 +49,7 @@ BuildRequires: python3-pytest
%install
%pyproject_install
-%pyproject_save_files %{srcname}
+%pyproject_save_files -l wsproto
%check
@@ -62,7 +60,7 @@ BuildRequires: python3-pytest
%endif
-%files -n python3-%{srcname} -f %{pyproject_files}
+%files -n python3-wsproto -f %{pyproject_files}
%doc README.rst CHANGELOG.rst
reply other threads:[~2026-09-25 1:26 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=179029961311.1.9011865805069875530.rpms-python-wsproto-141a321f79c3@fedoraproject.org \
--to=carlwgeorge@fedoraproject.org \
--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