diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-12 17:20:22 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-13 14:01:17 -0400 |
commit | 78e94ac5eec58ec774d73afe9a22220cefb348b9 (patch) | |
tree | 6a297eadec9d2305222ffd69a25228e672f60481 /contrib | |
parent | 0eb99b936eb552cf322a2c4e1f8d751c75f6f129 (diff) | |
download | sssd-78e94ac5eec58ec774d73afe9a22220cefb348b9.tar.gz sssd-78e94ac5eec58ec774d73afe9a22220cefb348b9.tar.xz sssd-78e94ac5eec58ec774d73afe9a22220cefb348b9.zip |
Package SSSDConfig API
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 9cd657a22..670f1c9d1 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -1,4 +1,5 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ @@ -89,6 +90,8 @@ make install DESTDIR=$RPM_BUILD_ROOT # Copy default sssd.conf file mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sssd install -m600 server/examples/sssd.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf +install -m400 server/config/etc/sssd.api.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.conf +install -m400 server/config/etc/sssd.api.d/* $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.d/ # Remove .la files created by libtool rm -f \ @@ -131,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT %attr(750,root,root) %dir %{_var}/log/%{name} %attr(700,root,root) %dir %{_sysconfdir}/sssd %config(noreplace) %{_sysconfdir}/sssd/sssd.conf +%config %{_sysconfdir}/sssd/sssd.api.conf +%attr(700,root,root) %dir %{_sysconfdir}/sssd/sssd.api.d +%config %{_sysconfdir}/sssd/sssd.api.d/ %{_mandir}/man5/sssd.conf.5* %{_mandir}/man5/sssd-krb5.5* %{_mandir}/man5/sssd-ldap.5* @@ -145,6 +151,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/locale/*/LC_MESSAGES/sss_client.mo %{_datadir}/locale/*/LC_MESSAGES/sss_daemon.mo %{python_sitearch}/pysss.so +%{python_sitelib}/*.py* +%{?fedora:%{python_sitelib}/*.egg-info} + %files client /%{_lib}/libnss_sss.so.2 |