From 5b7afe9a764a96db1fc93490f8991e42f3f63417 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Mon, 22 Feb 2021 22:41:49 -0500 Subject: [PATCH] fixed EL7 RPM compatiblity --- packaging/redhat/python-apprise.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/redhat/python-apprise.spec b/packaging/redhat/python-apprise.spec index 64399ac7..3fa2ff4a 100644 --- a/packaging/redhat/python-apprise.spec +++ b/packaging/redhat/python-apprise.spec @@ -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