X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm-install-tree;h=02323811257092b9987f05a2676883a4ef846908;hb=6c5a7f8578299dfdfae9efe8b218ea47aedd3b97;hp=ef05d51fe501db5078d1b3b705a916b0e15fd5fa;hpb=09a9ed660e30dd0ffe9560a0acf200bc590570d4;p=packages%2Frpm.git diff --git a/rpm-install-tree b/rpm-install-tree index ef05d51..0232381 100644 --- a/rpm-install-tree +++ b/rpm-install-tree @@ -1,18 +1,3 @@ #!/bin/sh -DUMB_SPEC_FILE=`mktemp -q ${TMPDIR:-/tmp}/bilder.XXXXXX || ( echo "mktemp falied." ; exit 1)` -echo "\ -Summary: - -Name: dumb -Version: dumb -Release: dumb -Copyright: dumb -Group: - -%description - -%prep -install -d %{_rpmdir} %{_specdir} %{_sourcedir} %{_srcrpmdir} %{_builddir} -" > $DUMB_SPEC_FILE -rpm -bp $DUMB_SPEC_FILE >/dev/null 2>&1 -rm -f $DUMB_SPEC_FILE - +install -d `rpm --eval "%{_rpmdir} %{_specdir} %{_sourcedir} %{_srcrpmdir} %{_builddir}"`