Accepting request 424533 from home:rudi_m:musthave

Disable default package, add noarch subpackage "sensors".


Here we should add post install scripts later, for now it's
just documentation.


Note, we don't require ftsteutates-kmp because maybe later kernels
may have ftsteutates module onboard.

OBS-URL: https://build.opensuse.org/request/show/424533
OBS-URL: https://build.opensuse.org/package/show/hardware/ftsteutates?expand=0&rev=3
This commit is contained in:
Ruediger Meier 2016-09-02 20:55:10 +00:00 committed by Git OBS Bridge
parent e9d7ff17bd
commit 9424785a68

View File

@ -29,7 +29,6 @@ BuildRequires: kernel-source
BuildRequires: kernel-syms
BuildRequires: module-init-tools
BuildRequires: unzip
Requires: ftsteutates-kmp
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64
%suse_kernel_module_package -p %_sourcedir/preamble
@ -45,6 +44,17 @@ Group: System/Kernel
%description KMP
System monitoring and thermal management for 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
@ -68,7 +78,7 @@ for flavor in %flavors_to_build; do
M=$PWD/obj/$flavor
done
%files
%files sensors
%defattr(-,root,root)
%doc assets test