diff --git a/netcdf.spec b/netcdf.spec index f0a0d2993a3d607d2067442a4d169404a0614935..294670c59e3c6ca5363e2a8c89c23ec1e3d43eb5 100644 --- a/netcdf.spec +++ b/netcdf.spec @@ -1,7 +1,7 @@ %global sover 19 Name: netcdf Version: 4.8.1 -Release: 2 +Release: 3 Summary: Libraries for the Unidata network Common Data Form License: BSD-3-Clause @@ -201,6 +201,16 @@ do done %endif +chrpath -d %{buildroot}/%{_libdir}/openmpi/lib/libh5bzip2.so +chrpath -d %{buildroot}/%{_libdir}/mpich/lib/libh5bzip2.so +chrpath -d %{buildroot}/%{_libdir}/mpich/lib/libnetcdf.so.19.0.1 +chrpath -d %{buildroot}/%{_libdir}/openmpi/lib/libnetcdf.so.19.0.1 +chrpath -d %{buildroot}/%{_libdir}/mpich/bin/nc4print +chrpath -d %{buildroot}/%{_libdir}/openmpi/bin/nc4print +chrpath -d %{buildroot}/%{_libdir}/mpich/bin/ocprint +chrpath -d %{buildroot}/%{_libdir}/openmpi/bin/ocprint + + %check make %{?_smp_mflags} -C build check %ldconfig_scriptlets @@ -306,6 +316,9 @@ make %{?_smp_mflags} -C build check %endif %changelog +* Tue Dec 6 2022 wulei - 4.8.1-3 +- Remove rpath + * Fri Aug 12 2022 Jun Zhang - 4.8.1-2 - Upgrade license to BSD-3-Clause