FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Desktop

 
 
LinkBack Thread Tools
 
Old 01-07-2010, 11:14 AM
Hans de Goede
 
Default 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
 

Thread Tools




All times are GMT. The time now is 01:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org