Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xiphos for openSUSE:Factory checked 
in at 2024-03-18 16:45:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xiphos (Old)
 and      /work/SRC/openSUSE:Factory/.xiphos.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xiphos"

Mon Mar 18 16:45:07 2024 rev:23 rq:1158833 version:4.2.1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/xiphos/xiphos.changes    2021-06-04 
00:34:01.544951171 +0200
+++ /work/SRC/openSUSE:Factory/.xiphos.new.1905/xiphos.changes  2024-03-18 
16:45:28.973003613 +0100
@@ -1,0 +2,6 @@
+Fri Mar  8 05:51:54 UTC 2024 - Fridrich Strba <[email protected]>
+
+- Fix packaging of the %%_docdir and thus the build in Factory
+- Migrate from %%patchN to %%patch -P N for rpm 4.20 compatibility
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ xiphos.spec ++++++
--- /var/tmp/diff_new_pack.zqFf1P/_old  2024-03-18 16:45:29.997041387 +0100
+++ /var/tmp/diff_new_pack.zqFf1P/_new  2024-03-18 16:45:29.997041387 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xiphos
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,14 @@
 #
 
 
+%{!?make_build:%global make_build make %{?_smp_mflags}}
 Name:           xiphos
 Version:        4.2.1.7
 Release:        0
 Summary:        GNOME-based Bible research tool
 License:        GPL-2.0-only
 Group:          Productivity/Scientific/Other
-URL:            http://xiphos.org/
+URL:            https://xiphos.org/
 Source0:        %{name}-%{version}.tar.xz
 Source1:        %{name}.desktop
 # PATCH-FIX-OPENSUSE find_biblesync.patch [email protected]
@@ -75,16 +76,16 @@
 %setup -q
 echo %{version} >cmake/source_version.txt
 %if 0%{?suse_version} < 1550
-%patch1 -p1
+%patch -P 1 -p1
 %endif
-%patch2 -p1
+%patch -P 2 -p1
 
 %build
 export CFLAGS="%{optflags}"
 export CXXFLAGS="%{optflags}"
 export PYTHON="%{_bindir}/python3"
-%cmake -DGTKHTML=ON
-make %{?_smp_mflags}
+%cmake -DGTKHTML=ON -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}
+%make_build
 
 %install
 %cmake_install
@@ -110,10 +111,11 @@
 
 %files
 %license COPYING
-%doc README.md RELEASE-NOTES doc/Xiphos.ogg AUTHORS ChangeLog
+%dir %{_docdir}/%{name}
 %dir %{_datadir}/%{name}
-%{_bindir}/xiphos*
-%{_datadir}/xiphos/*
+%{_bindir}/%{name}*
+%{_datadir}/%{name}/*
+%{_docdir}/%{name}/*
 %{_datadir}/icons/hicolor/scalable/apps/*
 %{_datadir}/applications/%{name}.desktop
 %dir %{_datadir}/appdata

Reply via email to