summaryrefslogtreecommitdiffstats
path: root/openssl.spec
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-12 21:14:03 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-12 21:54:07 +0100
commit3c65577f1af1109beb8de06420efa09188981628 (patch)
treea4462f7bef60133b8e4654c3e0d038d077775108 /openssl.spec
parentc619e81011209ec7c52763a07479081fc15076f1 (diff)
Rename INSTALL_PREFIX to DESTDIR, remove option --install_prefix
INSTALL_PREFIX is a confusing name, as there's also --prefix. Instead, tag along with the rest of the open source world and adopt the Makefile variable DESTDIR to designate the desired staging directory. The Configure option --install_prefix is removed, the only way to designate a staging directory is with the Makefile variable (this is also implemented for VMS' descrip.mms et al). Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'openssl.spec')
-rw-r--r--openssl.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl.spec b/openssl.spec
index f347c486f7..ceda82ad85 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -103,7 +103,7 @@ LD_LIBRARY_PATH=`pwd` make test
%install
rm -rf $RPM_BUILD_ROOT
-make MANDIR=/usr/man MANSUFFIX=ssl INSTALL_PREFIX="$RPM_BUILD_ROOT" install
+make MANDIR=/usr/man MANSUFFIX=ssl DESTDIR="$RPM_BUILD_ROOT" install
# Make backwards-compatibility symlink to ssleay
ln -sf /usr/bin/openssl $RPM_BUILD_ROOT/usr/bin/ssleay