@@ -4,19 +4,19 @@ BUILD_HELPER := ./build-helper
44VERSION = $(shell $(BUILD_HELPER ) --version)
55RELEASE = $(shell $(BUILD_HELPER ) --release)
66DATE = $(shell date +'% a % b % d % Y')
7- TARBALL = python3- badfish-$(VERSION ) .tar.gz
7+ TARBALL = badfish-$(VERSION ) .tar.gz
88
9- all : python3- badfish.spec python3- badfish-$(VERSION ) .tar.gz
9+ all : badfish.spec badfish-$(VERSION ) .tar.gz
1010
1111tarball : $(TARBALL )
1212
1313.PHONY : $(TARBALL )
1414$(TARBALL ) :
1515 rm -f $(TARBALL )
16- ( cd .. && git archive --prefix python3- badfish-$( VERSION) / HEAD ) \
16+ ( cd .. && git archive --prefix badfish-$( VERSION) / HEAD ) \
1717 | gzip > " $@ "
1818
19- python3- badfish.spec : python3- badfish.spec.tpl
19+ badfish.spec : badfish.spec.tpl
2020 @echo " GEN $@ " ; \
2121 sed -e " s|@VERSION@|$( VERSION) |g" \
2222 -e " s|@RELEASE@|$( RELEASE) |g" \
@@ -37,13 +37,13 @@ srpm: all
3737clean :
3838 rm -rf * .src.rpm * .tar.gz * .spec noarch
3939
40- test : tarball python3- badfish.spec
40+ test : tarball badfish.spec
4141 @echo " Moving tarball to rpmbuild/SOURCES directory"
4242 mkdir -p ~ /rpmbuild/SOURCES
4343 cp $(TARBALL ) ~ /rpmbuild/SOURCES/
4444 @echo " Tarball $( TARBALL) successfully moved to rpmbuild/SOURCES"
4545 @echo " Building source RPM from spec file"
46- SRPM_PATH=$$(rpmbuild -bs python3- badfish.spec | grep "Wrote:" | cut -d' ' -f2 ) && \
46+ SRPM_PATH=$$(rpmbuild -bs badfish.spec | grep "Wrote:" | cut -d' ' -f2 ) && \
4747 echo " Source RPM build completed: $$ SRPM_PATH" && \
4848 echo " Running mock build with the generated SRPM" && \
4949 mock -r fedora-rawhide-x86_64 -n $$ SRPM_PATH && \
0 commit comments