diff --git a/fix-build-error-TRUE-ture.patch b/fix-build-error-TRUE-ture.patch deleted file mode 100644 index 411db3c5d9ddd1f7dee7b70881d7581599d2db1c..0000000000000000000000000000000000000000 --- a/fix-build-error-TRUE-ture.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 0e2b0c6b6d9bc63cd7ff9c07e0a28955d2aeee22 Mon Sep 17 00:00:00 2001 -From: zhangxianting -Date: Fri, 26 Jul 2024 15:56:44 +0800 -Subject: [PATCH] fix build error TRUE ture - ---- - libvaladoc/gvc-compat.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libvaladoc/gvc-compat.c b/libvaladoc/gvc-compat.c -index 5846334..2131ecd 100644 ---- a/libvaladoc/gvc-compat.c -+++ b/libvaladoc/gvc-compat.c -@@ -48,7 +48,7 @@ Agnode_t* - valadoc_compat_gvc_graph_create_node (Agraph_t* graph, const char *name) - { - #ifdef WITH_CGRAPH -- return agnode (graph, (char*) name, TRUE); -+ return agnode (graph, (char*) name, true); - #else - return agnode (graph, (char*) name); - #endif -@@ -68,7 +68,7 @@ Agedge_t* - valadoc_compat_gvc_graph_create_edge (Agraph_t* graph, Agnode_t* from, Agnode_t* to) - { - #ifdef WITH_CGRAPH -- return agedge (graph, from, to, NULL, TRUE); -+ return agedge (graph, from, to, NULL, true); - #else - return agedge (graph, from, to); - #endif --- -2.33.0 - diff --git a/vala-0.56.14.tar.xz b/vala-0.56.17.tar.xz similarity index 35% rename from vala-0.56.14.tar.xz rename to vala-0.56.17.tar.xz index 34b5f005ea312dc0df5c399d9cbc353bc644c328..6ca847a0521a76241f599f8090d3ff2e5deca572 100644 Binary files a/vala-0.56.14.tar.xz and b/vala-0.56.17.tar.xz differ diff --git a/vala.spec b/vala.spec index ed8d4b952b017f724f88b9fddcae74d0c0f83c19..4d7a452fbfc742550a60080ef41f67789894bb7f 100644 --- a/vala.spec +++ b/vala.spec @@ -4,17 +4,22 @@ %global vala_manpages valac vala-gen-introspect vapigen Name: vala -Version: 0.56.14 -Release: 2 +Version: 0.56.17 +Release: 1 Summary: Compiler Using the GObject Type System -License: LGPLv2+ and BSD +License: LGPL-2.1-or-later AND BSD-2-Clause URL: https://wiki.gnome.org/Projects/Vala Source0: https://download.gnome.org/sources/vala/0.56/vala-%{version}.tar.xz -Patch0: fix-build-error-TRUE-ture.patch - -BuildRequires: flex bison glib2-devel gobject-introspection-devel -BuildRequires: graphviz-devel libxslt dbus-x11 make -BuildRequires: dbus-x11 chrpath +BuildRequires: pkgconfig(glib-2.0) >= 2.48.0 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.48.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.48.0 +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(libgvc) >= 2.16 +BuildRequires: bison flex +BuildRequires: /usr/bin/g-ir-compiler +BuildRequires: /usr/bin/help2man +BuildRequires: /usr/bin/xsltproc +BuildRequires: chrpath Requires(pre): %{_sbindir}/alternatives Requires: vala-devel = %{version}-%{release} gobject-introspection-devel Requires: %{name} = %{version}-%{release} @@ -31,7 +36,6 @@ Compiler Using the GObject Type System. %package devel Summary: Library and and head file for vala compiler -Provides: vala-devel = %{version}-%{release} Obsoletes: vala-devel < 0.43 %description devel @@ -39,7 +43,9 @@ Library and and head file for vala compiler. %package help Summary: Help documents for vala -Requires: %{name} = %{version}-%{release} devhelp +Buildarch: noarch +Requires: %{name} = %{version}-%{release} +Requires: devhelp %description help Help documents for vala. @@ -48,12 +54,12 @@ Help documents for vala. %autosetup -n %{name}-%{version} -p1 %build -%configure -sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool +%configure --disable-static %make_build %install %make_install +%delete_la chrpath -d %{buildroot}%{_bindir}/vala chrpath -d %{buildroot}%{_bindir}/vala-0.56 chrpath -d %{buildroot}%{_bindir}/valac @@ -73,17 +79,9 @@ echo -e '#!/bin/sh\nexec %{_bindir}/vala-gen-introspect-%{api_ver}-`uname -m` "$ %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver} chmod +x %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver} -%delete_la_and_a - %check make check -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - %files %license COPYING %{_bindir}/vala @@ -129,6 +127,9 @@ make check %doc %{_datadir}/devhelp/books/vala-%{api_ver} %changelog +* Fri Feb 07 2025 Funda Wang - 0.56.17-1 +- update to 0.56.17 + * Fri Jul 26 2024 zhangxianting - 0.56.14-2 - fix build error