diff --git a/activemq-5.15.15.tar.gz b/activemq-5.18.1.tar.gz similarity index 49% rename from activemq-5.15.15.tar.gz rename to activemq-5.18.1.tar.gz index a3118add0be32b626b1ea5fa1d35a72f6ab41e28..b42cbda0ac45df707323d3ec17fb1ade3ace7fdb 100644 Binary files a/activemq-5.15.15.tar.gz and b/activemq-5.18.1.tar.gz differ diff --git a/activemq.spec b/activemq.spec index be729758a9df54cba00a91932a6c6930478e88dd..6558c5aacc3b462d95abc1ad0d29835a1d575422 100644 --- a/activemq.spec +++ b/activemq.spec @@ -1,13 +1,13 @@ %define check_testcase 0 Name: activemq -Version: 5.15.15 -Release: 2 +Version: 5.18.1 +Release: 1 Summary: Open source messaging and Integration Patterns server License: ASL 2.0 URL: http://activemq.apache.org Source0: https://github.com/apache/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz -Requires: java -BuildRequires: maven java +Requires: java-11-openjdk +BuildRequires: maven java-11-openjdk BuildArch: noarch %description The most popular and powerful open source messaging and Integration Patterns @@ -22,6 +22,11 @@ This package contains javadoc for %{name}. %autosetup -n %{name}-%{name}-%{version} %build +java11_version=`rpm -qa | grep java-11-openjdk-11` +export JAVA_HOME=/usr/lib/jvm/$java11_version +export PATH=$JAVA_HOME/bin:$PATH +export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar + %if %{check_testcase} mvn package %else @@ -60,6 +65,9 @@ cd %{_builddir} %{_datadir}/javadoc %changelog +* Tue May 09 2023 chenchen - 5.18.1-1 +- Update to version 5.18.1 + * Sat Aug 28 2021 lingsheng - 5.15.15-2 - Fix activemq permission and remove windows related files