From 864490ff41c306b7388dd08ab5091df2f8310a55 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 7 Jan 2010 14:12:52 -0500 Subject: Replace uses of %define with %global in the .spec file Fixes rawhide builds per https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html Contributed by Nalin Dahyabhai --- ipa.spec.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ipa.spec.in') diff --git a/ipa.spec.in b/ipa.spec.in index 84884a5cd..6b5e655c6 100644 --- a/ipa.spec.in +++ b/ipa.spec.in @@ -1,14 +1,14 @@ # Define ONLY_CLIENT to only make the ipa-client and ipa-python subpackages -%{!?ONLY_CLIENT:%define ONLY_CLIENT 0} +%{!?ONLY_CLIENT:%global ONLY_CLIENT 0} # Define WITH_RADIUS to build the radius packages -%define WITH_RADIUS 0 +%global WITH_RADIUS 0 -%define httpd_conf /etc/httpd/conf.d -%define plugin_dir %{_libdir}/dirsrv/plugins -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%define POLICYCOREUTILSVER 1.33.12-1 +%global httpd_conf /etc/httpd/conf.d +%global plugin_dir %{_libdir}/dirsrv/plugins +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%global POLICYCOREUTILSVER 1.33.12-1 Name: ipa Version: __VERSION__ -- cgit