summaryrefslogtreecommitdiff
path: root/packaging/libcaffeonacl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/libcaffeonacl.spec')
-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