Eliminates an rpmlint warning about private shared object provides.
There's no reason to be advertising this.
From 01d80c94f77cd5fb25ee34a0a0be2e4b91a46846 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgall...@redhat.com>
Date: Tue, 9 Aug 2011 08:17:20 -0400
Subject: [PATCH 1/3] Remove private shared object Provides: for pysss.so and
 pyhbac.so

---
 contrib/sssd.spec.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 4e35585f2b42888ab84d491ff6c97de874301395..d3b947c5ce2a89209b97219282e99aea43648a39 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -3,6 +3,12 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %endif
 
+# we don't want to provide private python extension libs
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so$ 
+%filter_setup
+}
+
 %if (0%{?rhel} == 5)
 %{!?is_rhel57: %global is_rhel57 %(%{__grep} -c "5\.[^0-6]" /etc/redhat-release)}
 %endif
-- 
1.7.6

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to