Disabled lc-compliance and removed the gtest dependency

- Disabled lc-compliance.
- Removed the gtest dependency from the libcamera-tools package.

Resolves: RHEL-73503
This commit is contained in:
Kate Hsuan 2025-01-11 15:14:50 +08:00
parent 19f312b604
commit df91c9c832

View File

@ -1,6 +1,6 @@
Name: libcamera Name: libcamera
Version: 0.3.2 Version: 0.3.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: A library to support complex camera ISPs Summary: A library to support complex camera ISPs
# see .reuse/dep5 and COPYING for details # see .reuse/dep5 and COPYING for details
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -22,7 +22,6 @@ ExcludeArch: s390x ppc64le
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gtest-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: meson BuildRequires: meson
BuildRequires: openssl BuildRequires: openssl
@ -130,7 +129,7 @@ Python bindings for %{name}
export CFLAGS="%{optflags} -Wno-deprecated-declarations" export CFLAGS="%{optflags} -Wno-deprecated-declarations"
export CXXFLAGS="%{optflags} -Wno-deprecated-declarations" export CXXFLAGS="%{optflags} -Wno-deprecated-declarations"
%meson -Dv4l2=true %meson -Dv4l2=true -Dlc-compliance=disabled
%meson_build %meson_build
# Stripping requires the re-signing of IPA libraries, manually # Stripping requires the re-signing of IPA libraries, manually
@ -194,7 +193,6 @@ rm -rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-*/html/.doctrees
%files tools %files tools
%license LICENSES/GPL-2.0-only.txt %license LICENSES/GPL-2.0-only.txt
%{_bindir}/cam %{_bindir}/cam
%{_bindir}/lc-compliance
%files v4l2 %files v4l2
%{_bindir}/libcamerify %{_bindir}/libcamerify
@ -204,6 +202,11 @@ rm -rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-*/html/.doctrees
%{python3_sitearch}/* %{python3_sitearch}/*
%changelog %changelog
* Sat Jan 11 2025 Kate Hsuan <hpa@redhat.com> - 0.3.2-2
- Disable lc-compliance
- Removed the gtest dependency from the libcamera-tools package
- Resolves: RHEL-73503
* Wed Sep 25 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.2-1 * Wed Sep 25 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.2-1
- Update to 0.3.2 - Update to 0.3.2