From cbb246819173939189e1c5b77dc294d179ee4f84 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Nov 14 2008 05:48:00 +0000 Subject: Use %global --- diff --git a/plplot.spec b/plplot.spec index 6c27d70..809a1db 100644 --- a/plplot.spec +++ b/plplot.spec @@ -1,5 +1,5 @@ -%{!?python_sitearch:%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%{!?octave_api:%define octave_api %(octave-config -p API_VERSION || echo 0)} +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?octave_api:%global octave_api %(octave-config -p API_VERSION || echo 0)} # Set to bcond_with or use --without doc to disable doc build %bcond_without doc # Set to bcond_with or use --without octave to disable octave support