Fix ipa-python packaging
Latest Fedora 9 python distutils generates .egg-info files; follow the recommendation at: http://fedoraproject.org/wiki/Packaging/Python/Eggs and just package everything under %{python_sitelib}/ Signed-off-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
1 parent
b3c39632ea
commit
2dd8c346f3
3 files changed
+3
-9
No files matched your search
@@ -14,8 +14,6 @@ Requires: PyKerberos
|
||||
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%define pkgpythondir %{python_sitelib}/ipa
|
||||
|
||||
%description
|
||||
Ipa is a server for identity, policy, and audit.
|
||||
|
||||
@@ -33,8 +31,7 @@ rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{pkgpythondir}
|
||||
%{pkgpythondir}/*
|
||||
%{python_sitelib}/*
|
||||
%config(noreplace) %{_sysconfdir}/ipa/ipa.conf
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in new issue
Block a user