Hello community,

here is the log from the commit of package pcfclock for openSUSE:Factory 
checked in at 2017-09-12 19:56:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pcfclock (Old)
 and      /work/SRC/openSUSE:Factory/.pcfclock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pcfclock"

Tue Sep 12 19:56:05 2017 rev:22 rq:523349 version:0.44

Changes:
--------
--- /work/SRC/openSUSE:Factory/pcfclock/pcfclock.changes        2015-03-27 
09:40:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.pcfclock.new/pcfclock.changes   2017-09-12 
19:56:19.967164778 +0200
@@ -1,0 +2,14 @@
+Mon Sep 11 15:19:41 UTC 2017 - [email protected]
+
+- Enable parallel building. Remove redundant %clean section.
+  Use %configure call.
+
+-------------------------------------------------------------------
+Mon Sep 11 15:59:24 CEST 2017 - [email protected]
+
+- added patch pcfclock-linux-4.12.patch
+  to fix build with kernel 4.12
+  include linux/uaccess.h instead of asm/uaccess.h starting
+  with linux kernel version 4.12 
+
+-------------------------------------------------------------------

New:
----
  pcfclock-linux-4.12.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcfclock.spec ++++++
--- /var/tmp/diff_new_pack.g5yULE/_old  2017-09-12 19:56:20.511088298 +0200
+++ /var/tmp/diff_new_pack.g5yULE/_new  2017-09-12 19:56:20.515087735 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pcfclock
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,7 @@
 Patch2:         pcfclock-no_devfs.patch
 Patch3:         pcfclock-include.patch
 Patch4:         pcfclock-linux-3.19.patch
+Patch5:         pcfclock-linux-4.12.patch
 BuildRequires:  kernel-source
 BuildRequires:  kernel-syms
 BuildRequires:  module-init-tools
@@ -71,20 +72,20 @@
 %patch2
 %patch3
 %patch4
+%patch5
 mkdir source
 mkdir obj
 cp -a linux/pcfclock.c %{SOURCE1} \
        source
 
 %build
-CFLAGS=$RPM_OPT_FLAGS \
-./configure --prefix=/usr --mandir=%{_mandir} --without-linux
-make
+%configure --without-linux
+make %{?_smp_mflags}
 for flavor in %flavors_to_build; do
     rm -rf obj/$flavor
     cp -r source obj/$flavor
     make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
-         M=$PWD/obj/$flavor
+         M=$PWD/obj/$flavor %{?_smp_mflags}
 done
 
 %install
@@ -120,7 +121,4 @@
 /usr/lib/tmpfiles.d/pcfclock.conf
 %endif
 
-%clean
-rm -rf %{buildroot}
-
 %changelog

++++++ pcfclock-linux-4.12.patch ++++++
--- linux/pcfclock.c    2017-09-11 15:57:45.230073000 +0200
+++ linux/pcfclock.c    2017-09-11 15:58:29.134762000 +0200
@@ -59,7 +59,11 @@
 #include <linux/device.h>
 #endif
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0)
+#include <linux/uaccess.h>
+#else
 #include <asm/uaccess.h>
+#endif
 #include <linux/semaphore.h>
 
 /* Major device number */

Reply via email to