[packages/mysql-router] use INSTALL_LAYOUT=RPM
glen
glen at pld-linux.org
Tue Oct 27 16:38:53 CET 2015
commit c89ca6e68aadf320cf939d94db7efeeaf09dde5a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Oct 27 17:38:45 2015 +0200
use INSTALL_LAYOUT=RPM
mysql-router.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/mysql-router.spec b/mysql-router.spec
index afb7c1b..561b907 100644
--- a/mysql-router.spec
+++ b/mysql-router.spec
@@ -31,6 +31,7 @@ enables developers to extend MySQL Router for custom use cases.
install -d build
cd build
%cmake \
+ -DINSTALL_LAYOUT=RPM \
-DINSTALL_LIBDIR=%{_libdir} \
..
%{__make}
@@ -40,8 +41,6 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mysqlrouter
-
# no -devel yet
%{__rm} -r $RPM_BUILD_ROOT%{_includedir}/mysql/mysqlrouter
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmysqlharness.a
@@ -57,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README.txt License.txt
-%attr(755,root,root) %{_bindir}/mysqlrouter
+%attr(755,root,root) %{_sbindir}/mysqlrouter
%attr(755,root,root) %{_libdir}/libmysqlharness.so.0
%attr(755,root,root) %{_libdir}/libmysqlrouter.so.1
%dir %{_libdir}/mysqlrouter
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mysql-router.git/commitdiff/c89ca6e68aadf320cf939d94db7efeeaf09dde5a
More information about the pld-cvs-commit
mailing list