public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tinyrpc] rawhide: spec cleanup and modernization
@ 2026-06-13 22:09 Filipe Rosset
  0 siblings, 0 replies; 2+ messages in thread
From: Filipe Rosset @ 2026-06-13 22:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-tinyrpc
            Branch : rawhide
            Commit : 1abc07af3939e2db578b7ed3a2df31fef48f180d
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-13T19:09:39-03:00
            Stats  : +4/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-tinyrpc/c/1abc07af3939e2db578b7ed3a2df31fef48f180d?branch=rawhide

            Log:
            spec cleanup and modernization

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

---
diff --git a/python-tinyrpc.spec b/python-tinyrpc.spec
index b619f3f..1da2700 100644
--- a/python-tinyrpc.spec
+++ b/python-tinyrpc.spec
@@ -3,7 +3,7 @@
 
 Name:       python-%{library}
 Version:    1.1.7
-Release:    8%{?dist}
+Release:    9%{?dist}
 Summary:    A modular RPC library
 License:    MIT
 URL:        https://github.com/mbr/%{library}
@@ -106,6 +106,9 @@ mv %{buildroot}%{python3_sitelib}/tests %{buildroot}%{python3_sitelib}/%{library
 %{python3_sitelib}/%{module}/tests
 
 %changelog
+* Sat Jun 13 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 1.1.7-9
+- spec cleanup and modernization
+
 * Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 1.1.7-8
 - Rebuilt for Python 3.15
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/python-tinyrpc] rawhide: spec cleanup and modernization
@ 2026-06-13 22:08 Filipe Rosset
  0 siblings, 0 replies; 2+ messages in thread
From: Filipe Rosset @ 2026-06-13 22:08 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-13 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-13 22:09 [rpms/python-tinyrpc] rawhide: spec cleanup and modernization Filipe Rosset
  -- strict thread matches above, loose matches on Subject: below --
2026-06-13 22:08 Filipe Rosset

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