# HG changeset patch # User Carl Byington # Date 1379894065 25200 # Node ID 387655bdc5cbe41085b3873c2e2b57c64eb37279 # Parent f1595a84790b82d75c3c92f31984c544f74e1e6c Old dependency filter breaks file coloring diff -r f1595a84790b -r 387655bdc5cb libpst.spec.in --- a/libpst.spec.in Sun Sep 22 16:10:10 2013 -0700 +++ b/libpst.spec.in Sun Sep 22 16:54:25 2013 -0700 @@ -39,9 +39,15 @@ Requires: python Requires: %{name}-libs = %{version}-%{release} -%global __provides_exclude_from -%{?__provides_exclude_from:%__provides_exclude_from|}^ -%{python_sitearch}/_.*\.so$ +%if 0%{?fedora} >= 20 + %global __provides_exclude_from + %{?__provides_exclude_from:%__provides_exclude_from|}^%{python_sitearch}/_.*\.so$ +%else + %{?filter_setup: + %filter_provides_in %{python_sitearch}/_.*\.so$ + %filter_setup +%endif + %description python The libpst-python package allows you to use the libpst shared object