Accepting request 321015 from home:TheBlackCat:branches:science
SLES 11 apparently has problems with numbers in macros, so provide a no-number version. OBS-URL: https://build.opensuse.org/request/show/321015 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=9
This commit is contained in:
parent
23afd06433
commit
16f7a4cb82
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 6 21:53:07 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- SLES 11 apparently has problems with numbers in macros, so
|
||||
provide a no-number version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 11:11:12 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -608,6 +608,7 @@ rm -rf %{buildroot}%{_libdir}/mpi/gcc/*/share/hdf5_examples
|
||||
%endif
|
||||
|
||||
# rpm macro for version checking
|
||||
# SLES 11 doesn't like numbers in macros, apparently
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||
cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 <<EOF
|
||||
#
|
||||
@ -615,6 +616,8 @@ cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 <<EOF
|
||||
#
|
||||
%_hdf5_sonum %{sonum}
|
||||
%_hdf5_version %{version}
|
||||
%_hdffive_sonum %{sonum}
|
||||
%_hdffive_version %{version}
|
||||
EOF
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user