Name: resourced
Summary: Resource management daemon
Version: 0.4
-Release: 10
+Release: 11
Group: System/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
# reset them at every end of cmake to reset to default value and
# you should not use the variable except inside pushd/popd in build
# section.
-%define block_module ON
%define cpu_module ON
%define freezer_module ON
%define memory_module ON
%define debug_log OFF
# Default settings changed per profile:
+%define block_module ON
%define heart_module ON
%define exclude_list_file_name resourced_proc_exclude.ini
Summary: Resourced light binary
Conflicts: %{name}
%description light
-Resourced binary without heart module
+Resourced binary without logging modules
%prep
%setup -q
# For resourced-without_heart binary
mkdir -p build_light
pushd build_light
+%define block_module OFF
%define heart_module OFF
%cmake .. -DFULLVER=%{version} \
-DMAJORVER=${MAJORVER} \
make %{?jobs:-j%jobs}
# Default settings changed per profile:
+%define block_module ON
%define heart_module ON
popd
%if %{?timer_slack} == ON
%config %{rd_config_path}/timer-slack.conf
%endif
-%if %{?block_module} == ON
- %config %{rd_config_path}/block.conf
-%endif
%{exclude_list_ro_path}
#mem-stress
%if %{?mem_stress} == ON