2 Commits

Author SHA256 Message Date
70ecbf07c4 Accepting request 1255231 from games:tools
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section (forwarded request 1255142 from sfalken)

OBS-URL: https://build.opensuse.org/request/show/1255231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zdbsp?expand=0&rev=8
2025-03-24 12:30:02 +00:00
ac2b6550b5 - Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section

OBS-URL: https://build.opensuse.org/package/show/games:tools/zdbsp?expand=0&rev=9
2025-03-22 09:55:42 +00:00
2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 21 22:10:37 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
- Add %check section
-------------------------------------------------------------------
Wed Feb 28 11:10:04 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package zdbsp
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@ Source: https://github.com/rheit/zdbsp/archive/v%version/zdbsp-%version.
Patch1: zdbsp-bigendian.diff
Patch2: zdbsp-notime.diff
Patch3: install-binary.patch
BuildRequires: cmake >= 2.4
BuildRequires: cmake >= 3.5
BuildRequires: gcc-c++
BuildRequires: zlib-devel
@@ -40,12 +40,15 @@ minimization of polyobject bleeding.
%autosetup -p1
%build
%cmake
%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake_build
%install
%cmake_install
%check
%ctest
%files
%doc zdbsp.html poly_*.png
%license COPYING