From 9e6bdfb826be68805aa2261b530f985487ea2399022fa6cd6b0358fc2102b081 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 19 Oct 2007 13:33:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcfclock?expand=0&rev=5 --- 55-pcfclock.rules | 1 + pcfclock.changes | 5 +++++ pcfclock.spec | 18 ++++++++++++------ 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 55-pcfclock.rules diff --git a/55-pcfclock.rules b/55-pcfclock.rules new file mode 100644 index 0000000..a306a63 --- /dev/null +++ b/55-pcfclock.rules @@ -0,0 +1 @@ +KERNEL=="pcfclock*", NAME="%k", MODE="0444" diff --git a/pcfclock.changes b/pcfclock.changes index c8ed580..d6ae267 100644 --- a/pcfclock.changes +++ b/pcfclock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 19 15:31:06 CEST 2007 - ro@suse.de + +- add udev rule to create device nodes (#335108,#276510) + ------------------------------------------------------------------- Fri May 11 12:31:58 CEST 2007 - ro@suse.de diff --git a/pcfclock.spec b/pcfclock.spec index e52a6dc..2914e7a 100644 --- a/pcfclock.spec +++ b/pcfclock.spec @@ -12,17 +12,18 @@ Name: pcfclock BuildRequires: kernel-source kernel-syms module-init-tools Version: 0.44 -Release: 79 +Release: 140 Summary: Pcfclock kernel driver -License: GNU General Public License (GPL) +License: GPL v2 or later Group: System/Kernel BuildRoot: %{_tmppath}/%{name}-%{version}-build -URL: http://www-stud.ims.uni-stuttgart.de/~voegelas/pcf.html +Url: http://www-stud.ims.uni-stuttgart.de/~voegelas/pcf.html Requires: pcfclock-kmp -Autoreqprov: on +AutoReqProv: on Source: pcfclock-%{version}.tar.gz Source1: Makefile Source2: preamble +Source3: 55-pcfclock.rules Patch: pcfclock-nomodule.patch Patch1: pcfclock-module_param.patch Patch2: pcfclock-no_devfs.patch @@ -47,7 +48,6 @@ Authors: %package KMP Summary: Pcfclock kernel driver Group: System/Kernel - %description KMP The pcfclock(4) driver for GNU/Linux supports the parallel port radio @@ -96,6 +96,8 @@ 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 %{buildroot}/etc/udev/rules.d +install -m 644 %{S:3} %{buildroot}/etc/udev/rules.d %files %defattr(-,root,root) @@ -103,11 +105,15 @@ done %{_mandir}/man4/pcfclock.4.gz %{_mandir}/man8/pcfdate.8.gz /usr/sbin/pcfdate +%dir /etc/udev +%dir /etc/udev/rules.d +/etc/udev/rules.d/* %clean rm -rf %{buildroot} - %changelog +* Fri Oct 19 2007 - ro@suse.de +- add udev rule to create device nodes (#335108,#276510) * Fri May 11 2007 - ro@suse.de - fix build with current kernel sources - use optflags for pcfdate