[PATCH pykickstart 1/2] Change python_sitelib macro to use %global for new rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux