From fbca659cb5c2883c84fe1aeda6066dbd5796c23d Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 6 Nov 2024 12:13:27 +0100 Subject: [PATCH] [ci,nightly] fix build for fedora 41 --- packaging/rpm/freerdp-nightly.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/rpm/freerdp-nightly.spec b/packaging/rpm/freerdp-nightly.spec index bda050f1f..9e2e49c77 100644 --- a/packaging/rpm/freerdp-nightly.spec +++ b/packaging/rpm/freerdp-nightly.spec @@ -140,7 +140,11 @@ based on freerdp and winpr. %prep %setup -q cd %{_topdir}/BUILD +%if 0%{?fedora} >= 41 +cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}-build/.source_version +%else cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}/.source_version +%endif %build