remove rpath
This commit is contained in:
parent
f4ac262e9e
commit
dfb23524a4
22
vala.spec
22
vala.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: vala
|
Name: vala
|
||||||
Version: 0.50.8
|
Version: 0.50.8
|
||||||
Release: 3
|
Release: 4
|
||||||
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.50/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
|
BuildRequires: graphviz-devel libxslt dbus-x11
|
||||||
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}
|
||||||
@ -54,6 +54,14 @@ sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool
|
|||||||
install -d $RPM_BUILD_ROOT%{_datadir}/vala/vapi
|
install -d $RPM_BUILD_ROOT%{_datadir}/vala/vapi
|
||||||
%delete_la
|
%delete_la
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}/%{_bindir}/valadoc-0.50
|
||||||
|
chrpath -d %{buildroot}/%{_bindir}/valac-0.50
|
||||||
|
chrpath -d %{buildroot}/%{_libdir}/libvaladoc-0.50.so.0.0.0
|
||||||
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/%{name}-0.50" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
@ -70,6 +78,12 @@ if [ $1 -gt 1 ] ; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/vala
|
%{_bindir}/vala
|
||||||
@ -91,6 +105,7 @@ fi
|
|||||||
%{_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
|
||||||
@ -114,6 +129,9 @@ fi
|
|||||||
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 0.50.8-4
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
* Thu Jun 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.50.8-3
|
* Thu Jun 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.50.8-3
|
||||||
- Add missing Provides: vala-tools
|
- Add missing Provides: vala-tools
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user