diff libpst.spec.in @ 318:b08fd8813ffe

filter_provides is a regex, not a path, and is not available on el5
author Carl Byington <carl@five-ten-sg.com>
date Mon, 24 Dec 2012 18:49:59 -0800
parents af6ae20be5ba
children 6fc49b69b1dc
line wrap: on
line diff
--- a/libpst.spec.in	Mon Dec 24 18:09:20 2012 -0800
+++ b/libpst.spec.in	Mon Dec 24 18:49:59 2012 -0800
@@ -38,7 +38,10 @@
 Requires:           python
 Requires:           %{name}-libs = %{version}-%{release}
 
-%filter_provides_in %{python_sitearch}/_*.so
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/_.*\.so$
+%filter_setup
+}
 
 %description python
 The libpst-python package allows you to use the libpst shared object