Skip to contentSkip to conversation

rteval: Remove upstream spec file

PATCH New John Kacur 1 participant 1 message Nov 13, 2023 Kbuild

lore
Share & tools
lore

John Kacur

author
#0 lore raw

PATCH 1/1 rteval: Remove upstream spec file

Specfiles should be maintained by distributions and not in the upstream code. In practice they are not maintained upstream except for version numbers, so just remove the specfile.

This also moves a lot of functionality around rpms in the Makefile, but this functionality exists in tools such as rpmbuild and friends anyway.

---
 Makefile    |  37 ----
 rteval.spec | 484 ----------------------------------------------------
 2 files changed, 521 deletions(-)
 delete mode 100644 rteval.spec
Makefile +0 -37
index 14f74e087eff..ee4cca555b95 100644
@@ -79,49 +79,12 @@ rpm_prep:
 
 rpms rpm: rpm_prep rtevalrpm loadrpm
 
-rtevalrpm: rteval-$(VERSION).tar.bz2
-	cp $^ rpm/SOURCES
-	cp rteval.spec rpm/SPECS
-	rpmbuild -ba --define "_topdir $(HERE)/rpm" rpm/SPECS/rteval.spec
-
-rtevalsrpm: rteval-$(VERSION).tar.bz2
-	cp $^ rpm/SOURCES
-	cp rteval.spec rpm/SPECS
-	rpmbuild -bs --define "_topdir $(HERE)/rpm" rpm/SPECS/rteval.spec
-
-
-xmlrpcrpm: rteval-xmlrpc-$(XMLRPCVER).tar.gz
-	cp rteval-xmlrpc-$(XMLRPCVER).tar.gz rpm/SOURCES/
-	cp server/rteval-parser.spec rpm/SPECS/
-	rpmbuild -ba --define "_topdir $(HERE)/rpm" rpm/SPECS/rteval-parser.spec
-
-xmlsrpm: rteval-xmlrpc-$(XMLRPCVER).tar.gz
-	cp rteval-xmlrpc-$(XMLRPCVER).tar.gz rpm/SOURCES/
-	cp server/rteval-parser.spec rpm/SPECS/
-	rpmbuild -bs --define "_topdir $(HERE)/rpm" rpm/SPECS/rteval-parser.spec
-
-loadrpm:
-	rm -rf rpm-loads
-	mkdir -p rpm-loads/{BUILD,RPMS,SRPMS,SOURCES,SPECS}
-	cp rteval-loads.spec rpm-loads/SPECS
-	cp $(LOADS) rpm-loads/SOURCES
-	rpmbuild -ba --define "_topdir $(HERE)/rpm-loads" rpm-loads/SPECS/rteval-loads.spec
-
-rpmlint: rpms
-	@echo "==============="
-	@echo "running rpmlint"
-	rpmlint -v $(shell find ./rpm -type f -name "*.rpm") 	 \
-		$(shell find ./rpm-loads -type f -name "*.rpm")	 \
-		$(shell find ./rpm/SPECS -type f -name "rteval*.spec") \
-		$(shell find ./rpm-loads/SPECS -type f -name "rteval*.spec" )
 
 help:
 	@echo ""
 	@echo "rteval Makefile targets:"
 	@echo ""
 	@echo "        runit:     do a short testrun locally [default]"
-	@echo "        rpm:       run rpmbuild for all rpms"
-	@echo "        rpmlint:   run rpmlint against all rpms/srpms/specfiles"
 	@echo "        tarfile:   create the source tarball"
 	@echo "        install:   install rteval locally"
 	@echo "        clean:     cleanup generated files"
rteval.spec deleted +0 -484

484 lines not on this page · raw message

Signature · 1 line
2.41.0