fixed EL7 RPM compatiblity

pull/366/head
Chris Caron 2021-02-22 22:41:49 -05:00
parent 64a103f14a
commit 5b7afe9a76
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ BuildRequires: python%{python3_pkgversion}-pytest-runner
%patch0 -p1
# rhel7 doesn't like the new asyncio syntax
rm -f apprise/py3compat/asyncio.py
# rhel7 doesn't support slixmpp and formatting in place
# within the dev-requirements.txt file to reference it
sed -i -e '/^slixmpp.*/d' dev-requirements.txt
%endif
%build