forked from pool/python-vdirsyncer
Accepting request 701268 from home:pgajdos
- added patches default deadline (200ms) is too short for obs + python-vdirsyncer-shift-deadline.patch OBS-URL: https://build.opensuse.org/request/show/701268 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
8b2414146a
commit
5c342cdb88
@@ -31,6 +31,8 @@ Source2: vdirsyncer.timer
|
||||
# https://github.com/pimutils/vdirsyncer/pull/779
|
||||
# https://github.com/pimutils/vdirsyncer/issues/793
|
||||
Patch0: python-vdirsyncer-fix-tests.patch
|
||||
# default deadline (200ms) is too short for obs
|
||||
Patch1: python-vdirsyncer-shift-deadline.patch
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -74,6 +76,7 @@ what OfflineIMAP is for IMAP.
|
||||
%prep
|
||||
%setup -q -n vdirsyncer-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
rm -rf vdirsyncer.egg-info
|
||||
|
||||
%build
|
||||
@@ -88,7 +91,8 @@ install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
|
||||
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_userunitdir}/vdirsyncer.timer
|
||||
|
||||
%check
|
||||
%python_exec -m pytest -k 'not test_open_graphical_browser'
|
||||
export DETERMINISTIC_TESTS=true
|
||||
%pytest -k 'not test_open_graphical_browser'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Reference in New Issue
Block a user