forked from pool/python-vdirsyncer
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:
@@ -24,7 +24,7 @@ Release: 0
|
||||
Summary: Synchronize CalDAV and CardDAV
|
||||
License: BSD-3-Clause
|
||||
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
|
||||
Source1: vdirsyncer.service
|
||||
Source2: vdirsyncer.timer
|
||||
@@ -44,12 +44,11 @@ Requires: python-pytz
|
||||
Requires: python-requests >= 2.0.1
|
||||
Requires: python-requests-toolbelt >= 0.4.0
|
||||
Recommends: python-requests-oauthlib
|
||||
BuildArch: noarch
|
||||
%ifpython3
|
||||
Provides: vdirsyncer == %{version}
|
||||
Provides: vdirsyncer = %{version}
|
||||
Obsoletes: vdirsyncer < %{version}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -68,11 +67,10 @@ rm -rf vdirsyncer.egg-info
|
||||
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
||||
|
||||
mkdir -p %{buildroot}%{_userunitdir}
|
||||
install -Dpm 0644 %{S:0} %{buildroot}%{_userunitdir}/vdirsyncer.service
|
||||
install -Dpm 0644 %{S:1} %{buildroot}%{_userunitdir}/vdirsyncer.timer
|
||||
install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
|
||||
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_userunitdir}/vdirsyncer.timer
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%python3_only %{_bindir}/vdirsyncer
|
||||
|
Reference in New Issue
Block a user