!22 remove rpath
From: @zhang__3125 Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
2903a9ad99
17
vala.spec
17
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 <lin.zhang@turbolinux.com.cn> - 0.56.3-2
|
||||
- remove rpath
|
||||
|
||||
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.3-1
|
||||
- Upgrade to 0.56.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user