Account for egg-info
This commit is contained in:
parent
f66c247863
commit
d7d77e047f
@ -1,4 +1,5 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
||||
|
||||
Name: python-configobj
|
||||
Version: 4.5.2
|
||||
@ -12,12 +13,7 @@ Source0: http://dl.sf.net/configobj/configobj-%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?fedora} >= 8
|
||||
BuildRequires: python-setuptools-devel
|
||||
%else
|
||||
BuildRequires: python-setuptools
|
||||
%endif
|
||||
BuildRequires: python-devel python-setuptools-devel
|
||||
|
||||
%description
|
||||
ConfigObj is a simple but powerful config file reader and writer: an ini file
|
||||
@ -62,8 +58,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{python_sitelib}/*.py
|
||||
%{python_sitelib}/*.pyc
|
||||
%{python_sitelib}/*.pyo
|
||||
|
||||
|
||||
%{python_sitelib}/configobj-%{version}-py%{pyver}.egg-info
|
||||
|
||||
%changelog
|
||||
* Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> - 4.5.2-1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user