[hsqldb/f15] Fixed symlink
Tomas Radej
tradej at fedoraproject.org
Thu Mar 8 15:45:11 UTC 2012
commit f8ddabb9e2a636598ee3fbc28b88bd89ae2d08ef
Author: Tomas Radej <tradej at redhat.com>
Date: Thu Mar 8 15:28:41 2012 +0100
Fixed symlink
hsqldb.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/hsqldb.spec b/hsqldb.spec
index d4c6015..fe752cb 100644
--- a/hsqldb.spec
+++ b/hsqldb.spec
@@ -32,7 +32,7 @@
Name: hsqldb
Version: 1.8.1.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
Summary: HyperSQL Database Engine
License: BSD
@@ -47,6 +47,7 @@ Patch0: %{name}-1.8.0-scripts.patch
Patch1: hsqldb-tmp.patch
Patch2: %{name}-1.8.0-specify-su-shell.patch
Requires: servlet25
+Requires: java
Requires(post): coreutils
Requires(preun): coreutils
Requires(preun): initscripts
@@ -171,7 +172,9 @@ install -pD -T -m 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
pushd $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}/lib
- ln -s $(build-classpath hsqldb) hsqldb.jar
+ # build-classpath can not be used as the jar is not
+ # yet present during the build
+ ln -s %{_javadir}/hsqldb.jar hsqldb.jar
ln -s $(build-classpath servlet) servlet.jar
popd
@@ -233,6 +236,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%{_datadir}/%{name}
%changelog
+* Thu Mar 08 2012 Tomas Radej <tradej at redhat.com> - 1:1.8.1.3-4
+- Fixed symlink
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:1.8.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list