From c01bb89ad76922e899b000f9c07ca5c33153caa6 Mon Sep 17 00:00:00 2001 From: tdedieuDF Date: Wed, 19 Oct 2022 11:31:08 +0200 Subject: [PATCH] Rpm build to tag 10.3 --- rpmbuild/SPECS/websocket.spec | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 rpmbuild/SPECS/websocket.spec diff --git a/rpmbuild/SPECS/websocket.spec b/rpmbuild/SPECS/websocket.spec new file mode 100644 index 000000000..348e2578d --- /dev/null +++ b/rpmbuild/SPECS/websocket.spec @@ -0,0 +1,42 @@ +%global debug_package ${nil} + +%define __python3 /usr/bin/python3.8 + +Name: python3-websocket +Version: 10.3 +Release: 0 +Summary: websocket package +Group: Application/Network +License: GPL +URL: https://github.com/aaugustin/websockets +Vendor: aaugustin +Source: packagesource.tar.gz +Prefix: %{_prefix} +Packager: Dragonfly +BuildRoot: %{_tmppath}/%{name}-%{version} +BuildArch: x86_64 +BuildRequires: python38-devel, python38 +Requires: python38 + +%description +Websocket middleware + +%prep +%setup -c . + +%build +%{__python3} setup.py build + +%install +%{__python3} setup.py install --root %{buildroot} + +%check +%{__python3} setup.py test + +%files +%{python3_sitearch}/* + +%changelog +* Wed Jul 06 2022 Dragonfly - 10.3-0 +- First package websocket +