From 8d43c6c52ecec2d35070744c1dd771c549768d96 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Tue, 14 Feb 2006 22:50:42 +0000 Subject: Patch Makefile, thanks Ignacio --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 76bda52..f114b0c 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,8 @@ TITLE = Fedora Documentation Project Shared Files # Some RPM flags... ###################################################### RPMFLAGS = --define "docbase $(DOCBASE)" \ - --define "_topdir $(PWD)/rpmbuild" + --define "_topdir $(PWD)/rpmbuild" \ + --define "_build_name_fmt %{name}-%{version}-%{release}.%{arch}.rpm" RPM = rpm ${RPMFLAGS} ###################################################### @@ -72,7 +73,7 @@ rpm: update # Do the build... # rpmbuild -ba $(RPMFLAGS) $(DOCSPEC) - mv $(shell ${RPM} --eval '%{_rpmdir}')/noarch/*.rpm . + mv $(shell ${RPM} --eval '%{_rpmdir}')/*.rpm . mv $(shell ${RPM} --eval '%{_srcrpmdir}')/*.rpm . rpmbuild --clean --rmsource $(RPMFLAGS) $(DOCSPEC) rm -rf $(shell ${RPM} --eval '%{_topdir}') -- cgit