Hello community, here is the log from the commit of package xfce4-vala for openSUSE:Factory checked in at 2017-06-04 02:01:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xfce4-vala (Old) and /work/SRC/openSUSE:Factory/.xfce4-vala.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfce4-vala" Sun Jun 4 02:01:02 2017 rev:40 rq:500817 version:4.10.3 Changes: -------- --- /work/SRC/openSUSE:Factory/xfce4-vala/xfce4-vala.changes 2017-04-11 09:35:05.706415889 +0200 +++ /work/SRC/openSUSE:Factory/.xfce4-vala.new/xfce4-vala.changes 2017-06-04 02:01:03.337812139 +0200 @@ -1,0 +2,14 @@ +Fri Jun 2 20:42:27 UTC 2017 - [email protected] + +- Simplify situation around vala versions: + + BuildRequire libvala-devel: this is a virtual symbol provided + by the various libvala-*-devel versions. + + Programatically find the API version provided by libvala-devel + to pass this to configure. + +------------------------------------------------------------------- +Fri Jun 2 19:25:11 UTC 2017 - [email protected] + +- Add 0%{?leap_version} == 420300 to allow build on Leap 42.3. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfce4-vala.spec ++++++ --- /var/tmp/diff_new_pack.5Q2HZ0/_old 2017-06-04 02:01:03.977721816 +0200 +++ /var/tmp/diff_new_pack.5Q2HZ0/_new 2017-06-04 02:01:03.977721816 +0200 @@ -1,7 +1,7 @@ # # spec file for package xfce4-vala # -# Copyright (c) 2016 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 @@ -16,34 +16,6 @@ # -%if 0%{?suse_version} == 1230 -%define vala_version 0.18 -%endif -%if 0%{?suse_version} == 1310 -%define vala_version 0.22 -%endif -%if 0%{?suse_version} == 1315 -%if 0%{?is_opensuse} -### leap_version is apparently not properly defined, but sle_version works -%if 0%{?leap_version} == 420200 || 0%{?sle_version} == 120200 -%define vala_version 0.32 -%else -# openSUSE Leap -%define vala_version 0.28 -%endif -%else -# SLE12 -%define vala_version 0.22 -%endif -%endif -%if 0%{?suse_version} == 1320 -%define vala_version 0.26 -%endif -%if 0%{?suse_version} > 1320 -%define vala_version 0.36 -%endif -%define vala_libname libvala-%{vala_version} - Name: xfce4-vala Version: 4.10.3 Release: 0 @@ -54,8 +26,8 @@ Source: http://archive.xfce.org/src/bindings/xfce4-vala/4.10/%{name}-%{version}.tar.bz2 Source100: %{name}-rpmlintrc BuildRequires: fdupes +BuildRequires: libvala-devel BuildRequires: vala -BuildRequires: pkgconfig(%{vala_libname}) BuildRequires: pkgconfig(exo-1) BuildRequires: pkgconfig(libxfce4panel-1.0) BuildRequires: pkgconfig(libxfce4ui-1) @@ -72,6 +44,7 @@ %setup -q %build +%global vala_version %{?libvala_version}%{!?libvala_version:%(rpm -q --provides $(rpm -q --whatprovides libvala-devel) | grep -o "pkgconfig(libvala-.*)" | sed -e "s|pkgconfig(libvala-||" -e "s|)||g")} %configure --with-vala-api=%{vala_version} make %{?_smp_mflags}
