[python-ZODB3] Mass rebuild for Fedora 17. Switch to the RPM 4.9 style of provides filtering.

Jerry James jjames at fedoraproject.org
Tue Jan 10 16:57:27 UTC 2012


commit 5a0ffbe86599174cb2c59092da0638a21d59c9f8
Author: Jerry James <loganjerry at gmail.com>
Date:   Tue Jan 10 09:57:12 2012 -0700

    Mass rebuild for Fedora 17.
    Switch to the RPM 4.9 style of provides filtering.

 python-ZODB3.spec |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/python-ZODB3.spec b/python-ZODB3.spec
index 8b18d12..940618f 100644
--- a/python-ZODB3.spec
+++ b/python-ZODB3.spec
@@ -1,8 +1,3 @@
-# Filter private shared library provides
-%filter_provides_in %{python_sitearch}/BTrees/.*\.so$
-%filter_provides_in %{python_sitearch}/persistent/.*\.so$
-%filter_setup
-
 Name:           python-ZODB3
 Version:        3.10.5
 Release:        1%{?dist}
@@ -33,6 +28,8 @@ Requires:       python-zope-event
 Requires:       python-zope-interface
 Requires:       python-zope-proxy
 
+%global __provides_exclude_from ^%{python_sitearch}/.*\\.so$
+
 %description
 The Zope Object Database provides an object-oriented database for Python
 that provides a high-degree of transparency. Applications can take
@@ -103,7 +100,6 @@ cp -p COPYRIGHT.txt LICENSE.txt HISTORY.txt README.txt \
 python setup.py test
 
 %files
-%defattr(-,root,root,-)
 %{_docdir}/%{name}-%{version}/
 %{python_sitearch}/ZODB/
 %exclude %{python_sitearch}/ZODB/tests/
@@ -120,10 +116,13 @@ python setup.py test
 %exclude %{python_sitearch}/ZEO/scripts/tests.py*
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/python?.?/ZODB3
 
 %changelog
+* Tue Jan 10 2012 Jerry James <loganjerry at gmail.com> - 3.10.5-2
+- Mass rebuild for Fedora 17
+- Switch to the RPM 4.9 style of provides filtering
+
 * Mon Nov 21 2011 Jerry James <loganjerry at gmail.com> - 3.10.5-1
 - Update to 3.10.5
 


More information about the scm-commits mailing list