remove dists

This commit is contained in:
Radon 2025-09-23 20:20:10 -05:00
parent 063b48e113
commit 10e8dc73b4
2 changed files with 0 additions and 27 deletions

3
DISTS
View File

@ -1,3 +0,0 @@
fc41
fc42
fc43

View File

@ -1,7 +1,6 @@
NAME = ksigner
VERSION = $(shell cat VERSION)
RELEASE = $(shell cat RELEASE)
DISTS = $(shell cat DISTS)
SOURCEDIR = .
BUILDDIR = build
SOURCES = src/ksigner src/ksigner.conf docs/ksigner.8 README.md LICENSE
@ -36,29 +35,6 @@ dist: $(BUILDDIR) $(NAME).spec src/$(NAME) docs/$(NAME).8
cd $(BUILDDIR) && tar -czf $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)/
cp $(BUILDDIR)/$(NAME)-$(VERSION).tar.gz $(SOURCEDIR)
sprm-all: dist
@for dist in $(DISTS); do \
echo "Building SRPM for $$dist..."; \
rpmbuild --define "_topdir $(PWD)/$(BUILDDIR)/$$dist" \
--undefine "dist" \
--define "dist .$$dist" \
--define "_sourcedir $(PWD)" \
--define "_srcrpmdir $(or $(outdir),$(PWD))" \
-bs $(NAME).spec; \
done
rpm-all: dist
@for dist in $(DISTS); do \
echo "Building RPM for $$dist..."; \
rpmbuild --define "_topdir $(PWD)/$(BUILDDIR)/$$dist" \
--undefine "dist" \
--define "dist .$$dist" \
--define "_sourcedir $(PWD)" \
--define "_rpmdir $(PWD)" \
--define "_buildrootdir $(PWD)/$(BUILDDIR)/$$dist" \
-ba $(NAME).spec; \
done
srpm: dist
rpmbuild --define "_topdir $(PWD)/$(BUILDDIR)" \
--define "_sourcedir $(PWD)" \