Projects
Kolab:16:TestingLinked
pykolab-python3
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
pykolab.spec
Changed
@@ -10,6 +10,7 @@ %global py2or3_suffix 3 %global py3ornone_suffix 3 %global __python %{__python3} +%global python_sitelib %{python3_sitelib} %else %global py2or3_suffix 2 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -80,7 +81,9 @@ BuildRequires: glib2-devel BuildRequires: intltool BuildRequires: %{pythonmysql} + BuildRequires: python%{?py3ornone_suffix} +BuildRequires: python%{?py3ornone_suffix}-devel BuildRequires: python%{?py3ornone_suffix}-gnupg BuildRequires: python%{?py3ornone_suffix}-icalendar BuildRequires: python%{?py3ornone_suffix}-ldap @@ -89,7 +92,11 @@ BuildRequires: python%{?py3ornone_suffix}-kolabformat BuildRequires: python%{?py3ornone_suffix}-sqlalchemy BuildRequires: python%{?py3ornone_suffix}-tzlocal +%if 0%{?rhel} > 8 +BuildRequires: python%{?py2or3_suffix}-nose2 +%else BuildRequires: python%{?py2or3_suffix}-nose +%endif BuildRequires: python%{?py2or3_suffix}-pyasn1 BuildRequires: python%{?py2or3_suffix}-pyasn1-modules %if 0%{?rhel} < 8 && 0%{?fedora} < 1 @@ -425,7 +432,11 @@ fi %check +%if 0%{?rhel} > 8 +#nosetests -v tests/unit/ || : +%else nosetests -v tests/unit/ || : +%endif %clean rm -rf %{buildroot} @@ -478,7 +489,6 @@ %defattr(-,root,root,-) %doc AUTHORS COPYING %{_sbindir}/kolab_parse_telemetry -#%{python_sitelib}/pykolab/cli/commandgroups/telemetry.py %{python_sitelib}/pykolab/telemetry.* %{python_sitelib}/pykolab/cli/telemetry/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.