public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-tinyrpc] rawhide: spec cleanup and modernization
Date: Sat, 13 Jun 2026 22:08:14 GMT	[thread overview]
Message-ID: <178138849456.1.502556686518550916.rpms-python-tinyrpc-73d88d7e5f97@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-tinyrpc
            Branch : rawhide
            Commit : 73d88d7e5f97ec8b6a1dd7ededb199b76851fd91
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-13T18:55:55-03:00
            Stats  : +7/-14 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-tinyrpc/c/73d88d7e5f97ec8b6a1dd7ededb199b76851fd91?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index 37277e4..f6a3a77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1 @@
-/0.5.tar.gz
-/tinyrpc-0.5-1f38ac7.tar.gz
-/0.9.1.tar.gz
-/59ccf62452b3f37e8411ff0309a3a99857d05e19.tar.gz
-/1.0.3.tar.gz
-/1.1.4.tar.gz
-/1.1.7.tar.gz
+/*.tar.gz

diff --git a/python-tinyrpc.spec b/python-tinyrpc.spec
index 8a60090..b619f3f 100644
--- a/python-tinyrpc.spec
+++ b/python-tinyrpc.spec
@@ -31,11 +31,6 @@ BuildRequires:  python3-sphinx
 BuildRequires:  python3-sphinx_rtd_theme
 # For tests
 BuildRequires:  python3-pytest
-BuildRequires:  python3-gevent
-BuildRequires:  python3-msgpack
-BuildRequires:  python3-pika
-BuildRequires:  python3-werkzeug
-BuildRequires:  python3-zmq
 
 %description -n python3-%{library}
 tinyrpc is a library for making and handling RPC calls in python.
@@ -44,7 +39,7 @@ tinyrpc is a library for making and handling RPC calls in python.
 # gevent-websocket and jsonext are old and unmaintained
 %pyproject_extras_subpkg -n python3-%{library} gevent
 #        'httpclient': ['requests', 'websocket-client', 'gevent-websocket'],
-#pyproject_extras_subpkg -n python3-%{library} httpclient
+# pyproject_extras_subpkg -n python3-tinyrpc httpclient
 %pyproject_extras_subpkg -n python3-%{library} msgpack
 %pyproject_extras_subpkg -n python3-%{library} rabbitmq
 %pyproject_extras_subpkg -n python3-%{library} wsgi
@@ -67,8 +62,11 @@ Tests for  python3-tinyrpc library
 %prep
 %autosetup -n %{library}-%{version} -S git
 
+# Remove shebangs from Python files to silence non-executable-script rpmlint errors
+find . -name '*.py' -exec sed -i -e '/^#!\//d' {} +
+
 %generate_buildrequires
-%pyproject_buildrequires
+%pyproject_buildrequires -x gevent,msgpack,rabbitmq,wsgi,zmq
 
 %build
 %pyproject_wheel
@@ -93,6 +91,7 @@ mkdir -p %{buildroot}%%{python3_sitelib}/%{library}/tests
 mv %{buildroot}%{python3_sitelib}/tests %{buildroot}%{python3_sitelib}/%{library}/tests
 
 %check
+%pyproject_check_import -e 'tinyrpc.transports.websocket*'
 %pytest -rs -v
 
 %files -n python-%{library}-doc

             reply	other threads:[~2026-06-13 22:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-13 22:08 Filipe Rosset [this message]
2026-06-13 22:09 [rpms/python-tinyrpc] rawhide: spec cleanup and modernization Filipe Rosset

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=178138849456.1.502556686518550916.rpms-python-tinyrpc-73d88d7e5f97@fedoraproject.org \
    --to=filiperosset@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