mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
b3c39632ea
commit
2dd8c346f3
@ -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
|
||||
|
@ -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
|
||||
|
@ -34,7 +34,7 @@ def setup_package():
|
||||
|
||||
try:
|
||||
setup(
|
||||
name = "freeipa-python",
|
||||
name = "ipa",
|
||||
version = "0.5.0",
|
||||
license = "GPL",
|
||||
author = "Karl MacMillan, et.al.",
|
||||
|
Loading…
Reference in New Issue
Block a user