Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcfclock for openSUSE:Factory checked in at 2021-08-25 20:58:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcfclock (Old) and /work/SRC/openSUSE:Factory/.pcfclock.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcfclock" Wed Aug 25 20:58:23 2021 rev:26 rq:914178 version:0.44 Changes: -------- --- /work/SRC/openSUSE:Factory/pcfclock/pcfclock.changes 2020-09-22 21:14:10.292086379 +0200 +++ /work/SRC/openSUSE:Factory/.pcfclock.new.1899/pcfclock.changes 2021-08-25 20:59:55.617025806 +0200 @@ -1,0 +2,5 @@ +Fri Aug 20 20:11:49 UTC 2021 - Callum Farmer <[email protected]> + +- Move modprobe.d files out of /etc + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcfclock.spec ++++++ --- /var/tmp/diff_new_pack.4NeLc2/_old 2021-08-25 20:59:56.149025108 +0200 +++ /var/tmp/diff_new_pack.4NeLc2/_new 2021-08-25 20:59:56.153025102 +0200 @@ -15,7 +15,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +%if 0%{?suse_version} < 1550 && 0%{?sle_version} < 150300 +# systemd-rpm-macros(or kmod) is wrong in 15.2 +%define _modprobedir /lib/modprobe.d +%endif Name: pcfclock Version: 0.44 Release: 0 @@ -41,7 +44,6 @@ Requires: pcfclock-kmp # systemd-tmpfiles Requires(post): systemd -BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 s390x %suse_kernel_module_package -p %_sourcedir/preamble kdump um xen xenpae iseries64 @@ -102,26 +104,26 @@ make -C /usr/src/linux-obj/%_target_cpu/$flavor %{?linux_make_arch} modules_install \ M=$PWD/obj/$flavor done -mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d -echo "alias char-major-181 pcfclock" > %{buildroot}%{_sysconfdir}/modprobe.d/50-pcfclock.conf +mkdir -p %{buildroot}%{_modprobedir} +echo "alias char-major-181 pcfclock" > %{buildroot}%{_modprobedir}/50-pcfclock.conf %if 0%{?suse_version} > 1140 -mkdir -p %{buildroot}/usr/lib/tmpfiles.d/ -install -m 0644 %{SOURCE3} %{buildroot}/usr/lib/tmpfiles.d/ +mkdir -p %{buildroot}%{_tmpfilesdir} +install -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir} %endif %post # Create devices nodes at installation time -systemd-tmpfiles --create /usr/lib/tmpfiles.d/pcfclock.conf +systemd-tmpfiles --create %{_tmpfilesdir}/pcfclock.conf %files %defattr(-,root,root) %doc README -%{_mandir}/man4/pcfclock.4.gz -%{_mandir}/man8/pcfdate.8.gz +%{_mandir}/man4/pcfclock.4%{?ext_man} +%{_mandir}/man8/pcfdate.8%{?ext_man} %{_sbindir}/pcfdate -%{_sysconfdir}/modprobe.d/50-pcfclock.conf +%{_modprobedir}/50-pcfclock.conf %if 0%{?suse_version} > 1140 -/usr/lib/tmpfiles.d/pcfclock.conf +%{_tmpfilesdir}/pcfclock.conf %endif %changelog
