diff --git a/.gitignore b/.gitignore index 57affb6..b51206a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ .osc +_scmsync.obsinfo +_buildconfig-* +_buildinfo-*.xml +lua-lua-ev-*-build/ diff --git a/lua-lua-ev.changes b/lua-lua-ev.changes index b68a3e3..40ea58d 100644 --- a/lua-lua-ev.changes +++ b/lua-lua-ev.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 25 19:47:59 UTC 2025 - Matej Cepl + +- Add CMAKE_POLICY_VERSION_MINIMUM=3.5 configuration to build + with current CMake. + ------------------------------------------------------------------- Wed Nov 23 10:26:03 UTC 2022 - Michal Suchanek diff --git a/lua-lua-ev.spec b/lua-lua-ev.spec index 0b7bbd2..12f37d2 100644 --- a/lua-lua-ev.spec +++ b/lua-lua-ev.spec @@ -92,6 +92,7 @@ rm -fv tests/test-dns.lua cmake -H. -Bbuild -DCMAKE_C_FLAGS="%{optflags}" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=OFF \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DBUILD_SHARED_LIBS=ON ( cd build ; make ) mv build/ev.so build/libev.so.%{libev_sover} @@ -101,6 +102,7 @@ mv build/ev.so build/libev.so.%{libev_sover} cmake -H. -Bbuild -DCMAKE_C_FLAGS="%{optflags}" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=OFF \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DBUILD_SHARED_LIBS=ON ( cd build ; make )