Enable tests

Resolves: rhbz#2157716
This commit is contained in:
Charalampos Stratakis 2023-02-20 15:02:56 +01:00
parent 72336c61ab
commit 4e6e2273d0
1 changed files with 10 additions and 1 deletions

View File

@ -8,13 +8,19 @@
%global debug_package %{nil}
# Whether to run the tests, enabled by default
# ppc64le tests cannot be compiled with lto enabled so we disable them
# there for now
%ifarch ppc64le
%bcond_with tests
%else
%bcond_without tests
%endif
%global modname pybind11
Name: python%{python3_pkgversion}-pybind11
Version: 2.10.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Seamless operability between C++11 and Python
License: BSD
URL: https://github.com/pybind/pybind11
@ -116,6 +122,9 @@ PYBIND11_USE_CMAKE=true %py3_install "--install-purelib" "%{python3_sitearch}"
%{python3_sitearch}/%{modname}-%{version}-py%{python3_version}.egg-info
%changelog
* Mon Feb 20 2023 Charalampos Stratakis <cstratak@redhat.com> - 2.10.3-2
- Enable tests
* Thu Dec 01 2022 Charalampos Stratakis <cstratak@redhat.com> - 2.10.3-1
- Initial package
- Fedora contributions by: