File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33PREFIX? =/usr/local
44BASEDIR =$(DESTDIR )$(PREFIX )
55BINDIR =$(BASEDIR ) /bin
6- RPM_VERSION =$(shell cat VERSION)
6+ VERSION =$(shell cat VERSION)
77
88all : bin/mongodb-consistent-backup
99
2323 cp -dpR MongoBackup conf Makefile setup.py scripts requirements.txt LICENSE README.md VERSION rpmbuild/SOURCES/mongodb_consistent_backup
2424 cp -dp scripts/mongodb_consistent_backup.spec rpmbuild/SPECS/mongodb_consistent_backup.spec
2525 tar --remove-files -C rpmbuild/SOURCES -czf rpmbuild/SOURCES/mongodb_consistent_backup.tar.gz mongodb_consistent_backup
26- rpmbuild -D " _topdir $( PWD) /rpmbuild" -D " version $( RPM_VERSION ) " -bb rpmbuild/SPECS/mongodb_consistent_backup.spec
26+ rpmbuild -D " _topdir $( PWD) /rpmbuild" -D " version $( VERSION ) " -bb rpmbuild/SPECS/mongodb_consistent_backup.spec
2727
2828clean :
2929 rm -rf bin build rpmbuild
You can’t perform that action at this time.
0 commit comments