Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package serd for openSUSE:Factory checked in 
at 2023-05-02 16:18:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/serd (Old)
 and      /work/SRC/openSUSE:Factory/.serd.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "serd"

Tue May  2 16:18:22 2023 rev:21 rq:1083946 version:0.30.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/serd/serd.changes        2022-06-20 
15:37:01.882838080 +0200
+++ /work/SRC/openSUSE:Factory/.serd.new.1533/serd.changes      2023-05-02 
16:18:25.517596656 +0200
@@ -1,0 +2,21 @@
+Mon Dec 26 12:54:01 UTC 2022 - Konstantin Voinov <k...@kott.no-ip.biz>
+
+- Update to 0.30.16
+  * Switch to meson
+  * Add html documentation do devel
+
+  0.30.16 changes:
+  * Add SERD_STATIC to pkg-config Cflags for static-only builds
+  * Adopt REUSE machine-readable licensing standard
+  * Allow programs to be used from subproject
+  * Fix spelling mistake in serdi man page
+
+  0.30.14 changes:
+  * Fix memory consumption when reading documents
+  * Switch to Meson build system
+  * Update README and project metadata
+
+- Installation path fix for documents:
+  001-serd-docdir.patch
+
+-------------------------------------------------------------------

Old:
----
  serd-0.30.12.tar.bz2

New:
----
  001-serd-docdir.patch
  serd-0.30.16.tar.xz

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

Other differences:
------------------
++++++ serd.spec ++++++
--- /var/tmp/diff_new_pack.ewidjk/_old  2023-05-02 16:18:26.049599811 +0200
+++ /var/tmp/diff_new_pack.ewidjk/_new  2023-05-02 16:18:26.053599835 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package serd
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,19 @@
 
 %define sover 0
 Name:           serd
-Version:        0.30.12
+Version:        0.30.16
 Release:        0
 Summary:        A lightweight C library for RDF syntax
 License:        ISC
 Group:          Development/Libraries/C and C++
 URL:            https://drobilla.net/software/serd.html
-Source0:        https://download.drobilla.net/serd-%{version}.tar.bz2
+Source0:        https://download.drobilla.net/serd-%{version}.tar.xz
 Source1:        baselibs.conf
+Patch0:         001-serd-docdir.patch
 BuildRequires:  doxygen
+BuildRequires:  fdupes
 BuildRequires:  graphviz
+BuildRequires:  meson
 BuildRequires:  pkgconfig
 BuildRequires:  python3-Sphinx
 
@@ -60,31 +63,18 @@
 
 %prep
 %setup -q
+%autopatch -p0
 #Convert all file headers to python3
 for i in `grep -rl "%{_bindir}/env python"`;do sed -i 
'1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
 
 %build
-export CFLAGS='%{optflags} -std=gnu99'
-export CXXFLAGS='%{optflags}'
-./waf configure \
-      --prefix=%{_prefix} \
-      --libdir=%{_libdir} \
-%if 0%{?suse_version} > 1501
-      --test \
-      --docs \
-%endif
-      --docdir=%{_defaultdocdir} \
-
-./waf build -v %{?_smp_mflags}
+%meson
+%meson_build
 
 %install
-./waf install --destdir=%{?buildroot}
-rm -rf %{buildroot}%{_docdir}/serd-0/html
+%meson_install
 
-%if 0%{?suse_version} > 1501
-%check
-./waf test
-%endif
+%fdupes -s %{buildroot}%{_docdir}
 
 %post -n libserd-0-%{sover} -p /sbin/ldconfig
 %postun -n libserd-0-%{sover} -p /sbin/ldconfig
@@ -99,9 +89,7 @@
 %{_libdir}/libserd-0.so.%{sover}*
 
 %files devel
-%if 0%{?suse_version} > 1501
 %doc %{_docdir}/serd-0
-%endif
 %{_libdir}/libserd-0.so
 %{_includedir}/serd-0/
 %{_libdir}/pkgconfig/serd-0.pc

++++++ 001-serd-docdir.patch ++++++
--- ./doc/meson.build.orig      2022-12-26 22:48:38.800134462 +1000
+++ doc/meson.build     2022-12-26 22:49:09.232891680 +1000
@@ -1,7 +1,7 @@
 # Copyright 2020-2022 David Robillard <d...@drobilla.net>
 # SPDX-License-Identifier: 0BSD OR ISC
 
-docdir = get_option('datadir') / 'doc'
+docdir = get_option('datadir') / 'doc' / 'packages'
 
 doxygen = find_program('doxygen', required: get_option('docs'))
 dox_to_sphinx = files('../scripts/dox_to_sphinx.py')

Reply via email to