From a41041377d554a995159adf7ea620ed37bc708d3 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 24 Dec 2021 11:30:57 -0700 Subject: [PATCH] Version 4.8.14. Conditionalize the %check script. --- sources | 2 +- z3.spec | 29 +++++++++++++++++------------ 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/sources b/sources index 9e39523..d3aac3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (z3-4.8.13.tar.gz) = c5e8f34525ed3b6b2935d7f01ce2f90f5dd99b4cdd035664b36c967fb1c7f3b05abed45c7288e2261723e73d68728ee91a0f67d92012d86b04598d7b54369c30 +SHA512 (z3-4.8.14.tar.gz) = 10170516ca472258d2f9df28cd036e43023a76a25f1e1670290c62f3890d935bf82770970054a5fd3a0f02559409e7ed4b18fb08347c040ff2f9e0918e152aab diff --git a/z3.spec b/z3.spec index d5b5caf..110df81 100644 --- a/z3.spec +++ b/z3.spec @@ -1,5 +1,9 @@ +# Tests are off by default because some of the tests require more memory than +# the koji builders have available. +%bcond_with test + Name: z3 -Version: 4.8.13 +Version: 4.8.14 Release: 1%{?dist} Summary: Satisfiability Modulo Theories (SMT) solver @@ -108,9 +112,6 @@ sed -e '/libz3java/s,\(System\.load\)Library("\(.*\)"),\1("%{_libdir}/z3/\2.so") -e "s/@MAJVER@/$majver/" \ -i scripts/update_api.py -# Update an OCaml interface -sed -i 's/Pervasives/Stdlib/' src/api/ml/z3.ml - # Fix character encoding iconv -f iso8859-1 -t utf-8 RELEASE_NOTES > RELEASE_NOTES.utf8 touch -r RELEASE_NOTES RELEASE_NOTES.utf8 @@ -178,14 +179,14 @@ rm -rf %{buildroot}%{_docdir}/Z3 mkdir -p %{buildroot}%{_mandir}/man1 help2man -N -o %{buildroot}%{_mandir}/man1/%{name}.1 %{_vpath_builddir}/%{name} -#%%check -# Some of the tests require more memory than the koji builders have available. -# -#export LANG="C.UTF-8" -#pushd build -#make test-z3 -#./test-z3 /a -#popd +%if %{with test} +%check +export LANG="C.UTF-8" +cd build +make test-z3 +./test-z3 /a +cd - +%endif %files %doc README.md RELEASE_NOTES @@ -228,6 +229,10 @@ help2man -N -o %{buildroot}%{_mandir}/man1/%{name}.1 %{_vpath_builddir}/%{name} %{python3_sitelib}/%{name}/ %changelog +* Fri Dec 24 2021 Jerry James - 4.8.14-1 +- Version 4.8.14 +- Conditionalize the %%check script + * Fri Nov 19 2021 Jerry James - 4.8.13-1 - Version 4.8.13