Fix activemq permission and remove windows related files

(cherry picked from commit 6c63d16109de638cd87f64b03c0fe974e10cfe71)
This commit is contained in:
lingsheng 2021-08-28 17:05:23 +08:00 committed by openeuler-sync-bot
parent d212c5fd35
commit 427e885b9a

View File

@ -1,7 +1,7 @@
%define check_testcase 0
Name: activemq
Version: 5.15.15
Release: 1
Release: 2
Summary: Open source messaging and Integration Patterns server
License: ASL 2.0
URL: http://activemq.apache.org
@ -35,6 +35,8 @@ install -d -m755 %{buildroot}/%{_datadir}/activemq
cd assembly/target
unzip -d ./file apache-activemq*.zip
cd ./file/apache-activemq*
rm -rf bin/win* bin/*.bat
chmod 755 bin/%{name}
for dir in bin examples webapps webapps-demo conf lib docs;do
if [ "$dir" = "docs" || "$dir" = "examples" ]
then
@ -58,5 +60,8 @@ cd %{_builddir}
%{_datadir}/javadoc
%changelog
* Sat Aug 28 2021 lingsheng <lingsheng@huawei.com> - 5.15.15-2
- Fix activemq permission and remove windows related files
* Mon Jul 19 2021 xuping <xuping33@huawei.com> - 5.15.15-1
- package init