From 303b4fe47f895deae5bd6ffc422cfa34506a46d7 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Thu, 4 Jan 2024 00:22:26 +0100 Subject: [PATCH] Fixing (hopefully) RPM spec file --- scripts/rpm-data/klayout.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rpm-data/klayout.spec b/scripts/rpm-data/klayout.spec index 3dc3c63d5..3351573ab 100644 --- a/scripts/rpm-data/klayout.spec +++ b/scripts/rpm-data/klayout.spec @@ -158,7 +158,7 @@ mkdir -p %{buildroot}%{_libdir}/klayout/lay_plugins cp -pd %{_builddir}/bin.$TARGET/lib*.so* %{buildroot}%{_libdir}/klayout cp -pd %{_builddir}/bin.$TARGET/db_plugins/lib*.so* %{buildroot}%{_libdir}/klayout/db_plugins cp -pd %{_builddir}/bin.$TARGET/lay_plugins/lib*.so* %{buildroot}%{_libdir}/klayout/lay_plugins -%if "%{copylibs}" != "" +%if %{defined copylibs} cp -pd %{copylibs} %{buildroot}%{_libdir}/klayout %endif chmod 644 %{buildroot}%{_libdir}/klayout/*.so*