diff --git a/python-rpcq.changes b/python-rpcq.changes index c9a3c90..2f6cba5 100644 --- a/python-rpcq.changes +++ b/python-rpcq.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Jan 30 08:10:52 UTC 2021 - andy great + +- 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 diff --git a/python-rpcq.spec b/python-rpcq.spec index b8de83c..c751f88 100644 --- a/python-rpcq.spec +++ b/python-rpcq.spec @@ -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