diff --git a/vala.spec b/vala.spec index 6bd8fadf96fb0ba228ab9aef8f80321629c2ad2a..998296642726a752467a4250c937dfe18f265d07 100644 --- a/vala.spec +++ b/vala.spec @@ -5,7 +5,7 @@ Name: vala Version: 0.56.3 -Release: 1 +Release: 2 Summary: Compiler Using the GObject Type System License: LGPLv2+ and BSD URL: https://wiki.gnome.org/Projects/Vala @@ -13,7 +13,7 @@ Source0: https://download.gnome.org/sources/vala/0.56/vala-%{version}.tar BuildRequires: flex bison glib2-devel gobject-introspection-devel BuildRequires: graphviz-devel libxslt dbus-x11 make -BuildRequires: dbus-x11 +BuildRequires: dbus-x11 chrpath Requires(pre): %{_sbindir}/alternatives Requires: vala-devel = %{version}-%{release} gobject-introspection-devel Requires: %{name} = %{version}-%{release} @@ -53,6 +53,16 @@ make %{?_smp_mflags} %install %make_install +chrpath -d %{buildroot}%{_bindir}/vala +chrpath -d %{buildroot}%{_bindir}/vala-0.56 +chrpath -d %{buildroot}%{_bindir}/valac +chrpath -d %{buildroot}%{_bindir}/valac-0.56 +chrpath -d %{buildroot}%{_bindir}/valadoc +chrpath -d %{buildroot}%{_bindir}/valadoc-0.56 +chrpath -d %{buildroot}%{_bindir}/vapigen +chrpath -d %{buildroot}%{_bindir}/vapigen-0.56 +chrpath -d %{buildroot}%{_libdir}/vala-%{api_ver}/*.so +chrpath -d %{buildroot}%{_libdir}/*.so.* mv %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver}{,-`uname -m`} echo -e '#!/bin/sh\nexec %{_bindir}/vala-gen-introspect-%{api_ver}-`uname -m` "$@"' > \ @@ -108,6 +118,9 @@ make check %doc %{_datadir}/devhelp/books/vala-%{api_ver} %changelog +* Mon Mar 13 2023 lin zhang - 0.56.3-2 +- remove rpath + * Mon Jan 2 2023 lin zhang - 0.56.3-1 - Upgrade to 0.56.3