Browse Source

fix spec (#603)

pull/1/head
Evgeny Smyshlyaev 6 years ago committed by GitHub
parent
commit
4f904fc063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      build/rpmbuild/hastic-server.spec

3
build/rpmbuild/hastic-server.spec

@ -64,8 +64,9 @@ mkdir -p %{buildroot}/usr/lib/hastic-server/server/dist
mkdir -p %{buildroot}/usr/lib/hastic-server/.git/refs/heads mkdir -p %{buildroot}/usr/lib/hastic-server/.git/refs/heads
mkdir -p %{buildroot}/usr/lib/hastic-server/analytics/dist/server mkdir -p %{buildroot}/usr/lib/hastic-server/analytics/dist/server
cp -r server/dist %{buildroot}/usr/lib/hastic-server/server/ cp -r server/dist %{buildroot}/usr/lib/hastic-server/server/
cp -r server/package.json %{buildroot}/usr/lib/hastic-server/server/
cp -r .git/HEAD %{buildroot}/usr/lib/hastic-server/.git cp -r .git/HEAD %{buildroot}/usr/lib/hastic-server/.git
cp -r .git/refs/heads %{buildroot}/usr/lib/hastic-server/.git/refs cp -r .git/refs/heads/ %{buildroot}/usr/lib/hastic-server/.git/refs/
cp -r analytics/dist/server %{buildroot}/usr/lib/hastic-server/analytics/dist/ cp -r analytics/dist/server %{buildroot}/usr/lib/hastic-server/analytics/dist/
%post %post

Loading…
Cancel
Save