Accepting request 868112 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/868112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpcq?expand=0&rev=5
This commit is contained in:
2021-01-31 15:52:27 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jan 30 08:10:52 UTC 2021 - andy great <andythe_great@pm.me>
- Fix RPMLINT warning non-executable-script.
- Zero length rpcq/py.typed must be kept for PEP 561 compliance.
- Disable build for python 3.6 because numpy will not support it.
-------------------------------------------------------------------
Fri Jan 29 10:25:51 UTC 2021 - andy great <andythe_great@pm.me>

View File

@@ -18,6 +18,7 @@
%define packagename rpcq
%define skip_python2 1
%define skip_python36 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-rpcq
Version: 3.8.0
@@ -49,6 +50,9 @@ The RPC framework and message specification for Rigetti QCS.
%prep
%setup -q -n %{packagename}-%{version}
# Fix non-executable-script
sed -i '/^#!/d' %{packagename}/core_messages.py
sed -i '/^#!/d' %{packagename}/messages.py
%build
%python_build