Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Desktop (http://www.linux-archive.org/fedora-desktop/)
-   -   Change python_sitelib macro to use %global for new rpm (http://www.linux-archive.org/fedora-desktop/306013-change-python_sitelib-macro-use-global-new-rpm.html)

Hans de Goede 01-07-2010 11:14 AM

Change python_sitelib macro to use %global for new rpm
 
Change python_sitelib macro to use %global as the new rpm will break
using %define here, see:
https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html
---
pykickstart.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pykickstart.spec b/pykickstart.spec
index e07ddd3..91187b1 100644
--- a/pykickstart.spec
+++ b/pykickstart.spec
@@ -1,4 +1,4 @@
-%{!?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()")}

Summary: A python library for manipulating kickstart files
Name: pykickstart
--
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 02:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.