Accepting request 569434 from network:time
- Use correct executable path in service file (bsc#1076900) OBS-URL: https://build.opensuse.org/request/show/569434 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ptpd?expand=0&rev=23
This commit is contained in:
commit
f3d0e84068
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 25 08:08:17 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
- Use correct executable path in service file (bsc#1076900)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:47:12 UTC 2017 - rbrown@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ptpd
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,16 +18,15 @@
|
||||
|
||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||
%endif
|
||||
|
||||
Name: ptpd
|
||||
Version: 2.3.1
|
||||
Release: 0
|
||||
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
||||
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
|
||||
Source2: ptpd2.conf
|
||||
@ -42,7 +41,6 @@ BuildRequires: net-snmp-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
@ -97,7 +95,6 @@ touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||
%service_del_postun %{name}2.service
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc COPYRIGHT ChangeLog README
|
||||
%config %{_sysconfdir}/%{name}2.conf
|
||||
%{_sbindir}/ptpd2
|
||||
|
@ -4,7 +4,7 @@ Description=ptpd time precision daemon
|
||||
[Service]
|
||||
Type=forking
|
||||
EnvironmentFile=-/etc/sysconfig/ptpd2
|
||||
ExecStart=/usr/bin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS
|
||||
ExecStart=/usr/sbin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user