From 68f541f9b511e050368ab999c0564858de4cdfd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=88=E9=9D=92=E5=B1=B1?= Date: Sat, 18 Mar 2023 04:08:41 +0000 Subject: [PATCH] fix issue : I6O4ZM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 丈青山 --- vala.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/vala.spec b/vala.spec index 9982966..ae8c0e0 100644 --- a/vala.spec +++ b/vala.spec @@ -5,7 +5,7 @@ Name: vala Version: 0.56.3 -Release: 2 +Release: 3 Summary: Compiler Using the GObject Type System License: LGPLv2+ and BSD URL: https://wiki.gnome.org/Projects/Vala @@ -64,6 +64,9 @@ chrpath -d %{buildroot}%{_bindir}/vapigen-0.56 chrpath -d %{buildroot}%{_libdir}/vala-%{api_ver}/*.so chrpath -d %{buildroot}%{_libdir}/*.so.* +mkdir -p %{buildroot}/etc/ld.so.conf.d +echo "%{_libdir}/%{name}-%{api_ver}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf + mv %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver}{,-`uname -m`} echo -e '#!/bin/sh\nexec %{_bindir}/vala-gen-introspect-%{api_ver}-`uname -m` "$@"' > \ %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver} @@ -74,6 +77,12 @@ echo -e '#!/bin/sh\nexec %{_bindir}/vala-gen-introspect-%{api_ver}-`uname -m` "$ %check make check +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + %files %license COPYING %{_bindir}/vala @@ -95,6 +104,7 @@ make check %{_libdir}/libvaladoc-%{api_ver}.so.0* %{_libdir}/valadoc-%{api_ver}/ %{_datadir}/valadoc-%{api_ver}/ +%config(noreplace) /etc/ld.so.conf.d/* %files devel %license COPYING @@ -118,6 +128,9 @@ make check %doc %{_datadir}/devhelp/books/vala-%{api_ver} %changelog +* Sat Mar 18 2023 lin zhang - 0.56.3-3 +- fix issue : I6O4ZM + * Mon Mar 13 2023 lin zhang - 0.56.3-2 - remove rpath