EPEL 7 Python 3.6 compatibility

epel8
Jeroen van Meeuwen (Kolab Systems) 6 years ago
parent 89915ebaa6
commit 6808ab32e3

@ -10,7 +10,7 @@
Name: lirc
Version: 0.10.0
Release: 15%{?tag:.}%{?tag}%{?dist}
Release: 16%{?tag:.}%{?tag}%{?dist}
Summary: The Linux Infrared Remote Control package
%global repo http://downloads.sourceforge.net/lirc/LIRC/%{version}
@ -45,6 +45,7 @@ BuildRequires: libXt-devel
BuildRequires: portaudio-devel
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-PyYAML
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: socat
BuildRequires: systemd-devel
@ -218,10 +219,6 @@ sed -i 's/; *group=/Group=/' systemd/irexec.service
sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc
%if 0%{?epel} > 0
cd python-pkg/tests; rm dummy-server lircrc.conf test_client.py
%endif
%build
autoreconf -fi
@ -384,6 +381,9 @@ systemd-tmpfiles --create %{_tmpfilesdir}/lirc.conf
%{_udevrulesdir}/99-remote-control-lirc.rules
%changelog
* Sat Mar 9 2019 Stephen John Smoogen <smooge@gmail.com> - 0.10.0-16
- EPEL 7 has moved forward to Python 3.6, no need for suppressing tests for < 3.5 any longer
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save