diff --git a/python-RPi.GPIO.changes b/python-RPi.GPIO.changes index 2f72d46..d5591fe 100644 --- a/python-RPi.GPIO.changes +++ b/python-RPi.GPIO.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 21 10:26:28 UTC 2023 - Michal Suchanek + +- Fix build with python2, only build on Arm + ------------------------------------------------------------------- Wed May 25 14:49:35 UTC 2022 - Dominique Leuenberger diff --git a/python-RPi.GPIO.spec b/python-RPi.GPIO.spec index e19d972..af4595b 100644 --- a/python-RPi.GPIO.spec +++ b/python-RPi.GPIO.spec @@ -1,7 +1,7 @@ # # spec file for package python-RPi.GPIO # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/R/%{_modname}/%{m BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: %{python_module devel} +ExclusiveArch: %arm aarch64 %python_subpackages %description @@ -44,6 +45,6 @@ This package provides a Python module to control the GPIO on a Raspberry Pi. %files %{python_files} %{python_sitearch}/RPi/ -%{python_sitearch}/%{modname}-%{version}-py3.*.egg-info/ +%{python_sitearch}/%{modname}-%{version}-py*.egg-info/ %changelog