Update to 4.2.1 rc1

Rebase pkgconfig patch
Drop fflags patch, upstream now calls nf-config
epel9
Orion Poplawski 13 years ago
parent 88d03f5d1a
commit b01c6112f9

1
.gitignore vendored

@ -4,3 +4,4 @@ netcdf-4.1.1.tar.gz
/netcdf-4.2-rc1.tar.gz
/netcdf-4.2-rc2.tar.gz
/netcdf-4.2.tar.gz
/netcdf-4.2.1-rc1.tar.gz

@ -1,12 +0,0 @@
diff -up netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.fflags netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in
--- netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.fflags 2011-05-27 15:05:06.000000000 -0600
+++ netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in 2011-05-27 15:06:08.066331777 -0600
@@ -14,7 +14,7 @@ cc="@CC@"
cxx="@CXX@"
fc="@FC@"
cflags=" -I${includedir} @CPPFLAGS@"
-fflags="@FFLAGS@ @MOD_FLAG@${includedir}"
+fflags="@MOD_FLAG@${includedir}"
has_dap="@HAS_DAP@"
has_nc2="@HAS_NC2@"
has_nc4="@HAS_NC4@"

@ -1,7 +1,7 @@
diff -up netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.pkgconfig netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in
--- netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.pkgconfig 2011-05-26 20:23:15.000000000 -0600
+++ netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in 2011-05-27 15:04:12.823601895 -0600
@@ -8,7 +8,6 @@
diff -up netcdf-4.2.1-rc1/nc-config.in.pkgconfig netcdf-4.2.1-rc1/nc-config.in
--- netcdf-4.2.1-rc1/nc-config.in.pkgconfig 2012-06-18 12:33:10.000000000 -0600
+++ netcdf-4.2.1-rc1/nc-config.in 2012-06-20 16:44:29.292019812 -0600
@@ -6,12 +6,10 @@
prefix=@prefix@
exec_prefix=${prefix}
@ -9,26 +9,17 @@ diff -up netcdf-4.1.3-rc1-snapshot2011052620/nc-config.in.pkgconfig netcdf-4.1.3
includedir=${prefix}/include
cc="@CC@"
@@ -16,8 +15,6 @@ cxx="@CXX@"
fc="@FC@"
cflags=" -I${includedir} @CPPFLAGS@"
fflags="@FFLAGS@ @MOD_FLAG@${includedir}"
-libs="-L${libdir} @NC_LIBS@"
-flibs="-L${libdir} @NC_FLIBS@"
has_dap="@HAS_DAP@"
has_nc2="@HAS_NC2@"
has_nc4="@HAS_NC4@"
@@ -141,11 +138,11 @@ while test $# -gt 0; do
;;
@@ -189,7 +187,7 @@ while test $# -gt 0; do
;;
--libs)
- echo $libs
+ pkg-config netcdf --libs
;;
--flibs)
- echo $flibs
+ pkg-config netcdf --flibs
;;
--has-dap)
--prefix)

@ -1,17 +1,15 @@
Name: netcdf
Version: 4.2
Release: 5%{?dist}
Version: 4.2.1
Release: 0.1.rc1%{?dist}
Summary: Libraries for the Unidata network Common Data Form
Group: Applications/Engineering
License: NetCDF
URL: http://www.unidata.ucar.edu/software/netcdf/
Source0: http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-%{version}.tar.gz
Source0: http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-%{version}-rc1.tar.gz
#Source0: http://www.unidata.ucar.edu/downloads/netcdf/ftp/snapshot/netcdf-4-daily.tar.gz
#Use pkgconfig in nc-config to avoid multi-lib issues
Patch0: netcdf-pkgconfig.patch
#Strip FFLAGS from nc-config
Patch1: netcdf-fflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: chrpath
@ -173,9 +171,8 @@ NetCDF parallel openmpi static libraries
%prep
%setup -q
%setup -q -n %{name}-%{version}-rc1
%patch0 -p1 -b .pkgconfig
%patch1 -p1 -b .fflags
%build
@ -320,6 +317,11 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
* Wed Jul 11 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1-0.1.rc1
- Update to 4.2.1 rc1
- Rebase pkgconfig patch
- Drop fflags patch, upstream now calls nf-config
* Wed Jun 13 2012 Dan Horák <dan[at]danny.cz> - 4.2-5
- temporarily disable checks on s390 (memory corruption and stuck build)

@ -1 +1 @@
b920a6c3a30e9cd46fe96d9fb65ef17e netcdf-4.2.tar.gz
8fcd4feee01eeb98662504c8f37fba4b netcdf-4.2.1-rc1.tar.gz

Loading…
Cancel
Save