File rem.spec of Package failed_rem

```
Name:           rem
Version:        2.10.0
Release:        1.1
Summary:        A sample package
License:        MIT
URL:            https://example.com
Source0:        rem-2.10.0.tar.gz

BuildRequires:  cmake
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  zlib-devel
BuildRequires:  openssl-devel
BuildRequires:  libre-devel

%description
This is a sample package for demonstration purposes.

%prep
%setup -q

%build
mkdir -p build
cd build
cmake %{_sourcedir}/%{name}-%{version} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%files
%license LICENSE
%doc README.md
/usr/bin/rem
/usr/lib64/librem.so*

%changelog
* Sun Aug 10 2025 Your Name <your.email@example.com> - 2.10.0-1.1
- Initial package
```

#### 2. Verify the `CMakeLists.txt` File
If the package does not require C++ compilation, we can disable the C++ language in the `CMakeLists.txt`. However, based on the error message, it seems that the `re-config.cmake` file (a dependency) is trying to enable the C++ language. If this is intentional, we must ensure the C++ compiler is available.

If the package does not use C++, you can modify the `CMakeLists.txt` as follows:
openSUSE Build Service is sponsored by