[packages/flatbuffers] install flatc/flathash manually
glen
glen at pld-linux.org
Mon Sep 10 22:54:40 CEST 2018
commit 34653994954cdf48bc13e6ee601610fbe3b500ad
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Sep 10 23:53:10 2018 +0300
install flatc/flathash manually
flatbuffers.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/flatbuffers.spec b/flatbuffers.spec
index 2051a41..7a847b6 100644
--- a/flatbuffers.spec
+++ b/flatbuffers.spec
@@ -45,6 +45,11 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
+# somewhy not installed by make
+cd build
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p flatc flathash $RPM_BUILD_ROOT%{_bindir}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,6 +63,8 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/flatc
+%attr(755,root,root) %{_bindir}/flathash
%{_includedir}/flatbuffers
%{_libdir}/cmake/flatbuffers
%{_libdir}/libflatbuffers.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/flatbuffers.git/commitdiff/34653994954cdf48bc13e6ee601610fbe3b500ad
More information about the pld-cvs-commit
mailing list