SHA256
1
0
forked from pool/pcfclock
OBS User unknown 2007-10-23 23:42:04 +00:00 committed by Git OBS Bridge
parent 9e6bdfb826
commit be1e19896a
3 changed files with 21 additions and 8 deletions

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 24 01:08:45 CEST 2007 - ro@suse.de
- revert last change, instead
- add alias char-major-181 pcfclock to /etc/modprobe.d/pcfclock
- add device nodes to /lib/udev/devices
-------------------------------------------------------------------
Fri Oct 19 15:31:06 CEST 2007 - ro@suse.de

View File

@ -12,7 +12,7 @@
Name: pcfclock
BuildRequires: kernel-source kernel-syms module-init-tools
Version: 0.44
Release: 140
Release: 144
Summary: Pcfclock kernel driver
License: GPL v2 or later
Group: System/Kernel
@ -23,7 +23,6 @@ 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
@ -96,8 +95,9 @@ 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
mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d
echo "alias char-major-181 pcfclock" > $RPM_BUILD_ROOT/etc/modprobe.d/pcfclock
mkdir -p $RPM_BUILD_ROOT/lib/udev/devices
%files
%defattr(-,root,root)
@ -105,13 +105,20 @@ install -m 644 %{S:3} %{buildroot}/etc/udev/rules.d
%{_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/*
/etc/modprobe.d/pcfclock
%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
%clean
rm -rf %{buildroot}
%changelog
* Wed Oct 24 2007 - ro@suse.de
- revert last change, instead
- add alias char-major-181 pcfclock to /etc/modprobe.d/pcfclock
- add device nodes to /lib/udev/devices
* Fri Oct 19 2007 - ro@suse.de
- add udev rule to create device nodes (#335108,#276510)
* Fri May 11 2007 - ro@suse.de