From c896c023d9090c2e7ff44524bad4435b1213733d Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 19 Jan 2016 17:05:40 +0100 Subject: [PATCH] use %global instead of %define --- python-augeas.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-augeas.spec b/python-augeas.spec index 765a918..43e5e48 100644 --- a/python-augeas.spec +++ b/python-augeas.spec @@ -1,5 +1,5 @@ # sitelib for noarch packages, sitearch for others (remove the unneeded one) -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 9 || 0%{?rhel} >= 6 %bcond_without egg @@ -84,6 +84,9 @@ popd %changelog +* Tue Jan 19 2016 Nils Philippsen +- use %%global instead of %%define + * Fri Nov 06 2015 Robert Kuska - 0.5.0-4 - Rebuilt for Python3.5 rebuild