[jhdf5] use %{hdf5ver} to avoid runtime crash
Clément David
davidcl at fedoraproject.org
Thu Nov 17 17:36:30 UTC 2011
commit 20e4442ff17e5acb51f04553094ae71871e1bf8a
Author: Clément DAVID <clement.david at scilab-enterprises.com>
Date: Thu Nov 17 18:35:58 2011 +0100
use %{hdf5ver} to avoid runtime crash
jhdf5.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/jhdf5.spec b/jhdf5.spec
index 446356f..05d3e0b 100644
--- a/jhdf5.spec
+++ b/jhdf5.spec
@@ -1,6 +1,6 @@
Name: jhdf5
Version: 2.7
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Java HDF5 Object Package
Group: Development/Libraries
@@ -22,11 +22,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: jpackage-utils
BuildRequires: java-devel
-BuildRequires: hdf5-devel
+# hdf5 does not bump soname but check at runtime
+BuildRequires: hdf5-devel = %{hdf5ver}
Requires: jpackage-utils
Requires: java
-Requires: hdf5
+# hdf5 does not bump soname but check at runtime
+Requires: hdf5 = %{hdf5ver}
%description
HDF is a versatile data model that can represent very complex data objects
@@ -235,6 +237,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%doc docs
%changelog
+* Thu Nov 17 2011 Clément David <c.david86 at gmail.com> - 2.7-6
+- use %{hdf5ver} to avoid runtime crash
+
* Thu Nov 03 2011 Clément David <c.david86 at gmail.com> - 2.7-5
- rebuilt
More information about the scm-commits
mailing list