fix issue : I6O4ZM
Signed-off-by: 丈青山 <lin.zhang@turbolinux.com.cn>
This commit is contained in:
parent
2903a9ad99
commit
68f541f9b5
15
vala.spec
15
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 <lin.zhang@turbolinux.com.cn> - 0.56.3-3
|
||||
- fix issue : I6O4ZM
|
||||
|
||||
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.3-2
|
||||
- remove rpath
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user