Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tp_smapi for openSUSE:Factory 
checked in at 2022-04-10 00:41:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tp_smapi (Old)
 and      /work/SRC/openSUSE:Factory/.tp_smapi.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tp_smapi"

Sun Apr 10 00:41:54 2022 rev:1 rq:967518 version:0.43

Changes:
--------
New Changes file:

--- /dev/null   2022-03-24 09:39:12.146663089 +0100
+++ /work/SRC/openSUSE:Factory/.tp_smapi.new.1900/tp_smapi.changes      
2022-04-10 00:41:55.769097024 +0200
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Sun Apr  3 08:47:40 UTC 2022 - Axel Braun <axel.br...@gmx.de>
+
+- branched from home:schaats / tp_smapi-kmp
+  spec file cleaned
+  proper license string added

New:
----
  tp_smapi-0.43.tar.gz
  tp_smapi.changes
  tp_smapi.spec

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

Other differences:
------------------
++++++ tp_smapi.spec ++++++
#
# spec file for package tp_smapi
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#

Name:           tp_smapi
Summary:        IBM ThinkPad hardware functions driver
Version:        0.43
Release:        1
License:        GPL-2.0-or-later
Group:          System/Kernel
Url:            https://github.com/linux-thinkpad/tp_smapi
Source:         tp_smapi-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  kernel-source
BuildRequires:  kernel-syms
BuildRequires:  module-init-tools
ExclusiveArch:  %ix86 x86_64
Requires:       kernel-desktop

%suse_kernel_module_package -p -n tp_smapi kdump um

%description
The tp_smapi kernel module exposes some features of the ThinkPad 
hardware/firmware via a sysfs interface.
Currently, the main implemented functionality is control of battery charging 
and extended battery status.
It also includes an improved version of the HDAPS driver. The underlying 
hardware interfaces are SMAPI
and direct access to the embedded controller.

%prep
%setup -n tp_smapi-%{version}
set -- *
mkdir source
mv "$@" source/
mkdir obj

%build
for flavor in %flavors_to_build; do
    rm -rf obj/$flavor
    cp -r source obj/$flavor
    krel=$(make -s -C /usr/src/linux-obj/%_target_cpu/$flavor kernelrelease)
    cd obj/$flavor
    make KVER=${krel} KSRC=/usr/src/linux 
KBUILD=/usr/src/linux-obj/%_target_cpu/$flavor M=$PWD/obj/$flavor HDAPS=1
    cd -
done

%install
export INSTALL_MOD_PATH=$RPM_BUILD_ROOT
export INSTALL_MOD_DIR=updates
for flavor in %flavors_to_build; do
    make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install 
M=$PWD/obj/$flavor
done
cd source

%changelog

Reply via email to