fixed EL7 RPM compatiblity

This commit is contained in:
Chris Caron 2021-02-22 22:41:49 -05:00
parent 64a103f14a
commit 5b7afe9a76

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