[packages/percona-server/v5.0.x: 161/202] - fix lib64 packaging
glen
glen at pld-linux.org
Wed Oct 21 16:22:34 CEST 2015
commit 3231c40b3b7516bc12f79fade66fa2b7110b98c3
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sat Mar 12 14:29:27 2011 +0000
- fix lib64 packaging
Changed files:
mysql.spec -> 1.353.2.100
mysql.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index e3131b4..99ed29c 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -25,7 +25,7 @@ Summary(uk.UTF-8): MySQL - швидкий SQL-сервер
Summary(zh_CN.UTF-8): MySQL数据库服务器
Name: mysql
Version: 5.0.92
-Release: 1
+Release: 2
License: GPL + MySQL FLOSS Exception
Group: Applications/Databases
Source0: ftp://gd.tuwien.ac.at/db/mysql/Downloads/MySQL-5.0/%{name}-%{version}.tar.gz
@@ -675,11 +675,11 @@ touch $RPM_BUILD_ROOT/var/log/mysql/{err,log,update}
%endif
%if %{with sphinx}
-rm -f $RPM_BUILD_ROOT/usr/lib/mysql/sphinx.a
-rm -f $RPM_BUILD_ROOT/usr/lib/mysql/sphinx.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/mysql/sphinx.a
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/mysql/sphinx.la
# TODO: patch build with -avoid-version
-rm -f $RPM_BUILD_ROOT/usr/lib/mysql/sphinx.so.0
-mv -f $RPM_BUILD_ROOT/usr/lib/mysql/sphinx.so{.0.0.0,}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/mysql/sphinx.so.0
+mv $RPM_BUILD_ROOT%{_libdir}/mysql/sphinx.so{.0.0.0,}
%endif
install mysqld.conf $RPM_BUILD_ROOT%{_datadir}/mysql/mysqld.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/431f68fe79a66d5dfdd53f2655709e6c925fbc22
More information about the pld-cvs-commit
mailing list