[pyfits] Added a filter to provides in python3-pyfits

Sergio Pascual sergiopr at fedoraproject.org
Wed Apr 25 11:29:07 UTC 2012


commit 39a4242665e3faf955ce20fb63d5ecf6f88cf59c
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Wed Apr 25 13:28:39 2012 +0200

    Added a filter to provides in python3-pyfits

 pyfits.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/pyfits.spec b/pyfits.spec
index 25393e0..c822318 100644
--- a/pyfits.spec
+++ b/pyfits.spec
@@ -6,7 +6,7 @@
 
 Name: pyfits
 Version: 3.0.7
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Python interface to FITS
 
 Group: Development/Languages
@@ -38,6 +38,12 @@ BuildRequires: python3-devel python3-numpy python3-setuptools python3-tools
 BuildRequires: zlib-devel
 Requires: python3-numpy
 
+# we don't want to provide private python extension libs
+%{?filter_setup:
+%filter_provides_in %{python3_sitearch}/.*\.so$ 
+%filter_setup
+}
+
 %description -n python3-pyfits
 PyFITS provides an interface to FITS formatted files under the Python 
 scripting language. It is useful both for interactive data analysis and for 
@@ -101,6 +107,9 @@ chmod 755 %{buildroot}%{python_sitearch}/pyfits/compression.so
 %endif # with_python3
 
 %changelog
+* Wed Apr 25 2012 Sergio Pascual <sergiopr at fedoraproject.org> - 3.0.7-3
+- Added a filter to provides in python3-pyfits
+
 * Wed Apr 25 2012 Sergio Pascual <sergiopr at fedoraproject.org> - 3.0.7-2
 - Unbundle zlib
 


More information about the scm-commits mailing list