github.com/containers/podman/v5@v5.1.0-rc1/rpm/Makefile (about)

     1  .PHONY: rpm
     2  rpm:
     3  	$(shell /usr/bin/bash ./update-spec-version.sh)
     4  	spectool -g podman.spec
     5  	rpmbuild -ba \
     6  		--define '_sourcedir $(shell pwd)' \
     7  		--define '_rpmdir %{_sourcedir}/RPMS' \
     8  		--define '_srcrpmdir %{_sourcedir}/SRPMS' \
     9  		--define '_builddir %{_sourcedir}/BUILD' \
    10  		podman.spec
    11  	@echo ___RPMS can be found in rpm/RPMS/.___
    12  	@echo ___Undo any changes to Version, Source0 and %autosetup in rpm/podman.spec before committing.___