OBS User unknown 2007-10-19 13:33:28 +00:00 committed by Git OBS Bridge
parent 7516a70258
commit 9e6bdfb826
3 changed files with 18 additions and 6 deletions

1
55-pcfclock.rules Normal file
View File

@ -0,0 +1 @@
KERNEL=="pcfclock*", NAME="%k", MODE="0444"

View File

@ -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

View File

@ -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