mirror of
https://github.com/containers/podman
synced 2024-10-18 16:24:34 +00:00
315a7887a6
package and package-install targets have been renamed to rpm and rpm-install respectively for clarity. `make rpm` will now build rpm using HEAD. Resolves: #18817 [NO NEW TESTS NEEDED] Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
13 lines
441 B
Makefile
13 lines
441 B
Makefile
.PHONY: rpm
|
|
rpm:
|
|
$(shell /usr/bin/bash ./update-spec-version.sh)
|
|
spectool -g podman.spec
|
|
rpmbuild -ba \
|
|
--define '_sourcedir $(shell pwd)' \
|
|
--define '_rpmdir %{_sourcedir}/RPMS' \
|
|
--define '_srcrpmdir %{_sourcedir}/SRPMS' \
|
|
--define '_builddir %{_sourcedir}/BUILD' \
|
|
podman.spec
|
|
@echo ___RPMS can be found in rpm/RPMS/.___
|
|
@echo ___Undo any changes to Version, Source0 and %autosetup in rpm/podman.spec before committing.___
|