SHA256
1
0
forked from pool/ftsteutates

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