PACKAGE=p4 .PHONY: rpm rpm: download -rm -rf build -mkdir build rpmbuild \ -ba $(PACKAGE).spec \ --clean \ --define "_topdir `pwd`" \ --define "_sourcedir %{_topdir}" \ --define "_specdir %{_topdir}" \ --define "_builddir %{_topdir}/build" \ --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \ --define "_rpmdir %{_topdir}" \ --define "_srcrpmdir %{_topdir}" .PHONY: download download: spectool -g $(PACKAGE).spec .PHONY: clean clean: -rm -rf p4 p4.1 build *.rpm
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5434 | Charles Hardin |
dump in an rpm tree and the src rpms that were produced... this was done for internal deployment, but someone else might find it useful for packaging |