summaryrefslogtreecommitdiffstats
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:19:03 -0500
commitafb62c29182fc8174b63520a7170faa22a9dc47b (patch)
tree0ec98cbfa83a23782cfd003be1203a9469a372a5
parent3999ec5b254cfd822e2a1dc6401a7b8ec6313dbf (diff)
downloadsssd-afb62c29182fc8174b63520a7170faa22a9dc47b.tar.gz
sssd-afb62c29182fc8174b63520a7170faa22a9dc47b.tar.xz
sssd-afb62c29182fc8174b63520a7170faa22a9dc47b.zip
Make packaging of *.egg-info files more flexible
-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