rpmfilename must be constructed using rpmmacros
Different subpackages have different names so, at the least, the %NAME
macros must be used when constructing the rpmfilename. Otherwise each
subsequent subpackage will overwrite the previous one.
This reinstates dag's fix from d4b6aecd97
Fixes #62673
This commit is contained in:
parent
ada02f1966
commit
30cc54da8c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -301,7 +301,7 @@ rpm: rpmcommon
|
||||||
--define "_srcrpmdir %{_topdir}" \
|
--define "_srcrpmdir %{_topdir}" \
|
||||||
--define "_specdir $(RPMSPECDIR)" \
|
--define "_specdir $(RPMSPECDIR)" \
|
||||||
--define "_sourcedir %{_topdir}" \
|
--define "_sourcedir %{_topdir}" \
|
||||||
--define "_rpmfilename $(RPMNVR).%%{ARCH}.rpm" \
|
--define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
|
||||||
--define "__python `which $(PYTHON)`" \
|
--define "__python `which $(PYTHON)`" \
|
||||||
--define "upstream_version $(VERSION)" \
|
--define "upstream_version $(VERSION)" \
|
||||||
--define "rpmversion $(RPMVERSION)" \
|
--define "rpmversion $(RPMVERSION)" \
|
||||||
|
|
Loading…
Reference in a new issue