]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-install-tree
- build both python2 and python3 modules
[packages/rpm.git] / rpm-install-tree
index ef05d51fe501db5078d1b3b705a916b0e15fd5fa..02323811257092b9987f05a2676883a4ef846908 100644 (file)
@@ -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}"`
This page took 0.032832 seconds and 4 git commands to generate.