remove rpath
(cherry picked from commit dc8f0c4f124c610129fcaca26f24fdf23e12a8f7)
This commit is contained in:
parent
93c6833985
commit
50fc8b53e3
@ -30,7 +30,7 @@
|
||||
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Name: mysql
|
||||
Version: 8.0.30
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: MySQL client programs and shared libraries
|
||||
URL: http://www.mysql.com
|
||||
License: GPLv2 with exceptions and LGPLv2 and BSD
|
||||
@ -81,7 +81,7 @@ BuildRequires: perl(Getopt::Long) perl(if) perl(IO::File) perl(IO::Handle)
|
||||
BuildRequires: perl(IO::Socket::INET) perl(IPC::Open3) perl(JSON) perl(lib) perl(LWP::Simple)
|
||||
BuildRequires: perl(Memoize) perl(Net::Ping) perl(POSIX) perl(Socket) perl(strict)
|
||||
BuildRequires: perl(Sys::Hostname) perl(Test::More) perl(Time::HiRes) perl(Time::localtime)
|
||||
BuildRequires: perl(warnings) systemd m4
|
||||
BuildRequires: perl(warnings) systemd m4 chrpath
|
||||
Requires: bash coreutils grep %{name}-common%{?_isa} = %{sameevr}
|
||||
Provides: bundled(boost) = %{boost_bundled_version}
|
||||
%if %{with mysql_names}
|
||||
@ -385,11 +385,13 @@ chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
mv %{buildroot}%{_bindir}/mysqld %{buildroot}%{_libexecdir}/mysqld
|
||||
chrpath -d %{buildroot}%{_libexecdir}/mysqld
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
ln -s %{_libexecdir}/mysqld %{buildroot}%{_sbindir}/mysqld
|
||||
|
||||
%if %{with debug}
|
||||
mv %{buildroot}%{_bindir}/mysqld-debug %{buildroot}%{_libexecdir}/mysqld
|
||||
chrpath-d%{buildroot}%{_libexecdir}/mysqld
|
||||
%endif
|
||||
|
||||
cd -
|
||||
@ -541,6 +543,9 @@ fi
|
||||
%{_mandir}/man1/mysql_config.1*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 3 2023 Ge Wang <wangge20@h-partners.com> - 8.0.30-2
|
||||
- Remove rpath
|
||||
|
||||
* Thu Feb 9 2023 caodongxia <caodongxia@h-partners.com> - 8.0.30-1
|
||||
- Update to 8.0.30
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user