Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wayland for openSUSE:Factory checked 
in at 2021-11-22 23:03:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wayland (Old)
 and      /work/SRC/openSUSE:Factory/.wayland.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wayland"

Mon Nov 22 23:03:54 2021 rev:42 rq:932590 version:1.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/wayland/wayland.changes  2021-02-01 
13:25:56.517891949 +0100
+++ /work/SRC/openSUSE:Factory/.wayland.new.1895/wayland.changes        
2021-11-22 23:04:16.741912912 +0100
@@ -1,0 +2,9 @@
+Fri Nov 12 20:08:09 UTC 2021 - Bj??rn Lie <[email protected]>
+
+- Switch to meson buildsystem: Add meson BuildRequires and macros.
+- Add generic c_compiler and c++_compiler BuildRequires, needed now
+  with the meson buildsystem.
+- Use ldconfig_scriptlets macro for post(un) handling for
+  Tumbleweed and newer.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ wayland.spec ++++++
--- /var/tmp/diff_new_pack.yt2954/_old  2021-11-22 23:04:17.625909945 +0100
+++ /var/tmp/diff_new_pack.yt2954/_new  2021-11-22 23:04:17.629909932 +0100
@@ -37,9 +37,10 @@
 Source2:        
http://wayland.freedesktop.org/releases/%name-%version.tar.xz.sig
 Source3:        %name.keyring
 Source4:        baselibs.conf
-#git#BuildRequires:  autoconf >= 2.64
-#git#BuildRequires:  automake >= 1.11
-#git#BuildRequires:  libtool >= 2.2
+
+BuildRequires:  c_compiler
+BuildRequires:  c++_compiler
+BuildRequires:  meson
 BuildRequires:  libxml2-tools
 BuildRequires:  libxslt-tools
 BuildRequires:  pkg-config
@@ -53,7 +54,6 @@
 BuildRequires:  graphviz-gnome
 BuildRequires:  xmlto
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Wayland is a protocol for a compositor to talk to its clients as well
@@ -144,36 +144,32 @@
 This subpackage contains the documentation to Wayland.
 
 %prep
-%setup -q
+%autosetup -p1
 sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
 
 %build
-if [ ! -e configure ]; then
-       autoreconf -fi
-fi
-%configure --disable-static --includedir="%_includedir/%name" \
+# includedir intentional, cf. bugzilla.opensuse.org/795968
+%meson \
+       --includedir="%_includedir/%name" \
 %if %with_doc
        --docdir="%_defaultdocdir/%name"
 %else
-       --disable-documentation
+       -D documentation=false
 %endif
-make %{?_smp_mflags}
+%meson_build
 
 %install
-%make_install %{?_smp_mflags}
-find "%buildroot" -type f -name "*.la" -delete -print
+%meson_install
 
 %check
-%if !0%{?qemu_user_space_build}
-mkdir -p xdg/wayland-tests
-chmod a+x xdg xdg/wayland-tests
-export XDG_RUNTIME_DIR="$PWD/xdg"
-if ! make check V=1; then
-       cat test-suite.log
-       exit 1
-fi
-%endif
+%meson_test
 
+%if 0%{?suse_version} >= 1550
+%ldconfig_scriptlets -n libwayland-client0
+%ldconfig_scriptlets -n libwayland-cursor0
+%ldconfig_scriptlets -n libwayland-egl1
+%ldconfig_scriptlets -n libwayland-server0
+%else
 %post   -n libwayland-client0 -p /sbin/ldconfig
 %postun -n libwayland-client0 -p /sbin/ldconfig
 %post   -n libwayland-cursor0 -p /sbin/ldconfig
@@ -182,6 +178,7 @@
 %postun -n libwayland-egl1 -p /sbin/ldconfig
 %post   -n libwayland-server0 -p /sbin/ldconfig
 %postun -n libwayland-server0 -p /sbin/ldconfig
+%endif
 
 %files -n libwayland-client0
 %_libdir/libwayland-client.so.0*

Reply via email to