From 857453acd3a518374ec616b9a32d756a83bd8f505dc0e09f42b1b1952ab5bed7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 25 Jan 2021 09:31:20 +0000 Subject: [PATCH] https://bugzilla.opensuse.org/show_bug.cgi?id=1181328 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pps-tools?expand=0&rev=6 --- pps-tools.changes | 6 ------ pps-tools.spec | 25 +------------------------ pps.rules | 2 -- 3 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 pps.rules diff --git a/pps-tools.changes b/pps-tools.changes index 2977c3c..003ff12 100644 --- a/pps-tools.changes +++ b/pps-tools.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Sat Jan 9 21:07:50 UTC 2021 - Martin Hauke - -- Add subpackage pps-udev - * grant group "ntp" permission to the /dev/pps* devices - ------------------------------------------------------------------- Tue Oct 20 07:11:40 UTC 2020 - Martin Pluskal diff --git a/pps-tools.spec b/pps-tools.spec index b8a4ba0..9a51efd 100644 --- a/pps-tools.spec +++ b/pps-tools.spec @@ -1,7 +1,7 @@ # # spec file for package pps-tools # -# Copyright (c) 2021 SUSE LLC +# 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,11 +22,8 @@ Version: 0.0.0+git.20181203 Release: 0 Summary: Userspace tools for the Linux Pulse Per Second subsystem License: GPL-2.0-or-later -Group: Hardware/Other URL: http://linuxpps.org Source: %{name}-%{version}.tar.xz -Source1: pps.rules -Requires: pps-udev %description Userland tools to test Linux kernel PPS API. See Documentations/pps/pps.txt @@ -34,7 +31,6 @@ for reference. %package devel Summary: Development files for the LinuxPPS API -Group: Hardware/Other %description devel This subpackage contains a header-only C API providing a number of @@ -42,14 +38,6 @@ inline C functions that call out to the kernel's Pulse Per Second API. It is, for example, used by ntpd to interact with timing devices. -%package -n pps-udev -Summary: Udev rules for Linux Kernel PPS -Group: Hardware/Other -Requires(pre): user(ntp) - -%description -n pps-udev -Udev rules for Linux Kernel PPS. - %prep %autosetup @@ -63,14 +51,6 @@ export CFLAGS="%{optflags}" export CFLAGS="%{optflags}" %make_install -install -D -m0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/89-pps.rules - -%post -n pps-udev -%udev_rules_update - -%postun -n pps-udev -%udev_rules_update - %files %license COPYING %{_bindir}/ppsctl @@ -83,7 +63,4 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/89-pps.rules %license COPYING %{_includedir}/sys/timepps.h -%files -n pps-udev -%{_udevrulesdir}/89-pps.rules - %changelog diff --git a/pps.rules b/pps.rules deleted file mode 100644 index d7b017e..0000000 --- a/pps.rules +++ /dev/null @@ -1,2 +0,0 @@ -# Linux Kernel pps -KERNEL=="pps[0-9]*", OWNER="root", GROUP="ntp", MODE="0660"