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