commit pcfclock for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package pcfclock for openSUSE:Factory checked in at 2012-10-09 13:53:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcfclock (Old) and /work/SRC/openSUSE:Factory/.pcfclock.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pcfclock", Maintainer is "ro@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/pcfclock/pcfclock.changes 2011-09-23 12:21:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pcfclock.new/pcfclock.changes 2012-10-09 13:58:05.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Oct 8 13:15:53 UTC 2012 - aj@suse.de + +- Run through spec-cleaner. +- Use tmpfiles.d instead of /lib/udev/devices for device creation. + +------------------------------------------------------------------- New: ---- pcfclock.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcfclock.spec ++++++ --- /var/tmp/diff_new_pack.uvseRT/_old 2012-10-09 13:58:06.000000000 +0200 +++ /var/tmp/diff_new_pack.uvseRT/_new 2012-10-09 13:58:06.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package pcfclock (Version 0.44) +# spec file for package pcfclock # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,25 +16,28 @@ # - Name: pcfclock -BuildRequires: kernel-source kernel-syms module-init-tools Version: 0.44 -Release: 240 +Release: 0 Summary: Pcfclock kernel driver License: GPL-2.0+ Group: System/Kernel -BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www-stud.ims.uni-stuttgart.de/~voegelas/pcf.html -Requires: pcfclock-kmp -AutoReqProv: on Source: pcfclock-%{version}.tar.gz Source1: Makefile Source2: preamble -Patch: pcfclock-nomodule.patch +Source3: pcfclock.conf +Patch0: pcfclock-nomodule.patch Patch1: pcfclock-module_param.patch Patch2: pcfclock-no_devfs.patch Patch3: pcfclock-include.patch +BuildRequires: kernel-source +BuildRequires: kernel-syms +BuildRequires: module-init-tools +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 @@ -47,14 +50,7 @@ transmitter is located near to Frankfurt/Main and covers a radius of more than 1500 kilometers. - - -Authors: --------- - Andreas V�gele <voegelas@gmx.net> - %package KMP -License: GPL-2.0+ Summary: Pcfclock kernel driver Group: System/Kernel @@ -67,21 +63,15 @@ transmitter is located near to Frankfurt/Main and covers a radius of more than 1500 kilometers. - - -Authors: --------- - Andreas V�gele <voegelas@gmx.net> - %prep -%setup -%patch +%setup -q +%patch0 %patch1 %patch2 %patch3 mkdir source mkdir obj -cp -a linux/pcfclock.c %{S:1} \ +cp -a linux/pcfclock.c %{SOURCE1} \ source %build @@ -96,32 +86,33 @@ done %install -make install DESTDIR=%{buildroot} +%make_install # install manpage make -C linux install DESTDIR=%{buildroot} # install kernel modules -export INSTALL_MOD_PATH=$RPM_BUILD_ROOT +export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates for flavor in %flavors_to_build; do make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \ M=$PWD/obj/$flavor done -mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d -echo "alias char-major-181 pcfclock" > $RPM_BUILD_ROOT/etc/modprobe.d/50-pcfclock.conf -mkdir -p $RPM_BUILD_ROOT/lib/udev/devices +mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d +echo "alias char-major-181 pcfclock" > %{buildroot}%{_sysconfdir}/modprobe.d/50-pcfclock.conf +mkdir -p %{buildroot}/usr/lib/tmpfiles.d/ +install -m 0644 %{SOURCE3} %{buildroot}/usr/lib/tmpfiles.d/ + +%post +# Create devices nodes at installation time +systemd-tmpfiles --create /usr/lib/tmpfiles.d/pcfclock.conf %files %defattr(-,root,root) %doc README %{_mandir}/man4/pcfclock.4.gz %{_mandir}/man8/pcfdate.8.gz -/usr/sbin/pcfdate -/etc/modprobe.d/50-pcfclock.conf -%dir /lib/udev -%dir /lib/udev/devices -%attr(444,root,root) %dev(c,181,0) /lib/udev/devices/pcfclock0 -%attr(444,root,root) %dev(c,181,1) /lib/udev/devices/pcfclock1 -%attr(444,root,root) %dev(c,181,2) /lib/udev/devices/pcfclock2 +%{_sbindir}/pcfdate +%{_sysconfdir}/modprobe.d/50-pcfclock.conf +/usr/lib/tmpfiles.d/pcfclock.conf %clean rm -rf %{buildroot} ++++++ pcfclock.conf ++++++ # Static device nodes for pcfclock # See tmpfiles.d(5) for details #Type Path Mode UID GID Age Argument c /dev/pcfclock0 0444 root root - 181:0 c /dev/pcfclock1 0444 root root - 181:1 c /dev/pcfclock2 0444 root root - 181:2 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de