Hello community,
here is the log from the commit of package zdbsp for openSUSE:Factory checked
in at 2017-04-17 10:26:28
Comparing /work/SRC/openSUSE:Factory/zdbsp (Old)
and /work/SRC/openSUSE:Factory/.zdbsp.new (New)
Package is "zdbsp"
Mon Apr 17 10:26:28 2017 rev:6 rq:487466 version:1.19
Changes:
--- /work/SRC/openSUSE:Factory/zdbsp/zdbsp.changes 2017-04-11
09:40:47.318158790 +0200
+++ /work/SRC/openSUSE:Factory/.zdbsp.new/zdbsp.changes 2017-04-17
10:26:30.328563962 +0200
@@ -1,0 +2,9 @@
+Tue Apr 4 19:03:27 UTC 2017 - r...@fthiessen.de
+
+- Update to version 1.19
+ * Fixes a bug that could prevent certain UDMF maps from loading.
+- Dropped zdbsp-automake.diff as it now uses cmake
+- Added install-binary.patch to add the install target
+- Use https://en.opensuse.org/SourceUrls
+
+---
Old:
zdbsp-1.18.1.tar.xz
zdbsp-automake.diff
New:
install-binary.patch
zdbsp-1.19.tar.gz
Other differences:
--
++ zdbsp.spec ++
--- /var/tmp/diff_new_pack.3Au66H/_old 2017-04-17 10:26:31.856347600 +0200
+++ /var/tmp/diff_new_pack.3Au66H/_new 2017-04-17 10:26:31.860347034 +0200
@@ -1,7 +1,7 @@
#
# spec file for package zdbsp
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,20 @@
Name: zdbsp
-Version:1.18.1
+Version:1.19
Release:0
Summary:Nodebuilder for ZDoom
License:GPL-2.0+
Group: Development/Tools/Building
-Url:http://zdoom.org/
-
-Source: zdbsp-%version.tar.xz
-Patch1: zdbsp-automake.diff
-Patch2: zdbsp-bigendian.diff
-Patch3: zdbsp-notime.diff
-BuildRequires: autoconf >= 2.63
-BuildRequires: automake >= 1.9
+Url:https://zdoom.org/
+Source:
https://github.com/rheit/zdbsp/archive/v%version/zdbsp-%version.tar.gz
+Patch1: zdbsp-bigendian.diff
+Patch2: zdbsp-notime.diff
+Patch3: install-binary.patch
+BuildRequires: cmake >= 2.4
BuildRequires: gcc-c++
-BuildRequires: xz
BuildRequires: zlib-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRoot: %_tmppath/%name-%version-build
%description
ZDBSP is ZDoom's (internal and external) node builder. This node
@@ -45,23 +42,17 @@
%patch -P 1 -P 2 -P 3 -p1
%build
-autoreconf -fi
-%ifarch %ix86 x86_64
-# got asm
-export CFLAGS="%optflags -fno-PIE"
-export CXXFLAGS="$CFLAGS"
-export LDFLAGS="-no-pie"
-%endif
-%configure
+%cmake
make %{?_smp_mflags}
%install
-%make_install
+%cmake_install
%files
%defattr(-,root,root)
-%_bindir/*
+%doc zdbsp.html poly_*.png
%doc COPYING
+%_bindir/zdbsp
%changelog
++ install-binary.patch ++
diff -Nur zdbsp-1.19/CMakeLists.txt new/CMakeLists.txt
--- zdbsp-1.19/CMakeLists.txt 2016-01-07 21:33:31.0 +0100
+++ new/CMakeLists.txt 2017-04-04 21:17:22.339397549 +0200
@@ -221,3 +221,5 @@
add_executable( zdbsp ${SOURCES} ${HEADERS} )
target_link_libraries( zdbsp ${ZDBSP_LIBS} ${PROF_LIB} )
include_directories( "${ZLIB_INCLUDE_DIR}" )
+
+install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/zdbsp" DESTINATION bin)