[wcslib] New upstream source

Sergio Pascual sergiopr at fedoraproject.org
Wed Jun 27 14:08:48 UTC 2012


commit e308bc148cfcdec8773c5d294bd8c0c11ba3249a
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Wed Jun 27 16:08:31 2012 +0200

    New upstream source

 .gitignore         |    1 +
 sources            |    2 +-
 wcslib-perms.patch |   20 ++++----------------
 wcslib.spec        |   17 +++++++++--------
 4 files changed, 15 insertions(+), 25 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 03f1ece..29e2ad2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ wcslib-4.3.1.tar.gz
 /wcslib-4.6.3.tar.bz2
 /wcslib-4.7.tar.bz2
 /wcslib-4.8.4.tar.xz
+/wcslib-4.13.4.tar.xz
diff --git a/sources b/sources
index 701cb76..f6a99ed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1c80a0c1365bb46ff8f5abfed46edbb4  wcslib-4.8.4.tar.xz
+4d088da93f963d66885a2489b4b021aa  wcslib-4.13.4.tar.xz
diff --git a/wcslib-perms.patch b/wcslib-perms.patch
index 85f0827..5f9aa75 100644
--- a/wcslib-perms.patch
+++ b/wcslib-perms.patch
@@ -1,6 +1,6 @@
-diff -ur wcslib-4.8.4/C/GNUmakefile wcslib-4.8.4.perm/C/GNUmakefile
---- wcslib-4.8.4/C/GNUmakefile	2011-12-05 07:41:10.000000000 +0100
-+++ wcslib-4.8.4.perm/C/GNUmakefile	2012-01-06 16:54:57.473299563 +0100
+diff -ur wcslib-4.13.4/C/GNUmakefile wcslib-4.13.4.new/C/GNUmakefile
+--- wcslib-4.13.4/C/GNUmakefile	2012-03-21 03:57:20.000000000 +0100
++++ wcslib-4.13.4.new/C/GNUmakefile	2012-06-27 15:30:31.795292229 +0200
 @@ -253,7 +253,7 @@
  	   fi
  	-  $(LN_S) $(WCSLIB) $(LIBDIR)/libwcs.a
@@ -15,19 +15,7 @@ diff -ur wcslib-4.8.4/C/GNUmakefile wcslib-4.8.4.perm/C/GNUmakefile
  	   fi
  	-  if [ ! -d "$(INCDIR)" ] ; then \
 -	     $(INSTALL) -d -m 2775 $(INCDIR) ; \
-+	     $(INSTALL) -d -m 0755 $(INCDIR) ; \
++	     $(INSTALL) -d -m 0775 $(INCDIR) ; \
  	   fi
  	   $(INSTALL) -m 444 *.h $(INCDIR)
  	   $(RM) $(INCLINK)
-diff -ur wcslib-4.8.4/utils/GNUmakefile wcslib-4.8.4.perm/utils/GNUmakefile
---- wcslib-4.8.4/utils/GNUmakefile	2011-10-04 09:54:26.000000000 +0200
-+++ wcslib-4.8.4.perm/utils/GNUmakefile	2012-01-06 16:56:05.360754907 +0100
-@@ -114,7 +114,7 @@
- 	-  if [ ! -d "$(MANDIR)" ] ; then \
- 	     $(INSTALL) -d -m 2775 $(MANDIR)/man1 ; \
- 	   fi
--	   $(INSTALL) -m 755 $(MAN) $(MANDIR)/man1
-+	   $(INSTALL) -m 644 $(MAN) $(MANDIR)/man1
- 
- GNUmakefile : ../makedefs ;
- 
diff --git a/wcslib.spec b/wcslib.spec
index 79be5b7..0f40e15 100644
--- a/wcslib.spec
+++ b/wcslib.spec
@@ -1,6 +1,6 @@
 Name: wcslib
-Version: 4.8.4
-Release: 3%{?dist}
+Version: 4.13.4
+Release: 1%{?dist}
 Summary: An implementation of the FITS World Coordinate System standard
 
 Group: Development/Libraries
@@ -37,18 +37,16 @@ Utils provided with %{name}
 
 %build
 %configure --disable-fortran --disable-static
-# seems to have a race condition
-#make %{?_smp_mflags}
-make
+make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 # fix permissions
-rm -rf %{buildroot}//usr/share/doc/wcslib-%{version}
+rm -rf %{buildroot}/usr/share/doc/wcslib-%{version}
 
-# %check
-# make check
+%check
+make check
 
 %post -p /sbin/ldconfig
 
@@ -72,6 +70,9 @@ rm -rf %{buildroot}//usr/share/doc/wcslib-%{version}
 %{_mandir}/man1/*
 
 %changelog
+* Wed Jun 27 2012 Sergio Pascual <sergiopr at fedoraproject.org> 4.13.4-1
+- New upstream source
+
 * Sat Jan 07 2012 Sergio Pascual <sergiopr at fedoraproject.org> 4.8.4-3
 - Disable check
 


More information about the scm-commits mailing list