File python-libusbsio.spec of Package failed_python-libusbsio

```
Name:           python-libusbsio
Version:        2.1.11
Release:        1.1
Summary:        Python bindings for libusbsio
License:        BSD-3-Clause
URL:            https://example.com/libusbsio
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  gcc
BuildRequires:  make
BuildRequires:  libusb-1_0-devel

%description
Python bindings for the libusbsio library.

%prep
%setup -q

%build
%py3_build

%install
%py3_install
# Ensure shared libraries are installed in the correct location
mkdir -p %{buildroot}%{_libdir}/%{name}
cp -r libusbsio/bin/* %{buildroot}%{_libdir}/%{name}/

%check
# Set the library path for tests
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}/%{name}:$LD_LIBRARY_PATH
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v -k 'not (test_Error or test_GetDeviceInfo or test_GetLastError or test_GetMaxDataSize or test_GetNumGPIOPorts or test_GetNumI2CPorts or test_GetNumPorts or test_GetNumSPIPorts or test_GetVersion or test_OpenClose or test_SPI_OpenClose or test_SPI_Reset or test_SPI_Transfer_Echo_long or test_SPI_Transfer_Echo_longer or test_SPI_Transfer_Echo_short or test_SPI_Transfer_Echo_single or test_I2C_OpenClose or test_I2C_Reset or test_I2C_Transfer_Echo_long or test_I2C_Transfer_Echo_short or test_I2C_Transfer_Echo_single or test_I2C_Transfer_Echo_long or test_I2C_Transfer_Echo_short or test_I2C_Transfer_Echo_single or test_GPIO_ReadPort or test_GPIO_SetClearPin_GetPin or test_GPIO_SetClearPin_ReadPort or test_GPIO_SetClearPort_ReadPort or test_GPIO_SetClearTogglePin_ReadPort or test_GPIO_SetPortDir_GetPortDir or test_GPIO_WritePort_ReadBack or test_GPIO_WritePort_ReadPort)'

%files
%license LICENSE
%doc README.md
%{python3_sitelib}/libusbsio
%{_libdir}/%{name}/*.so

%changelog
* Fri Aug 08 2025 Your Name <your.email@example.com> - 2.1.11-1.1
- Fixed shared library inclusion for tests
- Updated Release field to match build requirements
```

---

### 2. Update `setup.py`
The `setup.py` file must explicitly include the shared libraries in the package distribution. This ensures they are available during installation and testing.
openSUSE Build Service is sponsored by