File project.diff of Package agama
--- agama.spec.orig
+++ agama.spec
@@ -77,6 +77,8 @@ Requires: agama-common
# required for importing SSL certificates
Requires: ca-certificates
+Patch24300: riscv.patch
+
%description
Agama is a service-based Linux installer. It is composed of an HTTP-based API,
a web user interface, a command-line interface and a D-Bus service which exposes
@@ -166,7 +168,7 @@ The Agama installer supports running use
package contains a systemd service to run scripts when booting the installed system.
%prep
-%autosetup -a1 -n agama
+%autosetup -a1 -n agama -p1
# Remove exec bits to prevent an issue in fedora shebang checking. Uncomment only if required.
# find vendor -type f -name \*.rs -exec chmod -x '{}' \;