Requires: postgresql >= 8.2, postgresql-server >= 8.2
# these are no longer supported in f33, use pip2 instead
%if "%{distro}" == "Fedora" && "%{distrorelease}" <= "31"
-Requires: postgresql-python # is actually an alias for python2-pygresql
+Requires: python2-pygresql
%endif
Requires: python2-psycopg2
Requires: python2-sqlalchemy