This commit is contained in:
parent
be1e19896a
commit
e926d431e7
11
pcfclock-include.patch
Normal file
11
pcfclock-include.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- linux/pcfclock.c
|
||||
+++ linux/pcfclock.c
|
||||
@@ -60,7 +60,7 @@
|
||||
#endif
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
-#include <asm/semaphore.h>
|
||||
+#include <linux/semaphore.h>
|
||||
|
||||
/* Major device number */
|
||||
#define PCFCLOCK_MAJOR 181
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 22 01:25:51 CEST 2008 - ro@suse.de
|
||||
|
||||
- fix build with 2.6.27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 24 01:08:45 CEST 2007 - ro@suse.de
|
||||
|
||||
|
@ -1,18 +1,26 @@
|
||||
#
|
||||
# spec file for package pcfclock (Version 0.44)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
# Copyright (c) 2008 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: pcfclock
|
||||
BuildRequires: kernel-source kernel-syms module-init-tools
|
||||
Version: 0.44
|
||||
Release: 144
|
||||
Release: 227
|
||||
Summary: Pcfclock kernel driver
|
||||
License: GPL v2 or later
|
||||
Group: System/Kernel
|
||||
@ -26,6 +34,7 @@ Source2: preamble
|
||||
Patch: pcfclock-nomodule.patch
|
||||
Patch1: pcfclock-module_param.patch
|
||||
Patch2: pcfclock-no_devfs.patch
|
||||
Patch3: pcfclock-include.patch
|
||||
ExcludeArch: s390 s390x
|
||||
%suse_kernel_module_package -p %_sourcedir/preamble kdump um xen xenpae iseries64
|
||||
|
||||
@ -45,6 +54,7 @@ Authors:
|
||||
Andreas Vögele <voegelas@gmx.net>
|
||||
|
||||
%package KMP
|
||||
License: GPL v2 or later
|
||||
Summary: Pcfclock kernel driver
|
||||
Group: System/Kernel
|
||||
|
||||
@ -68,6 +78,7 @@ Authors:
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
mkdir source
|
||||
mkdir obj
|
||||
cp -a linux/pcfclock.c %{S:1} \
|
||||
@ -114,24 +125,27 @@ mkdir -p $RPM_BUILD_ROOT/lib/udev/devices
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* Wed Oct 24 2007 - ro@suse.de
|
||||
* Fri Aug 22 2008 ro@suse.de
|
||||
- fix build with 2.6.27
|
||||
* 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
|
||||
* Fri Oct 19 2007 ro@suse.de
|
||||
- add udev rule to create device nodes (#335108,#276510)
|
||||
* Fri May 11 2007 - ro@suse.de
|
||||
* Fri May 11 2007 ro@suse.de
|
||||
- fix build with current kernel sources
|
||||
- use optflags for pcfdate
|
||||
* Wed Apr 04 2007 - lrupp@suse.de
|
||||
* Thu Apr 05 2007 lrupp@suse.de
|
||||
- added module-init-tools to BuildRequires
|
||||
* Mon Aug 21 2006 - ro@suse.de
|
||||
* Mon Aug 21 2006 ro@suse.de
|
||||
- devfs has been removed from 2.6.18, make kernel driver compile
|
||||
* Mon Apr 10 2006 - agruen@suse.de
|
||||
* Mon Apr 10 2006 agruen@suse.de
|
||||
- Add preamble `Enhances: kernel-$flavor' workaround to KMP
|
||||
sub-packages (156513).
|
||||
* Mon Apr 03 2006 - ro@suse.de
|
||||
* Mon Apr 03 2006 ro@suse.de
|
||||
- change MODULE_PARM to module_param
|
||||
* Thu Feb 23 2006 - ro@suse.de
|
||||
* Thu Feb 23 2006 ro@suse.de
|
||||
- created package with KMP (version 0.44)
|
||||
|
Loading…
Reference in New Issue
Block a user