https://fedorahosted.org/sssd/ticket/1394
From 4388a7173632297733da409590cd9b240a88f3d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrez...@redhat.com>
Date: Mon, 17 Sep 2012 13:33:34 +0200
Subject: [PATCH] rpm: put localized sssd_krb5_locator_plugin manpages into
 client

Localized sssd_krb5_locator_plugin manpages were added into main
sssd package instead of client.

https://fedorahosted.org/sssd/ticket/1394
---
 contrib/sssd.spec.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 6c2a0f4ef99c8312dd12d2913191d0f35529e3ab..7a93afbcc3e0fb4965907cb910053b93941cc640 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -306,6 +306,7 @@ do
 done
 
 touch sssd_tools.lang
+touch sssd_client.lang
 for man in `find $RPM_BUILD_ROOT/%{_mandir}/??/man?/ -type f | sed -e "s#$RPM_BUILD_ROOT/%{_mandir}/##"`
 do
     lang=`echo $man | cut -c 1-2`
@@ -313,6 +314,9 @@ do
         sss_*)
             echo \%lang\(${lang}\) \%{_mandir}/${man}\* >> sssd_tools.lang
             ;;
+        sssd_krb5_*)
+            echo \%lang\(${lang}\) \%{_mandir}/${man}\* >> sssd_client.lang
+            ;;
         *)
             echo \%lang\(${lang}\) \%{_mandir}/${man}\* >> sssd.lang
             ;;
@@ -395,7 +399,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{python_sitelib}/SSSDConfig
 %{python_sitelib}/SSSDConfig/*.py*
 
-%files client
+%files client -f sssd_client.lang
 %defattr(-,root,root,-)
 %doc src/sss_client/COPYING src/sss_client/COPYING.LESSER
 /%{_lib}/libnss_sss.so.2
-- 
1.7.6.5

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to