Skip to content

Commit

Permalink
fix rpm creation (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcajmagic authored Nov 7, 2019
1 parent d367ebe commit d92f155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ build: go-mod-vendor

rpm:
mkdir -p ./.ignore/SOURCES
tar -czvf ./.ignore/SOURCES/$(APP)-$(RPM_VERSION)-$(RPM_RELEASE).tar.gz . --exclude ./.git --exclude ./OPATH --exclude ./conf --exclude ./deploy --exclude ./vendor
tar -czvf ./.ignore/SOURCES/$(APP)-$(RPM_VERSION)-$(RPM_RELEASE).tar.gz . --exclude ./.git --exclude ./.ignore --exclude ./conf --exclude ./deploy --exclude ./vendor
cp conf/$(APP).service ./.ignore/SOURCES/
cp conf/$(APP).yaml ./.ignore/SOURCES/
cp LICENSE ./.ignore/SOURCES/
Expand Down
2 changes: 1 addition & 1 deletion deploy/packaging/svalinn.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Packager: Comcast
Group: System Environment/Daemons
License: ASL 2.0
URL: https://github.com/xmidt-org/svalinn
Source0: %{name}-%{_version}.tar.gz
Source0: %{name}-%{_version}-%{_release}.tar.gz

Prefix: /opt
BuildRoot: %{_tmppath}/%{name}
Expand Down

0 comments on commit d92f155

Please sign in to comment.