Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ptokax for openSUSE:Factory checked 
in at 2021-02-15 23:18:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ptokax (Old)
 and      /work/SRC/openSUSE:Factory/.ptokax.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ptokax"

Mon Feb 15 23:18:09 2021 rev:6 rq:871622 version:0.5.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ptokax/ptokax.changes    2020-07-20 
21:02:51.157183032 +0200
+++ /work/SRC/openSUSE:Factory/.ptokax.new.28504/ptokax.changes 2021-02-15 
23:20:33.135776843 +0100
@@ -1,0 +2,6 @@
+Sat Feb 13 09:30:54 UTC 2021 - Jan Engelhardt <jeng...@inai.de>
+
+- Cure build failure with Lua 5.4 by adding pkg-config results
+  to the makefile.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ptokax.spec ++++++
--- /var/tmp/diff_new_pack.lUj7DA/_old  2021-02-15 23:20:33.935778038 +0100
+++ /var/tmp/diff_new_pack.lUj7DA/_new  2021-02-15 23:20:33.939778045 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ptokax
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,10 +24,10 @@
 Group:          Productivity/Networking/File-Sharing
 URL:            http://www.ptokax.org/
 BuildRequires:  gcc-c++
-BuildRequires:  lua-devel
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  tinyxml-devel
 BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(lua)
 Source:         http://www.ptokax.org/files/%version-nix-src.tgz
 Source1:        ptokax.service
 Patch1:         logs.patch
@@ -43,16 +43,17 @@
 scripting-based extendability.
 
 %prep
-%setup -q -n PtokaX
-%autopatch -p1
+%autosetup -p1 -n PtokaX
 sed -i 's/\r//' ReadMe.txt Changelog.txt scripting.docs/scripting-interface.txt
 # remove tinyxml as we use system lib
 rm -rf tinyxml
 
 %build
-sed -i 's|CXXFLAGS = -O -g -Wall -Wextra|CXXFLAGS = %optflags|' makefile
-perl -i -pe 's{-llua5.3}{-llua}g' makefile*
-make %{?_smp_mflags}
+perl -i -pe '
+       s{^CXXFLAGS = .*}{CXXFLAGS = %optflags '"$(pkg-config lua --cflags)"'}g;
+       s{-llua5.3\b}{'"$(pkg-config lua --libs)"'}g;
+' makefile
+%make_build
 
 %install
 install -D -m 755 PtokaX %buildroot/%_sbindir/%name

Reply via email to