From a36e2063d7c9a1f05587a4725f4236a7b33b0caa Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Aug 17 2021 22:38:10 +0000 Subject: Switch to patching with git (makes it work on f33/f34) --- diff --git a/meson.spec b/meson.spec index e2a6a6e..8037cfc 100644 --- a/meson.spec +++ b/meson.spec @@ -22,6 +22,8 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools +# For patching with git, needed for PR #9027 patch +BuildRequires: git Requires: python%{python3_version}dist(setuptools) Requires: ninja-build @@ -83,7 +85,7 @@ support for modern software development tools and practices, such as unit tests, coverage reports, Valgrind, CCache and the like. %prep -%autosetup -p1 -n meson-%{version_no_tilde %{quote:}} +%autosetup -S git -p1 -n meson-%{version_no_tilde %{quote:}} # Macro should not change when we are redefining bindir sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}