From 8eb35c4cd5732881014d428ac08044e0daa20ea7 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 26 Nov 2024 21:15:49 +0000 Subject: [PATCH] Fix spec file to add back License and fix CS10 build The Fedora spec files need to use %python items which pull in build requires. This breaks in CS10 because those packages don't exist and so PR's cant work Signed-off-by: Stephen Smoogen --- rpm/python-ramalama.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm/python-ramalama.spec b/rpm/python-ramalama.spec index 1c02c8b..487d4a7 100644 --- a/rpm/python-ramalama.spec +++ b/rpm/python-ramalama.spec @@ -73,8 +73,10 @@ configure the system for AI themselves. After the initialization, RamaLama will run the AI Models within a container based on the OCI image. +%if 0%{?fedora} >= 40 %generate_buildrequires %pyproject_buildrequires +%endif %prep %forgeautosetup -p1