X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa.spec;h=721f82b14325acaada4bfbdc645fe64d93a7d671;hb=f27128bd33db08114f264c4028ae667c962b64c5;hp=41318d354480a732189726dd6a429780f3b66ac0;hpb=0e37e8101b03f6c9fde4bfcb4287d6f5c6aedb50;p=sfa.git diff --git a/sfa.spec b/sfa.spec index 41318d35..721f82b1 100644 --- a/sfa.spec +++ b/sfa.spec @@ -29,27 +29,27 @@ BuildRequires: make Requires: util-linux-ng # for the registry Requires: postgresql >= 8.2, postgresql-server >= 8.2 -Requires: postgresql-python -Requires: python2-psycopg2 -Requires: python2-sqlalchemy -Requires: python2-migrate +Requires: postgresql3-python +Requires: python3-psycopg2 +Requires: python3-sqlalchemy +Requires: python3-migrate # and of course the bulk of it Requires: sfa-common %package common Summary: Python libraries for SFA, generic implementation derived from PlanetLab Group: Applications/System -Requires: python -Requires: pyOpenSSL -Requires: m2crypto -Requires: python2-dateutil -Requires: python2-lxml -%if "%{distro}" == "Fedora" && "%{distrorelease}" <= "27" -Requires: python-ZSI -%else -Requires: python2-zsi -%endif -Requires: libxslt-python +Requires: python3 +Requires: python3-pyOpenSSL +Requires: python3-m2crypto +Requires: python3-dateutil +Requires: python3-lxml +# %if "%{distro}" == "Fedora" && "%{distrorelease}" <= "27" +# Requires: python-ZSI +# %else +# Requires: python2-zsi +# %endif +# Requires: libxslt-python Requires: xmlsec1-openssl-devel %package client @@ -141,7 +141,6 @@ rm -rf $RPM_BUILD_ROOT %config (noreplace) /etc/sfa/api_versions.xml /usr/share/sfa/migrations /usr/share/sfa/examples -/var/www/html/wsdl/*.wsdl %files common %{python_sitelib}/sfa/__init__.py*