!11 remove rpath
From: @zhouwenpei Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
4509f85624
22
enchant.spec
22
enchant.spec
@ -1,6 +1,6 @@
|
|||||||
Name: enchant
|
Name: enchant
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Generic spell checking library
|
Summary: Generic spell checking library
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ URL: https://github.com/AbiWord/enchant
|
|||||||
Source0: https://github.com/AbiWord/enchant/releases/download/enchant-1-6-1/%{name}-%{version}.tar.gz
|
Source0: https://github.com/AbiWord/enchant/releases/download/enchant-1-6-1/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: aspell-devel automake gcc-c++ hunspell-devel libtool libvoikko-devel
|
BuildRequires: aspell-devel automake gcc-c++ hunspell-devel libtool libvoikko-devel
|
||||||
BuildRequires: glib2-devel >= 2.6.0 gdb
|
BuildRequires: glib2-devel >= 2.6.0 gdb chrpath
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Enchant aims to provide a simple but comprehensive abstraction for dealing
|
Enchant aims to provide a simple but comprehensive abstraction for dealing
|
||||||
@ -56,6 +56,20 @@ make install DESTDIR=%{buildroot}
|
|||||||
%delete_la
|
%delete_la
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}/%{_libdir}/%{name}/libenchant_myspell.so
|
||||||
|
chrpath -d %{buildroot}/%{_bindir}/enchant
|
||||||
|
chrpath -d %{buildroot}/%{_bindir}/enchant-lsmod
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
echo "%{_bindir}/%{name}" >> %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
%license COPYING.LIB
|
%license COPYING.LIB
|
||||||
@ -64,6 +78,7 @@ make install DESTDIR=%{buildroot}
|
|||||||
%{_libdir}/libenchant.so.*
|
%{_libdir}/libenchant.so.*
|
||||||
%{_libdir}/enchant/libenchant_myspell.so
|
%{_libdir}/enchant/libenchant_myspell.so
|
||||||
%{_datadir}/enchant/enchant.ordering
|
%{_datadir}/enchant/enchant.ordering
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libenchant.so
|
%{_libdir}/libenchant.so
|
||||||
@ -83,6 +98,9 @@ make install DESTDIR=%{buildroot}
|
|||||||
%{_mandir}/man1/*.gz
|
%{_mandir}/man1/*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 08 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1:1.6.1-3
|
||||||
|
- remove rpath
|
||||||
|
|
||||||
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.1-2
|
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.1-2
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user