Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
themiszamani authored Mar 14, 2022
1 parent 6ba1c9c commit a55c0ed
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
PKGNAME=nagios-plugins-eudat-b2share
PKGNAME=argo-probe-eudat-b2share
SPECFILE=${PKGNAME}.spec
FILES=check_b2share.py ${SPECFILE}

PKGVERSION=$(shell grep -s '^Version:' $(SPECFILE) | sed -e 's/Version:\s*//')

srpm: dist
rpmbuild -ts --define='dist .el6' ${PKGNAME}-${PKGVERSION}.tar.gz

rpm: dist
rpmbuild -ta ${PKGNAME}-${PKGVERSION}.tar.gz

Expand All @@ -22,4 +19,4 @@ sources: dist

clean:
rm -rf ${PKGNAME}-${PKGVERSION}.tar.gz
rm -rf dist
rm -rf dist

0 comments on commit a55c0ed

Please sign in to comment.