From b3748ad6b3910dd5b9dfb45ee52f489752e022b0 Mon Sep 17 00:00:00 2001 From: mattias Date: Sun, 25 Jun 2023 19:57:33 +0200 Subject: [PATCH] rpm: fixed build --- tools/install/create_lazarus_rpm.sh | 2 +- tools/install/rpm/lazarus.spec.template | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/install/create_lazarus_rpm.sh b/tools/install/create_lazarus_rpm.sh index fd3790a268..62d24e6678 100755 --- a/tools/install/create_lazarus_rpm.sh +++ b/tools/install/create_lazarus_rpm.sh @@ -97,7 +97,7 @@ cat rpm/lazarus.spec.template | \ sed -e "s/LAZVERSION/$LazVersion/g" \ -e "s/LAZRELEASE/$LazRelease/g" \ -e "s/LAZSOURCE/$Src/g" \ - -e "s/FPCBUILDVERSION/2.6.1/g" \ + -e "s/FPCBUILDVERSION/$FPCRPMVersion/g" \ -e "s/FPCVERSION/$FPCRPMVersion/g" \ -e "s/FPCSRCVERSION/$FPCSRCRPMVersion/g" \ > $SpecFile diff --git a/tools/install/rpm/lazarus.spec.template b/tools/install/rpm/lazarus.spec.template index 0507098ec7..fa17ba769b 100644 --- a/tools/install/rpm/lazarus.spec.template +++ b/tools/install/rpm/lazarus.spec.template @@ -22,6 +22,11 @@ Requires(postun): desktop-file-utils %define _source_payload w9.bzdio %define _binary_payload w9.bzdio +AutoProv: no +%undefine __find_provides +AutoReq: no +%undefine __find_requires + %description Lazarus is a free and open source Rapid Application Development tool for the FreePascal compiler using the Lazarus component library - LCL. The LCL