remove rpath
Signed-off-by: 丈青山 <lin.zhang@turbolinux.com.cn>
This commit is contained in:
parent
26926a15ff
commit
202f149830
17
vala.spec
17
vala.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: vala
|
Name: vala
|
||||||
Version: 0.56.3
|
Version: 0.56.3
|
||||||
Release: 1
|
Release: 2
|
||||||
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
|
||||||
@ -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: flex bison glib2-devel gobject-introspection-devel
|
||||||
BuildRequires: graphviz-devel libxslt dbus-x11 make
|
BuildRequires: graphviz-devel libxslt dbus-x11 make
|
||||||
BuildRequires: dbus-x11
|
BuildRequires: dbus-x11 chrpath
|
||||||
Requires(pre): %{_sbindir}/alternatives
|
Requires(pre): %{_sbindir}/alternatives
|
||||||
Requires: vala-devel = %{version}-%{release} gobject-introspection-devel
|
Requires: vala-devel = %{version}-%{release} gobject-introspection-devel
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -53,6 +53,16 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_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`}
|
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` "$@"' > \
|
||||||
@ -108,6 +118,9 @@ make check
|
|||||||
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.3-1
|
||||||
- Upgrade to 0.56.3
|
- Upgrade to 0.56.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user