Don't build test subpackage
This commit is contained in:
parent
897029d2cd
commit
325aed8a88
@ -1,9 +1,10 @@
|
||||
%global sblim_testsuite_version 1.2.4
|
||||
%global provider_dir %{_libdir}/cmpi
|
||||
%global with_test_subpackage 0
|
||||
|
||||
Name: sblim-gather
|
||||
Version: 2.2.9
|
||||
Release: 34%{?dist}
|
||||
Release: 35%{?dist}
|
||||
Summary: SBLIM Gatherer
|
||||
|
||||
License: EPL-1.0
|
||||
@ -82,6 +83,7 @@ This package is needed to develop new plugins for the
|
||||
SBLIM (Standards Based Linux Instrumentation for Manageability)
|
||||
Gatherer.
|
||||
|
||||
%if 0%{?with_test_subpackage}
|
||||
%package test
|
||||
Summary: SBLIM Gatherer Testcase Files
|
||||
Requires: %{name}-provider = %{version}-%{release}
|
||||
@ -92,6 +94,7 @@ Requires: cim-server
|
||||
Gatherer Testcase Files for the
|
||||
SBLIM (Standards Based Linux Instrumentation for Manageability)
|
||||
Testsuite
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -105,7 +108,10 @@ export CFLAGS="$RPM_OPT_FLAGS -fsigned-char -fno-strict-aliasing"
|
||||
%else
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%endif
|
||||
%configure TESTSUITEDIR=%{_datadir}/sblim-testsuite \
|
||||
%configure \
|
||||
%if 0%{?with_test_subpackage}
|
||||
TESTSUITEDIR=%{_datadir}/sblim-testsuite \
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
--enable-z \
|
||||
%endif
|
||||
@ -182,11 +188,13 @@ install -p -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/reposd.service
|
||||
%{_libdir}/lib[^O]*.so
|
||||
%{_includedir}/gather
|
||||
|
||||
%if 0%{?with_test_subpackage}
|
||||
%files test
|
||||
%{_datadir}/sblim-testsuite/cim/Linux*
|
||||
%{_datadir}/sblim-testsuite/system/linux/Linux*
|
||||
%{_datadir}/sblim-testsuite/system/linux/gather-systemname.sh
|
||||
%{_datadir}/sblim-testsuite/test-gather.sh
|
||||
%endif
|
||||
|
||||
%global GATHER_1ST_SCHEMA %{_datadir}/%{name}/Linux_Metric.mof %{_datadir}/%{name}/Linux_MetricProfile.mof
|
||||
%global GATHER_1ST_REGISTRATION %{_datadir}/%{name}/Linux_Metric.registration %{_datadir}/%{name}/Linux_MetricProfile.registration
|
||||
@ -292,6 +300,9 @@ fi
|
||||
%ldconfig_postun provider
|
||||
|
||||
%changelog
|
||||
* Mon Aug 26 2024 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.9-35
|
||||
- Don't build test subpackage
|
||||
|
||||
* Tue Aug 06 2024 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.9-34
|
||||
- Fix undefined symbol in libmetricKvm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user