commit ftsteutates for openSUSE:Factory
Hello community, here is the log from the commit of package ftsteutates for openSUSE:Factory checked in at 2017-02-05 15:50:09 Comparing /work/SRC/openSUSE:Factory/ftsteutates (Old) and /work/SRC/openSUSE:Factory/.ftsteutates.new (New) Package is "ftsteutates" Changes: --- /work/SRC/openSUSE:Factory/ftsteutates/ftsteutates.changes 2016-09-21 18:48:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.ftsteutates.new/ftsteutates.changes 2017-02-05 16:32:53.133920407 +0100 @@ -1,0 +2,6 @@ +Wed Dec 28 20:47:07 CET 2016 - ti...@suse.de + +- build KMP only for older distros, as TW 4.8+ kernels already + contain the module (boo#997172) + +--- Other differences: -- ++ ftsteutates.spec ++ --- /var/tmp/diff_new_pack.qrfleq/_old 2017-02-05 16:32:53.429878655 +0100 +++ /var/tmp/diff_new_pack.qrfleq/_new 2017-02-05 16:32:53.429878655 +0100 @@ -16,6 +16,13 @@ # +%if 0%{?suse_version} > 1320 +# TW 4.8 or later kernel already contains the module +%define build_kmp 0 +%else +%define build_kmp 1 +%endif + Name: ftsteutates Version:20160601 Release:0 @@ -24,10 +31,14 @@ Group: System/Kernel Url:ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/ Source0: ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/Software/Linux_SystemMonitoring/ftsteutates-module_%{version}.zip +%if %build_kmp BuildRequires: %{kernel_module_package_buildreqs} +%endif BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %build_kmp %kernel_module_package +%endif ExclusiveArch: %{ix86} x86_64 %description @@ -47,19 +58,24 @@ %prep %setup -q -n ftsteutates +%if %build_kmp mkdir source mkdir obj cp -a Makefile ftsteutates.c source/ +%endif %build +%if %build_kmp for flavor in %{flavors_to_build}; do rm -rf obj/$flavor cp -r source obj/$flavor make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \ M=$PWD/obj/$flavor done +%endif %install +%if %build_kmp # install kernel modules export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates @@ -67,6 +83,7 @@ make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules_install \ M=$PWD/obj/$flavor done +%endif %files sensors %defattr(-,root,root)
commit ftsteutates for openSUSE:Factory
Hello community, here is the log from the commit of package ftsteutates for openSUSE:Factory checked in at 2016-09-21 18:48:13 Comparing /work/SRC/openSUSE:Factory/ftsteutates (Old) and /work/SRC/openSUSE:Factory/.ftsteutates.new (New) Package is "ftsteutates" Changes: New Changes file: --- /dev/null 2016-09-15 12:42:18.240042505 +0200 +++ /work/SRC/openSUSE:Factory/.ftsteutates.new/ftsteutates.changes 2016-09-21 18:48:15.0 +0200 @@ -0,0 +1,11 @@ +--- +Sun Sep 4 06:20:43 UTC 2016 - mplus...@suse.com + +- Use url for source +- Use modern macros for KMP handling + +--- +Tue Jul 12 10:28:57 UTC 2016 - sweet_...@gmx.de + +- initial package ftsteutates version 20160601 + New: ftsteutates-module_20160601.zip ftsteutates.changes ftsteutates.spec Other differences: -- ++ ftsteutates.spec ++ # # spec file for package ftsteutates # # Copyright (c) 2016 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 # 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: ftsteutates Version:20160601 Release:0 Summary:Kernel module ftsteutates License:GPL-2.0+ Group: System/Kernel Url:ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/ Source0: ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/Software/Linux_SystemMonitoring/ftsteutates-module_%{version}.zip BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %kernel_module_package ExclusiveArch: %{ix86} x86_64 %description System monitoring and thermal management for Teutates chips/Fujitsu mainboards (D34xx). %package sensors Summary:Sensors config ftsteutates Group: System/Monitoring Requires: sensors BuildArch: noarch %description sensors System monitoring and thermal management for Fujitsu mainboards (D34xx). This package contains the mainboard model specific config files for nice lm-sensors output. %prep %setup -q -n ftsteutates mkdir source mkdir obj cp -a Makefile ftsteutates.c source/ %build for flavor in %{flavors_to_build}; do rm -rf obj/$flavor cp -r source obj/$flavor make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \ M=$PWD/obj/$flavor done %install # install kernel modules export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates for flavor in %{flavors_to_build}; do make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules_install \ M=$PWD/obj/$flavor done %files sensors %defattr(-,root,root) %doc assets test %changelog