%global debug_package %{nil} Name: bottles-soda-experimental Version: 11.0.33 Release: 100.1.1%{?dist} Summary: Soda 11 experimental Wine runner for Bottles (11.0-33) License: LGPL-2.1-or-later URL: https://github.com/bottlesdevs/wine %global runner soda-11.0-33-experimental ExclusiveArch: x86_64 aarch64 # Include both tarballs so an SRPM created on x86_64 also builds on aarch64. 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 %description Precompiled experimental Soda 11 Wine runner used by Bottles. Use bottles-soda-import as the regular user to copy the runner into native Bottles' runner directory. This package does not install Bottles itself. %prep %setup -q -T -c -n %{name}-%{version} %ifarch x86_64 printf '%%s %%s\n' '7c3535173ce53ab4bb380aee0267f5c8b2c4af930ba3c09916efd9440ef4f397' '%{SOURCE0}' | sha256sum -c - tar -xf %{SOURCE0} %else printf '%%s %%s\n' 'b2face8966a622360a10946faa53efb1102677ff972f60f0963258a0074baca7' '%{SOURCE1}' | sha256sum -c - tar -xf %{SOURCE1} %endif %build %install # Archive layout may use an architecture suffix or a nested files directory. 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 if [ -z "$runner_source" ]; then echo "Wine executable not found in Soda release archive" >&2 find . -maxdepth 5 -path '*/bin/wine' -print >&2 exit 1 fi install -dm755 %{buildroot}%{_prefix}/libexec/bottles-soda-experimental 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 * Sat Oct 24 2026 Sl (Shahaf Levi) - 11.0.33-1 - Update the experimental Soda runner for Office testing. * Fri Oct 23 2026 Sl - 11.0.32-1 - Bundle both runner architectures into the SRPM for cross-architecture COPR builds. - Accept architecture-suffixed and nested release archive layouts.