From bcc2f2b6e4e082e0f98f28f3786e976929679f57 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: May 07 2023 12:03:27 +0000 Subject: Build with premake 5, now when it was updated from premake 4 --- diff --git a/stlsplit.spec b/stlsplit.spec index 1736920..807ff38 100644 --- a/stlsplit.spec +++ b/stlsplit.spec @@ -8,7 +8,7 @@ Source: https://github.com/admesh/stlsplit/archive/v%{version}.tar.gz BuildRequires: admesh-devel >= 0.98 BuildRequires: gcc-c++ BuildRequires: make -BuildRequires: premake +BuildRequires: premake >= 5 %description stlsplit receives one STL file and splits it to several files - @@ -29,7 +29,7 @@ applications that utilize the %{name} library. %autosetup -p1 %build -premake4 gmake +premake5 gmake sed -i -e 's! -shared ! -Wl,--as-needed\0!g' lib.make CFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}" %make_build @@ -52,6 +52,7 @@ install -Dpm 644 %{name}.h %{buildroot}%{_includedir}/%{name}.h %changelog * Sun May 07 2023 Miro Hrončok - 1.2-18 - Switch the License tag to SPDX +- Build with premake 5 * Sat Jan 21 2023 Fedora Release Engineering - 1.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild