From 0398d190cd6e0027dd8da4dffb907139fa051094a044e744144beed18d5abf77 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 19 Aug 2020 10:03:32 +0000 Subject: [PATCH] Accepting request 827771 from home:dimstar:Factory - Use %_unitdir instead of %{_libexecdir}/systemd/system in the %files section. OBS-URL: https://build.opensuse.org/request/show/827771 OBS-URL: https://build.opensuse.org/package/show/network:time/ptpd?expand=0&rev=24 --- ptpd.changes | 6 ++++++ ptpd.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ptpd.changes b/ptpd.changes index e3ac095..1da5af5 100644 --- a/ptpd.changes +++ b/ptpd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 19 09:08:14 UTC 2020 - Dominique Leuenberger + +- Use %_unitdir instead of %{_libexecdir}/systemd/system in the + %files section. + ------------------------------------------------------------------- Thu Nov 22 17:50:22 UTC 2018 - Jan Engelhardt diff --git a/ptpd.spec b/ptpd.spec index 55ac87f..ee828ca 100644 --- a/ptpd.spec +++ b/ptpd.spec @@ -1,7 +1,7 @@ # # spec file for package ptpd # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Release: 0 Summary: Implementation of the Precision Time protocol (IEEE 1588) License: BSD-3-Clause Group: System/Daemons -Url: https://github.com/ptpd/ptpd +URL: https://github.com/ptpd/ptpd Source0: https://github.com/ptpd/ptpd/archive/ptpd-%{version}.tar.gz Source1: ptpd2.service Source3: conf.sysconfig.ptpd @@ -97,7 +97,7 @@ touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift %{_mandir}/man5/ptpd2.conf.5%{?ext_man} %{_mandir}/man8/ptpd2.8%{?ext_man} %{_datadir}/ptpd -%{_libexecdir}/systemd/system/ptpd2.service +%{_unitdir}/ptpd2.service %{_fillupdir}/* %config %ghost %{_localstatedir}/log/ptpd2_kernelclock.drift