summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-08-09 08:17:20 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-08-10 14:05:48 -0400
commit80a746e4c2f5168794bd8747db01e25c0b16d876 (patch)
tree6f4b2b64a94d6440e5060ae0c2e323b8f361bb87 /contrib
parent1919c61f1c1f399539f8349e8c117bc66d147119 (diff)
downloadsssd-80a746e4c2f5168794bd8747db01e25c0b16d876.tar.gz
sssd-80a746e4c2f5168794bd8747db01e25c0b16d876.tar.bz2
sssd-80a746e4c2f5168794bd8747db01e25c0b16d876.zip
Remove private shared object Provides: for pysss.so and pyhbac.so
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 707cf24f..96c15c54 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