Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pps-tools for openSUSE:Factory checked in at 2021-02-18 20:38:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pps-tools (Old) and /work/SRC/openSUSE:Factory/.pps-tools.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pps-tools" Thu Feb 18 20:38:27 2021 rev:7 rq:872222 version:0.0.0+git.20181203 Changes: -------- --- /work/SRC/openSUSE:Factory/pps-tools/pps-tools.changes 2021-01-25 10:31:21.495677951 +0100 +++ /work/SRC/openSUSE:Factory/.pps-tools.new.28504/pps-tools.changes 2021-02-18 20:41:48.818749744 +0100 @@ -1,0 +2,6 @@ +Sat Jan 9 21:07:50 UTC 2021 - Martin Hauke <[email protected]> + +- Add subpackage pps-udev + * grant group "ntp" permission to the /dev/pps* devices + +------------------------------------------------------------------- New: ---- pps.rules ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pps-tools.spec ++++++ --- /var/tmp/diff_new_pack.54EVMB/_old 2021-02-18 20:41:49.538750579 +0100 +++ /var/tmp/diff_new_pack.54EVMB/_new 2021-02-18 20:41:49.538750579 +0100 @@ -1,7 +1,7 @@ # # spec file for package pps-tools # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,8 +22,11 @@ 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 @@ -31,6 +34,7 @@ %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 @@ -38,6 +42,14 @@ 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 @@ -51,6 +63,14 @@ 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 @@ -63,4 +83,7 @@ %license COPYING %{_includedir}/sys/timepps.h +%files -n pps-udev +%{_udevrulesdir}/89-pps.rules + %changelog ++++++ pps.rules ++++++ # Linux Kernel pps KERNEL=="pps[0-9]*", OWNER="root", GROUP="ntp", MODE="0660"
