File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1- FEDORA_RELEASE = $(shell cut -d' ' -f 3 /etc/fedora-release)
1+ FEDORA_RELEASE ? = $(shell cut -d' ' -f 3 /etc/fedora-release)
22
33.PHONY : srpm
44srpm :
Original file line number Diff line number Diff line change @@ -4,16 +4,7 @@ FEDORA_RELEASE ?= 41
44ARCH ?= x86_64
55
66totpm-$(VERSION ) .tar.gz : $(SOURCES )
7- tar \
8- --exclude ' *.tar.gz' \
9- --exclude ' .git*' \
10- --exclude ' .vscode' \
11- --exclude target \
12- --exclude ' *.rpm' \
13- --exclude ' results_*' \
14- --transform ' s,^\(\.[^/]\+\),totpm-$(VERSION)/\1,' \
15- --transform ' s,^\.,totpm-$(VERSION),' \
16- -czf totpm-$(VERSION ) .tar.gz .
7+ git archive --prefix=totpm-$(VERSION ) / HEAD | gzip > totpm-$(VERSION ) .tar.gz
178
189totpm-$(VERSION ) -1.fc$(FEDORA_RELEASE ) .src.rpm : totpm-$(VERSION ) .tar.gz
1910 fedpkg --release f$(FEDORA_RELEASE ) srpm
You can’t perform that action at this time.
0 commit comments