summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2018-07-02 09:15:46 +0900
committerInki Dae <inki.dae@samsung.com>2018-07-02 09:28:59 +0900
commit740d5ed93e5e4211cc8b4d4e5493f2a670486bf9 (patch)
tree4b1c1e16752f53d9f96424bf13111f3f7659efbd
parent164da3d881e76c96a0baae03e78b47e7395a8c64 (diff)
downloadcaffeonacl-740d5ed93e5e4211cc8b4d4e5493f2a670486bf9.tar.gz
caffeonacl-740d5ed93e5e4211cc8b4d4e5493f2a670486bf9.tar.bz2
caffeonacl-740d5ed93e5e4211cc8b4d4e5493f2a670486bf9.zip
packaging: install caffe.pb files correctlysubmit/tizen/20180823.020014
Change-Id: Ie573d705bf7c3b4c14175bf6decb4394ae53c79a Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--packaging/libcaffeonacl.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/libcaffeonacl.spec b/packaging/libcaffeonacl.spec
index 00a9c33c..2168a1d3 100644
--- a/packaging/libcaffeonacl.spec
+++ b/packaging/libcaffeonacl.spec
@@ -94,9 +94,11 @@ mkdir -p %{buildroot}%{_includedir}/caffe/proto
cp -r %{_builddir}/%{name}-%{version}/distribute/lib/lib* %{buildroot}%{_libdir}/
cp -r %{_builddir}/%{name}-%{version}/distribute/bin/* %{buildroot}%{_libdir}/distribute/bin/
cp -r %{_builddir}/%{name}-%{version}/distribute/python/* %{buildroot}%{_libdir}/distribute/python/
-cp -r %{_builddir}/%{name}-%{version}/distribute/include/* %{buildroot}%{_includedir}/caffe/include/
+cp -r %{_builddir}/%{name}-%{version}/distribute/include/* %{buildroot}%{_includedir}/
+
cp -r %{_builddir}/%{name}-%{version}/distribute/proto/* %{buildroot}%{_includedir}/caffe/proto/
cp -r %{_builddir}/%{name}-%{version}/.build_release/src/caffe/proto/caffe.pb.cc %{buildroot}%{_includedir}/caffe/proto/
+cp -r %{_builddir}/%{name}-%{version}/distribute/include/caffe/proto/caffe.pb.h %{buildroot}%{_includedir}/caffe/proto/
%ifarch aarch64
%files -n %{name}-release-aarch64