!24 fix issue : I6O4ZM
From: @zhang__3125 Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
60d8500bfa
15
vala.spec
15
vala.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: vala
|
Name: vala
|
||||||
Version: 0.56.3
|
Version: 0.56.3
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Compiler Using the GObject Type System
|
Summary: Compiler Using the GObject Type System
|
||||||
License: LGPLv2+ and BSD
|
License: LGPLv2+ and BSD
|
||||||
URL: https://wiki.gnome.org/Projects/Vala
|
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}/vala-%{api_ver}/*.so
|
||||||
chrpath -d %{buildroot}%{_libdir}/*.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`}
|
mv %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver}{,-`uname -m`}
|
||||||
echo -e '#!/bin/sh\nexec %{_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}
|
%{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
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/vala
|
%{_bindir}/vala
|
||||||
@ -95,6 +104,7 @@ make check
|
|||||||
%{_libdir}/libvaladoc-%{api_ver}.so.0*
|
%{_libdir}/libvaladoc-%{api_ver}.so.0*
|
||||||
%{_libdir}/valadoc-%{api_ver}/
|
%{_libdir}/valadoc-%{api_ver}/
|
||||||
%{_datadir}/valadoc-%{api_ver}/
|
%{_datadir}/valadoc-%{api_ver}/
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -118,6 +128,9 @@ make check
|
|||||||
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.3-2
|
||||||
- remove rpath
|
- remove rpath
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user