[python-netifaces/el5] Correct usage of macros

Ryan Rix rrix at fedoraproject.org
Fri Jun 17 20:11:25 UTC 2011


commit 5606d9a1280dcf71c55561136085cfe46629809c
Author: Ryan Rix <ry at n.rix.si>
Date:   Fri Jun 17 13:11:00 2011 -0700

    Correct usage of macros

 python-netifaces.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python-netifaces.spec b/python-netifaces.spec
index afaaadb..ce2c649 100644
--- a/python-netifaces.spec
+++ b/python-netifaces.spec
@@ -39,7 +39,7 @@ python setup.py build
 %install
 rm -rf $RPM_BUILD_ROOT
 python setup.py install --root $RPM_BUILD_ROOT
-chmod -x $RPM_BUILD_ROOT/usr/lib64/python2.7/site-packages/netifaces-0.5-py2.7.egg-info/*
+chmod -x $RPM_BUILD_ROOT/%{python_sitearch}/netifaces-0.5-py2.7.egg-info/*
 
 
 %clean


More information about the scm-commits mailing list