[pywcs] New upstream version Tests included

Sergio Pascual sergiopr at fedoraproject.org
Tue Jan 17 11:20:18 UTC 2012


commit bc93884b98f9b3caae23b1a0b8e0bd1631c09655
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Tue Jan 17 12:20:11 2012 +0100

    New upstream version
    Tests included

 .gitignore           |    1 +
 pywcs-unbundle.patch |    9 +++++----
 pywcs.spec           |   21 +++++++++------------
 sources              |    2 +-
 4 files changed, 16 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e9b3a7b..6c10e59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /pywcs-1.9-4.4.4.tar.gz
 /pywcs-1.10-4.7.tar.gz
+/pywcs-1.11-4.8.2.tar.gz
diff --git a/pywcs-unbundle.patch b/pywcs-unbundle.patch
index 0440188..ecf250b 100644
--- a/pywcs-unbundle.patch
+++ b/pywcs-unbundle.patch
@@ -1,7 +1,7 @@
-diff -ur pywcs-1.9-4.4.4/defsetup.py pywcs-1.9-4.4.4.new/defsetup.py
---- pywcs-1.9-4.4.4/defsetup.py	2010-07-21 10:01:17.000000000 -0400
-+++ pywcs-1.9-4.4.4.new/defsetup.py	2010-11-09 23:15:19.718739278 -0500
-@@ -234,17 +234,16 @@
+diff -ur pywcs-1.11-4.8.2/defsetup.py pywcs-1.11-4.8.2.new/defsetup.py
+--- pywcs-1.11-4.8.2/defsetup.py	2012-01-05 18:36:48.000000000 +0100
++++ pywcs-1.11-4.8.2.new/defsetup.py	2012-01-06 23:42:28.396151788 +0100
+@@ -282,18 +282,17 @@
  
  PYWCS_EXTENSIONS = [
      Extension('pywcs._pywcs',
@@ -17,6 +17,7 @@ diff -ur pywcs-1.9-4.4.4/defsetup.py pywcs-1.9-4.4.4.new/defsetup.py
                define_macros=define_macros,
                undef_macros=undef_macros,
                extra_compile_args=extra_compile_args,
+               extra_link_args=extra_link_args,
 -              libraries=libraries
 +              libraries=libraries + ['wcs', 'm']
                )
diff --git a/pywcs.spec b/pywcs.spec
index 285fb46..889d6b0 100644
--- a/pywcs.spec
+++ b/pywcs.spec
@@ -1,9 +1,9 @@
 
-%define upversion 1.10-4.7
+%define upversion 1.11-4.8.2
 
 Name: pywcs
-Version: 1.10
-Release: 2%{?dist}
+Version: 1.11
+Release: 1%{?dist}
 Summary: Python World Coordinate System routines
 License: BSD
 
@@ -13,7 +13,7 @@ Source0: http://stsdas.stsci.edu/astrolib/%{name}-%{upversion}.tar.gz
 Patch0: pywcs-unbundle.patch
 
 BuildRequires: python-devel numpy
-BuildRequires: wcslib-devel >= 4.7
+BuildRequires: wcslib-devel >= 4.8
 Requires: numpy pyfits
 
 # we don't want to provide private python extension libs
@@ -34,25 +34,22 @@ of Dr. Mark Calabretta's WCSLIB.
 %build
 %{__python} setup.py build
 
-
 %install
 rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root  %{buildroot}
 chmod 755 %{buildroot}/%{python_sitearch}/pywcs/_pywcs.so
  
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc CHANGELOG LICENSE README examples/
+%doc CHANGELOG LICENSE README
 %{python_sitearch}/pywcs/
 %{python_sitearch}/*.egg-info
 %exclude %{python_sitearch}/pywcs/include
-# all tests are empty
-%exclude %{python_sitearch}/pywcs/tests
 
 %changelog
+* Tue Jan 17 2012 Sergio Pascual <sergiopr at fedoraproject.com> - 1.11-1
+- New upstream version
+- Tests included
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 3ce7cf8..f067c73 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8f7b2b48a0ee6e775ff2c9c17a4e3985  pywcs-1.10-4.7.tar.gz
+0721ceb7d8270868dd5d688ba60e4089  pywcs-1.11-4.8.2.tar.gz


More information about the scm-commits mailing list