!95 [sync] PR-94: remove rpath
From: @openeuler-sync-bot Reviewed-by: @wang--ge Signed-off-by: @wang--ge
This commit is contained in:
commit
d5fb7dc4e6
@ -30,7 +30,7 @@
|
|||||||
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 8.0.30
|
Version: 8.0.30
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: MySQL client programs and shared libraries
|
Summary: MySQL client programs and shared libraries
|
||||||
URL: http://www.mysql.com
|
URL: http://www.mysql.com
|
||||||
License: GPLv2 with exceptions and LGPLv2 and BSD
|
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(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(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(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}
|
Requires: bash coreutils grep %{name}-common%{?_isa} = %{sameevr}
|
||||||
Provides: bundled(boost) = %{boost_bundled_version}
|
Provides: bundled(boost) = %{boost_bundled_version}
|
||||||
%if %{with mysql_names}
|
%if %{with mysql_names}
|
||||||
@ -385,11 +385,13 @@ chmod 644 %{buildroot}%{logrotateddir}/%{daemon_name}
|
|||||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
mv %{buildroot}%{_bindir}/mysqld %{buildroot}%{_libexecdir}/mysqld
|
mv %{buildroot}%{_bindir}/mysqld %{buildroot}%{_libexecdir}/mysqld
|
||||||
|
chrpath -d %{buildroot}%{_libexecdir}/mysqld
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
ln -s %{_libexecdir}/mysqld %{buildroot}%{_sbindir}/mysqld
|
ln -s %{_libexecdir}/mysqld %{buildroot}%{_sbindir}/mysqld
|
||||||
|
|
||||||
%if %{with debug}
|
%if %{with debug}
|
||||||
mv %{buildroot}%{_bindir}/mysqld-debug %{buildroot}%{_libexecdir}/mysqld
|
mv %{buildroot}%{_bindir}/mysqld-debug %{buildroot}%{_libexecdir}/mysqld
|
||||||
|
chrpath-d%{buildroot}%{_libexecdir}/mysqld
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
@ -541,6 +543,9 @@ fi
|
|||||||
%{_mandir}/man1/mysql_config.1*
|
%{_mandir}/man1/mysql_config.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 9 2023 caodongxia <caodongxia@h-partners.com> - 8.0.30-1
|
||||||
- Update to 8.0.30
|
- Update to 8.0.30
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user