summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-12-04 17:45:39 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-07 10:18:53 -0500
commitd502762b5fde5bfd485b6cd76f300a5e80b45d31 (patch)
treef82799236f916a5b8a1a7b27490af9d08a38047f /contrib
parent88c0e85d55c8ad87480e6c10106e53adff887396 (diff)
downloadsssd-d502762b5fde5bfd485b6cd76f300a5e80b45d31.tar.gz
sssd-d502762b5fde5bfd485b6cd76f300a5e80b45d31.tar.xz
sssd-d502762b5fde5bfd485b6cd76f300a5e80b45d31.zip
Make packaging of *.egg-info files more flexible
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 0b3861b12..e221df5b0 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -120,6 +120,10 @@ then
# Older versions of rpmbuild can only handle one -f option
echo %{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so >> sss_daemon.lang
fi
+if ls $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info 1> /dev/null 2> /dev/null
+then
+ echo %{python_sitelib}/*.egg-info >> sss_daemon.lang
+fi
%clean
rm -rf $RPM_BUILD_ROOT
@@ -163,7 +167,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/sssd_krb5_locator_plugin.8*
%{python_sitearch}/pysss.so
%{python_sitelib}/*.py*
-%{?fedora:%{python_sitelib}/*.egg-info}
%files client -f sss_client.lang