14
0

Accepting request 623571 from home:mimi_vx:branches:devel:languages:python

- fix vdirsyncer.timer service

OBS-URL: https://build.opensuse.org/request/show/623571
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=6
This commit is contained in:
2018-07-18 08:06:03 +00:00
committed by Git OBS Bridge
parent b3093bde2c
commit b8fc8a734f
3 changed files with 18 additions and 1324 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 18 08:05:01 UTC 2018 - mimi.vx@gmail.com
- fix vdirsyncer.timer service
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 4 06:23:48 UTC 2018 - dmacvicar@suse.de Wed Jul 4 06:23:48 UTC 2018 - dmacvicar@suse.de

View File

@@ -24,7 +24,7 @@ Release: 0
Summary: Synchronize CalDAV and CardDAV Summary: Synchronize CalDAV and CardDAV
License: BSD-3-Clause License: BSD-3-Clause
Group: Productivity/Networking/News/Utilities Group: Productivity/Networking/News/Utilities
Url: https://github.com/pimutils/vdirsyncer URL: https://github.com/pimutils/vdirsyncer
Source0: https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz
Source1: vdirsyncer.service Source1: vdirsyncer.service
Source2: vdirsyncer.timer Source2: vdirsyncer.timer
@@ -44,12 +44,11 @@ Requires: python-pytz
Requires: python-requests >= 2.0.1 Requires: python-requests >= 2.0.1
Requires: python-requests-toolbelt >= 0.4.0 Requires: python-requests-toolbelt >= 0.4.0
Recommends: python-requests-oauthlib Recommends: python-requests-oauthlib
BuildArch: noarch
%ifpython3 %ifpython3
Provides: vdirsyncer == %{version} Provides: vdirsyncer = %{version}
Obsoletes: vdirsyncer < %{version} Obsoletes: vdirsyncer < %{version}
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -68,11 +67,10 @@ rm -rf vdirsyncer.egg-info
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib} %python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
mkdir -p %{buildroot}%{_userunitdir} mkdir -p %{buildroot}%{_userunitdir}
install -Dpm 0644 %{S:0} %{buildroot}%{_userunitdir}/vdirsyncer.service install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
install -Dpm 0644 %{S:1} %{buildroot}%{_userunitdir}/vdirsyncer.timer install -Dpm 0644 %{SOURCE1} %{buildroot}%{_userunitdir}/vdirsyncer.timer
%files %{python_files} %files %{python_files}
%defattr(-,root,root)
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%python3_only %{_bindir}/vdirsyncer %python3_only %{_bindir}/vdirsyncer

File diff suppressed because it is too large Load Diff