File soapy-sdr.spec of Package failed_soapy-sdr

Name:           soapy-sdr
Version:        0.8.1
Release:        1.1
Summary:        SoapySDR library
License:        BSD-3-Clause
URL:            https://github.com/pothosware/SoapySDR
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  python3-devel
BuildRequires:  swig
BuildRequires:  doxygen

%description
SoapySDR is a vendor-neutral and platform-independent SDR support library.

%prep
%setup -q

%build
mkdir -p build
cd build
cmake .. \
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
    -DLIB_SUFFIX=%{_lib} \
    -DBUILD_PYTHON3=ON
make %{?_smp_mflags}

%install
%make_install

%files
%license LICENSE
%doc README.md
%{_libdir}/libSoapySDR.so.*
%{_includedir}/SoapySDR/
%{_bindir}/SoapySDRUtil

%changelog
* Sun Aug 10 2025 Your Name <your.email@example.com> - 0.8.1-1.1
- Add python3-devel as a BuildRequires dependency.
- Fix CMake install commands for Python bindings.
```

#### 2. Fix CMakeLists.txt for Python Bindings
The `CMakeLists.txt` files for Python and Python3 bindings need to specify the `DESTINATION` argument in the `install()` commands.

**Modified File: `python/CMakeLists.txt`**
```plaintext
openSUSE Build Service is sponsored by