Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Removed .git from rpm package
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirkosmala authored Nov 21, 2017
1 parent 4291f0b commit df08148
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpmbuild/rpmspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ cd ~/rpmbuild/BUILD/opt/InfoLoggerGui
npm install --production --unsafe-perm
# Prepare data to be packaged
cp -R ~/rpmbuild/BUILD/opt ~/rpmbuild/BUILDROOT/
# Delete git folder
rm -rf ~/rpmbuild/BUILDROOT/opt/InfoLoggerGui/.git
# Prepare systemd file
mkdir -p ~/rpmbuild/BUILDROOT/etc/systemd/system/
mv ~/rpmbuild/BUILDROOT/opt/InfoLoggerGui/rpmbuild/infologgergui.service ~/rpmbuild/BUILDROOT/etc/systemd/system/
Expand Down

0 comments on commit df08148

Please sign in to comment.