fix FTBFS on ARM
This commit is contained in:
parent
e7420547ed
commit
fac61862b3
7
hdf.spec
7
hdf.spec
@ -1,6 +1,6 @@
|
|||||||
Name: hdf
|
Name: hdf
|
||||||
Version: 4.2.7
|
Version: 4.2.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A general purpose library and file format for storing scientific data
|
Summary: A general purpose library and file format for storing scientific data
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -10,6 +10,7 @@ Patch0: hdf-4.2.5-maxavailfiles.patch
|
|||||||
Patch1: hdf-ppc.patch
|
Patch1: hdf-ppc.patch
|
||||||
Patch2: hdf-4.2.4-sparc.patch
|
Patch2: hdf-4.2.4-sparc.patch
|
||||||
Patch3: hdf-4.2.4-s390.patch
|
Patch3: hdf-4.2.4-s390.patch
|
||||||
|
Patch4: hdf-4.2.7-arm.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: flex byacc libjpeg-devel zlib-devel
|
BuildRequires: flex byacc libjpeg-devel zlib-devel
|
||||||
%if "%{?dist}" != ".el4"
|
%if "%{?dist}" != ".el4"
|
||||||
@ -46,6 +47,7 @@ HDF development headers and libraries.
|
|||||||
%patch1 -p1 -b .ppc
|
%patch1 -p1 -b .ppc
|
||||||
%patch2 -p1 -b .sparc
|
%patch2 -p1 -b .sparc
|
||||||
%patch3 -p1 -b .s390
|
%patch3 -p1 -b .s390
|
||||||
|
%patch4 -p1 -b .arm
|
||||||
|
|
||||||
chmod a-x *hdf/*/*.c hdf/*/*.h
|
chmod a-x *hdf/*/*.c hdf/*/*.h
|
||||||
# restore include file timestamps modified by patching
|
# restore include file timestamps modified by patching
|
||||||
@ -112,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 06 2012 DJ Delorie <dj@redhat.com> 4.2.7-2
|
||||||
|
- Add patch for ARM support
|
||||||
|
|
||||||
* Wed Feb 15 2012 Orion Poplawski <orion@cora.nwra.com> 4.2.7-1
|
* Wed Feb 15 2012 Orion Poplawski <orion@cora.nwra.com> 4.2.7-1
|
||||||
- Update to 4.2.7
|
- Update to 4.2.7
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user