From 202f149830e677134f4943c8b526a18cba626092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=88=E9=9D=92=E5=B1=B1?= Date: Wed, 15 Mar 2023 04:24:06 +0000 Subject: [PATCH] remove rpath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 丈青山 --- vala.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/vala.spec b/vala.spec index 6bd8fad..9982966 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 -- Gitee