[python-visual/f14/master] use corrent filter_setup (thanks to Kalev Lember)

tomspur tomspur at fedoraproject.org
Tue Nov 30 14:00:04 UTC 2010


commit b4e426aa528ec856e7393c554da4d3a5d8f03a43
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Tue Nov 30 14:59:03 2010 +0100

    use corrent filter_setup (thanks to Kalev Lember)

 python-visual.spec |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/python-visual.spec b/python-visual.spec
index a910218..370e7ce 100644
--- a/python-visual.spec
+++ b/python-visual.spec
@@ -7,17 +7,17 @@
 %global with_python3 0
 %endif
 
-#PRO{?filter_setup:
-#PROfilter_provides_in %{python_sitearch}/.*\.so*
-#PROfilter_requires_in %{python_sitearch}/.*\.so*
-#PROfilter_setup
-#}
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so*
+%filter_from_requires /cvisualmodule\.so/d
+%filter_setup
+}
 
 %global upst_version 5.4
 
 Name:           python-visual
 Version:        5.40
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        3D Programming
 
 Group:          Development/Languages
@@ -38,11 +38,6 @@ BuildRequires:  python3-devel
 BuildRequires:  python3-numpy
 %endif
 
-#See: https://bugzilla.redhat.com/show_bug.cgi?id=580984
-Requires:       gtkglextmm-devel
-#See: https://bugzilla.redhat.com/show_bug.cgi?id=657851
-Requires:       libglademm24
-
 Obsoletes:      vpython < %{version}
 Provides:       vpython = %{version}
 
@@ -195,6 +190,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Nov 30 2010 Thomas Spura <tomspur at fedoraproject.org> - 5.40-2
+- use corrent filter_setup (thanks to Kalev Lember)
+
 * Tue Nov 30 2010 Thomas Spura <tomspur at fedoraproject.org> - 5.40-1
 - update to new version
 - add disabled python3 subpackage


More information about the scm-commits mailing list