diff --git a/artemis.spec b/artemis.spec index c3963370181b977f101f3c2a65915a2c6475a3c3..889ccc3d4378cdae666b2fb899319955eb10bd05 100644 --- a/artemis.spec +++ b/artemis.spec @@ -1,8 +1,8 @@ Name: artemis Version: 1.4.0 -Release: 2 +Release: 3 Summary: Java high performance, clustered, asynchronous messaging system -License: ASL 2.0 +License: Apache-2.0 URL: https://github.com/apache/activemq-artemis/ Source0: https://github.com/apache/activemq-artemis/archive/%{version}/%{name}-%{version}.tar.gz Patch0: artemis-netty-4.1.patch @@ -274,17 +274,17 @@ done %pom_remove_dep :artemis-commons::test artemis-protocols/artemis-proton-plug %build -( - cd artemis-native - %cmake . - make %{?_smp_mflags} -) +pushd artemis-native +%cmake +%cmake_build +popd + %mvn_build -fs %install %mvn_install mkdir -p %{buildroot}%{_libdir}/%{name} -install -pm 755 artemis-native/bin/libartemis-native-%{__isa_bits}.so %{buildroot}%{_libdir}/%{name}/libartemis-native.so +install -pm 755 artemis-native/%{__cmake_builddir}/bin/libartemis-native-%{__isa_bits}.so %{buildroot}%{_libdir}/%{name}/libartemis-native.so %files boot -f .mfiles-artemis-boot %license LICENSE NOTICE @@ -355,6 +355,9 @@ install -pm 755 artemis-native/bin/libartemis-native-%{__isa_bits}.so %{buildroo %license LICENSE NOTICE %changelog +* Tue Nov 19 2024 Funda Wang - 1.4.0-3 +- adopt to new cmake macro + * Thu Sep 9 2021 caodongxia - 1.4.0-2 - Add debug package to add strip