summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-09-16 08:09:44 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-09-22 09:55:25 -0400
commitf34223890c3d0bdbbefba4150fb95ec7fd703b87 (patch)
tree7b5b9b90bd664020cddc5ebb6d497ddf9a744fc7 /contrib
parent39493740e9190e70b902e4dbfb883c1e7c791b00 (diff)
downloadsssd-f34223890c3d0bdbbefba4150fb95ec7fd703b87.tar.gz
sssd-f34223890c3d0bdbbefba4150fb95ec7fd703b87.tar.bz2
sssd-f34223890c3d0bdbbefba4150fb95ec7fd703b87.zip
Fix assorted specfile issues
1) Pam modules should be explicitly built for /lib64/security 2) The krb5 locator plugin is always built; remove the conditional 3) The krb5 locator plugin belongs in the sssd-client package 4) The sss_obfuscate manpage was not packaged
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in14
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index a26cf9da..3f6a0f1b 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -100,6 +100,7 @@ service.
--with-pubconf-path=%{pubconfpath} \
--with-init-dir=%{_initrddir} \
--enable-nsslibdir=/%{_lib} \
+ --enable-pammoddir=/%{_lib}/security \
--disable-static \
--disable-rpath
@@ -143,12 +144,8 @@ rm -f \
$RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.la \
$RPM_BUILD_ROOT/%{python_sitearch}/pysss.la
-if test -e $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so
-then
- # Apppend this file to the sss_daemon.lang
- # Older versions of rpmbuild can only handle one -f option
- echo %{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so >> sssd.lang
-fi
+# Older versions of rpmbuild can only handle one -f option
+# So we need to append to the sssd.lang file
for file in `ls $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info 2> /dev/null`
do
echo %{python_sitelib}/`basename $file` >> sssd.lang
@@ -199,17 +196,18 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/sss_useradd.8*
%{_mandir}/man8/sss_userdel.8*
%{_mandir}/man8/sss_usermod.8*
-%{_mandir}/man8/sssd_krb5_locator_plugin.8*
+%{_mandir}/man8/sss_obfuscate.8*
%{python_sitearch}/pysss.so
%{python_sitelib}/*.py*
-
%files client
%defattr(-,root,root,-)
%doc src/sss_client/COPYING src/sss_client/COPYING.LESSER
/%{_lib}/libnss_sss.so.2
/%{_lib}/security/pam_sss.so
+%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so
%{_mandir}/man8/pam_sss.8*
+%{_mandir}/man8/sssd_krb5_locator_plugin.8*
%post
/sbin/ldconfig