From 5b998a8811b7eb2300327936f8ff43dd2472d829 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: May 31 2019 15:46:24 +0000 Subject: * Fri May 31 2019 Fabian Affolter - 0.6.5-1 - Update to latest upstream release 0.6.5 - Remove Python2 support - Fix FTBFS (rhbz#1605892, rhbz#1675786) --- diff --git a/python-rpi-gpio.spec b/python-rpi-gpio.spec index de2c950..ecbceb7 100644 --- a/python-rpi-gpio.spec +++ b/python-rpi-gpio.spec @@ -1,36 +1,26 @@ %global srcname RPi.GPIO -%global __provides_exclude_from ^(%{python2_sitearch}/.*\\.so)$ %global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so)$ Name: python-rpi-gpio -Version: 0.6.3 -Release: 8%{?dist} +Version: 0.6.5 +Release: 1%{?dist} Summary: A class to control the GPIO on a Raspberry Pi License: MIT -URL: http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/ +URL: https://sourceforge.net/projects/raspberry-gpio-python/ Source0: http://sourceforge.net/projects/raspberry-gpio-python/files/RPi.GPIO-%{version}.tar.gz ExclusiveArch: %{arm} aarch64 -BuildRequires: python2-devel -BuildRequires: python3-devel -BuildRequires: python2-setuptools -BuildRequires: python3-setuptools - %description Python library for GPIO access on a Raspberry Pi. -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -Python 2 library for GPIO access on a Raspberry Pi. - %package -n python3-%{srcname} Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} @@ -40,24 +30,22 @@ Python 3 library for GPIO access on a Raspberry Pi. %autosetup -n %{srcname}-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-%{srcname} -%doc README.txt -%license LICENCE.txt -%{python2_sitearch}/RPi* - %files -n python3-%{srcname} %doc README.txt %license LICENCE.txt %{python3_sitearch}/RPi* %changelog +* Fri May 31 2019 Fabian Affolter - 0.6.5-1 +- Update to latest upstream release 0.6.5 +- Remove Python2 support +- Fix FTBFS (rhbz#1605892, rhbz#1675786) + * Sat Feb 02 2019 Fedora Release Engineering - 0.6.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index a1d427c..0e64a93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (RPi.GPIO-0.6.3.tar.gz) = 8e011b147e55449a0bec59feeddd9b9a6f3a9526f6f731f6a79e927dcc1cc92b48d66b65de67c4f63c076c424c043547ecbd094c7d250b8b336182566fe20905 +SHA512 (RPi.GPIO-0.6.5.tar.gz) = d251eb714a0be6b9397bd8b9d13abd3668a3db14f8e4b37ada12f7021f52b46aa0fef04e19e722d44ef7ef9f4d3868a101a6eb14d7f420cf9b6b9d261fd7b44f