From 4f904fc0635a72346d0d3050199ba6161eec9539 Mon Sep 17 00:00:00 2001 From: Evgeny Smyshlyaev Date: Wed, 24 Apr 2019 17:57:08 +0300 Subject: [PATCH] fix spec (#603) --- build/rpmbuild/hastic-server.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/rpmbuild/hastic-server.spec b/build/rpmbuild/hastic-server.spec index 3127bed..caaedeb 100644 --- a/build/rpmbuild/hastic-server.spec +++ b/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/analytics/dist/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/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/ %post