diff options
author | jbj <devnull@localhost> | 2002-11-09 19:25:13 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-11-09 19:25:13 +0000 |
commit | fd2febe30909b1919e7e8c5d7c2b5f9d3eae1c1e (patch) | |
tree | 5d0b5aa293ef334adda4cfb3f9274c181fbee2e2 /macros.in | |
parent | 1d55aedd3f2f42b56fc2c1bb3880980f89181a89 (diff) | |
download | rpm-fd2febe30909b1919e7e8c5d7c2b5f9d3eae1c1e.tar.gz rpm-fd2febe30909b1919e7e8c5d7c2b5f9d3eae1c1e.tar.bz2 rpm-fd2febe30909b1919e7e8c5d7c2b5f9d3eae1c1e.zip |
- add _javadir/_javadocdir/_javaclasspath macros.
CVS patchset: 5845
CVS date: 2002/11/09 19:25:13
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,7 +1,7 @@ #/*! \page config_macros Default configuration: @RPMCONFIGDIR@/macros # \verbatim # -# $Id: macros.in,v 1.125 2002/10/24 21:36:13 jbj Exp $ +# $Id: macros.in,v 1.126 2002/11/09 19:25:14 jbj Exp $ # # This is a global RPM configuration file. All changes made here will # be lost when the rpm package is upgraded. Any per-system configuration @@ -252,6 +252,16 @@ package or when debugging this package. \ # %_install_langs all +# The value of CLASSPATH in build scriptlets (iff configured). +# +#%_javaclasspath all + +# Import packaging conventions from jpackage.org (prefixed with _ +# to avoid name collisions). +# +%_javadir %{_datadir}/java +%_javadocdir %{_datadir}/javadoc + # # Deprecated. # @@ -708,6 +718,8 @@ package or when debugging this package. \ export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE\ %{?buildroot:RPM_BUILD_ROOT=\"%{u2p:%{buildroot}}\"\ export RPM_BUILD_ROOT}\ + %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\ + export CLASSPATH}\ \ %{verbose:set -x}%{!verbose:exec > /dev/null}\ umask 022\ |