[pyfits] - New upstream source - Added filter macro to avoid private-shared-object-provides rpmlint warning

Sergio Pascual sergiopr at fedoraproject.org
Wed Jan 19 19:59:31 UTC 2011


commit be465fb65f9fefedb2ba6377ae2e8d9c53bffd04
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Wed Jan 19 20:59:12 2011 +0100

    - New upstream source
    - Added filter macro to avoid private-shared-object-provides rpmlint warning

 .gitignore  |    1 +
 pyfits.spec |   15 +++++++++++++--
 sources     |    2 +-
 3 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7bdcd27..be82b07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 pyfits-2.3.1.tar.gz
+/pyfits-2.4.0.tar.gz
diff --git a/pyfits.spec b/pyfits.spec
index a71c1c0..d704738 100644
--- a/pyfits.spec
+++ b/pyfits.spec
@@ -1,6 +1,6 @@
 Name: pyfits
-Version: 2.3.1
-Release: 2%{?dist}
+Version: 2.4.0
+Release: 1%{?dist}
 Summary: Python interface to FITS
 
 Group: Development/Languages
@@ -12,6 +12,12 @@ Source0: http://www.stsci.edu/resources/software_hardware/pyfits/%{name}-%{versi
 BuildRequires: python2-devel python-setuptools numpy
 Requires: numpy
 
+# we don't want to provide private python extension libs
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so$ 
+%filter_setup
+}
+
 %description
 PyFITS provides an interface to FITS formatted files under the Python 
 scripting language. It is useful both for interactive data analysis and for 
@@ -35,9 +41,14 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %doc lib/LICENSE.txt 
+%{_bindir}/fitscheck
 %{python_sitearch}/*
 
 %changelog
+* Wed Jan 19 2011 Sergio Pascual <sergiopr at fedoraproject.org> - 2.4.0-1
+- New upstream source
+- Added filter macro to avoid private-shared-object-provides rpmlint warning
+
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 2.3.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
diff --git a/sources b/sources
index c195774..3fd1c1b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-82e6919667aea99925db212d38670b38  pyfits-2.3.1.tar.gz
+6f37b5210b41facb9c93c8d0898d14f6  pyfits-2.4.0.tar.gz


More information about the scm-commits mailing list