From ab23ab9c7ee4f4a6d1810cfcca47aa2be73e02c7 Mon Sep 17 00:00:00 2001 From: Ryan Rix Date: Tue, 21 Jun 2011 11:19:53 -0700 Subject: [PATCH] Fix usage of macros --- python-netifaces.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/python-netifaces.spec b/python-netifaces.spec index afaaadb..f3702a6 100644 --- a/python-netifaces.spec +++ b/python-netifaces.spec @@ -3,10 +3,6 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from %distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif -# Filter private shared library provides -%filter_provides_in %{python_sitearch}/zope/interface/.*\.so$ -%filter_setup - Name: python-netifaces Version: 0.5 Release: 1%{?dist} @@ -39,7 +35,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-*.egg-info/* %clean @@ -49,7 +45,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README -%{python_sitearch}/netifaces-0.5-py2.7.egg-info/ +%{python_sitearch}/netifaces-0.5-*.egg-info/ %{python_sitearch}/netifaces.so %changelog