%global debug_package %{nil} Name: bottles-soda-experimental Version: 11.0.36 Release: 100.2.2%{?dist} Summary: Rolling experimental Soda Wine runner for Bottles License: LGPL-2.1-or-later URL: https://github.com/bottlesdevs/wine ExclusiveArch: x86_64 aarch64 Obsoletes: bottles-soda-experimental-git < %{version}-%{release} Provides: bottles-soda-experimental-git = %{version}-%{release} Requires: bash Requires: coreutils Requires: findutils Requires: glibc %global __requires_exclude_from ^%{_prefix}/libexec/bottles-soda-experimental/.*$ %global __provides_exclude_from ^%{_prefix}/libexec/bottles-soda-experimental/.*$ %global runner soda-%{lua:local a,b,c = rpm.expand("%{version}"):match("^([0-9]+)%.([0-9]+)%.([0-9]+)$"); print(a .. "." .. b .. "-" .. c)}-experimental Source0: https://github.com/bottlesdevs/wine/releases/download/%{runner}/%{runner}-x86_64.tar.xz Source1: https://github.com/bottlesdevs/wine/releases/download/%{runner}/%{runner}-aarch64.tar.xz Source2: bottles-soda-import BuildRequires: curl BuildRequires: jq BuildRequires: coreutils %description The latest complete experimental Soda runner release, chosen by the corresponding Arch PKGBUILD version resolver and packaged for native Bottles. %prep %setup -q -T -c -n %{name}-%{version} %ifarch x86_64 asset="%{runner}-x86_64.tar.xz" archive="%{SOURCE0}" %else asset="%{runner}-aarch64.tar.xz" archive="%{SOURCE1}" %endif metadata="$(curl -fsSL --retry 3 'https://api.github.com/repos/bottlesdevs/wine/releases/tags/%{runner}')" digest="$(printf '%s' "$metadata" | jq -er --arg filename "$asset" \ '.assets[] | select(.name == $filename) | .digest | select(startswith("sha256:")) | ltrimstr("sha256:")')" printf '%s' "$digest" | grep -Eq '^[a-fA-F0-9]{64}$' || exit 1 printf '%s %s\n' "$digest" "$archive" | sha256sum -c - tar -xf "$archive" %build %install runner_source="" for candidate in \ "%{runner}-%{_arch}" \ "%{runner}" \ "%{runner}-%{_arch}/files" \ "%{runner}/files"; do if [ -x "$candidate/bin/wine" ]; then runner_source="$candidate"; break; fi done [ -n "$runner_source" ] || { echo 'Wine runner executable missing' >&2; exit 1; } install -dm755 %{buildroot}%{_prefix}/libexec/bottles-soda-experimental/%{runner} cp -a -- "$runner_source/." %{buildroot}%{_prefix}/libexec/bottles-soda-experimental/%{runner}/ install -Dm755 %{SOURCE2} %{buildroot}%{_bindir}/bottles-soda-import %files %{_bindir}/bottles-soda-import %{_prefix}/libexec/bottles-soda-experimental/%{runner}/ %changelog * Mon Oct 26 2026 Sl (Shahaf Levi) - 11.0.35-2 - Prevent automatic Fedora dependencies and public library provides from the private Soda runner. - Replace the accidentally published -git RPM without changing the Fedora package name. * Mon Oct 26 2026 Sl (Shahaf Levi) - 11.0.35-1 - Follow the latest published experimental runner and verify release SHA256 digests.