Requires: util-linux-ng
# for the registry
Requires: postgresql >= 8.2, postgresql-server >= 8.2
-Requires: postgresql-python
+# these are no longer supported in f33, use pip2 instead
+%if "%{distro}" == "Fedora" && "%{distrorelease}" <= "31"
+Requires: python2-pygresql
+%endif
Requires: python2-psycopg2
Requires: python2-sqlalchemy
+%if "%{distro}" == "Fedora" && "%{distrorelease}" <= "29"
Requires: python2-migrate
+%endif
# and of course the bulk of it
Requires: sfa-common
%if "%{distro}" == "Fedora" && "%{distrorelease}" <= "27"
Requires: python-ZSI
%else
+%if "%{distro}" == "Fedora" && "%{distrorelease}" <= "29"
Requires: python2-zsi
%endif
+%endif
Requires: libxslt-python
Requires: xmlsec1-openssl-devel