diff --git a/vala.spec b/vala.spec index 998296642726a752467a4250c937dfe18f265d07..ae8c0e0e5b2329a42ee8304a1bb5cdd9274df3eb 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