## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Upstream source information. %global upstream_owner AdaCore %global upstream_name spark2014 %global upstream_version 16.0.0~alpha1 %global upstream_commit_date 20260113 %global upstream_commit fed020c9ae3db722fe49d56b462103da6b503e03 %global upstream_shortcommit %(c=%{upstream_commit}; echo ${c:0:7}) Name: spark2014-test Version: %{upstream_version} Release: %autorelease Summary: Dummy package for running the SPARK 2014 testsuite License: GPL-3.0-or-later URL: https://github.com/%{upstream_owner}/%{upstream_name} Source0: https://github.com/%{upstream_owner}/%{upstream_name}/archive/%{upstream_commit}.tar.gz # [Fedora-specific] Colibri solver not available on Fedora. Patch: spark2014-colibri-not-available-for-testing.patch BuildRequires: spark2014 BuildRequires: sparklib BuildRequires: cvc5, z3, alt-ergo BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-e3-testsuite ExclusiveArch: %{ocaml_native_compiler} %description This is a dummy package used to run the SPARK 2014 testsuite. The package acts as workaround until the check-section of the spark2014 spec-file can be used. ############# ## Prepare ## ############# %prep %autosetup -n %{upstream_name}-%{upstream_commit} -p1 ########### ## Build ## ########### %build %nil ############# ## Install ## ############# %install %nil ########### ## Check ## ########### %check export PYTHONPATH=%{python3} # Use a file-based cache for sharing proof results between tests. %global cachedir '%{_builddir}/%{upstream_name}-%{upstream_commit}/testsuite/result_cache' mkdir --parents %{cachedir} export GNATPROVE_CACHE='file:%{cachedir}' # Run the tests. %python3 testsuite/gnatprove/run-tests \ --show-error-output \ --max-consecutive-failures=8 \ --cache ########### ## Files ## ########### %files %license LICENSE %doc README* ############### ## Changelog ## ############### %changelog ## START: Generated by rpmautospec * Thu May 14 2026 John Doe - 16.0.0~alpha1-1 - Uncommitted changes ## END: Generated by rpmautospec