diff --git a/gpgme.spec b/gpgme.spec index 2bc7c38..a0324e5 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -1,4 +1,4 @@ -%bcond_with tests +%bcond_without tests # trim changelog included in binary rpms %global _changelog_trimtime %(date +%s -d "1 year ago") @@ -173,8 +173,8 @@ chrpath -d %{buildroot}%{_libdir}/libq%{name}.so* rm -vf %{buildroot}%{python2_sitelib}/gpg/install_files.txt rm -vf %{buildroot}%{python3_sitelib}/gpg/install_files.txt -%if ! %{with tests} -%check +%if %{with tests} +%check make check %endif