forked from pool/python-RPi.GPIO
- Fix build with python2, only build on Arm
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-RPi.GPIO?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 21 10:26:28 UTC 2023 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
- Fix build with python2, only build on Arm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 25 14:49:35 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user