Fix eln builds

epel9 imports/e9/hdf-4.2.15-7.el9
Antonio Trande 3 years ago
parent c8ec4e6abb
commit 3313aff0d3

@ -4,7 +4,7 @@
Name: hdf Name: hdf
Version: 4.2.15 Version: 4.2.15
Release: 6%{?dist} Release: 7%{?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
URL: https://portal.hdfgroup.org/ URL: https://portal.hdfgroup.org/
@ -110,7 +110,7 @@ HDF4 java library
# Replace jars with system versions # Replace jars with system versions
# hamcrest-core is obsoleted in hamcrest-2.2 # hamcrest-core is obsoleted in hamcrest-2.2
# Junit tests are failing with junit-4.13.1 # Junit tests are failing with junit-4.13.1
%if 0%{?fedora} > 34 %if 0%{?rhel} >= 9 || 0%{?fedora} > 34
find . ! -name junit.jar -name "*.jar" -delete find . ! -name junit.jar -name "*.jar" -delete
ln -s %{_javadir}/hamcrest/hamcrest.jar java/lib/hamcrest-core.jar ln -s %{_javadir}/hamcrest/hamcrest.jar java/lib/hamcrest-core.jar
%else %else
@ -267,6 +267,9 @@ make -j1 -C build-static check
%changelog %changelog
* Thu Jul 29 2021 Antonio Trande <sagitter@fedoraproject.org> - 4.2.15-7
- Fix eln builds
* Wed Jul 28 2021 Antonio Trande <sagitter@fedoraproject.org> - 4.2.15-6 * Wed Jul 28 2021 Antonio Trande <sagitter@fedoraproject.org> - 4.2.15-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- Use bundled junit - Use bundled junit

Loading…
Cancel
Save