1 Star 0 Fork 4

王泽平/druid

forked from src-openEuler/druid 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
druid.spec 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
王泽平 提交于 2023-08-22 06:13 . update druid.spec.
%define _define _jar_repack %{nil}
%define debug_package %{nil}
Name: druid
Version: 0.22.1
Release: 1
Summary: Druid is a high performance real-time analytics.
License: Apache-2.0
URL: https://druid.apache.org
Source0: https://github.com/apache/druid/archive/refs/tags/%{name}-%{version}.tar.gz
Source1: settings.xml
BuildRequires: java-1.8.0-openjdk-devel maven zlib npm gcc-c++ gcc gcc-gfortran libgcc python3-pip git
Requires: java-1.8.0-openjdk
%description
Druid is a high performance real-time analytics.
%prep
%autosetup -p1 -n %{name}-%{name}-%{version}
cp %{SOURCE1} ./
%build
pip3 install pyyaml==5.4.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
mvn clean install -Pdist -DskipTests -Dcheckstyle.skip -Dmaven.test.skip=true -s settings.xml
%install
mkdir -p $RPM_BUILD_ROOT/opt/druid
cp -r %{_builddir}/druid-druid-0.22.1/distribution/target/apache-druid-0.22.1-bin.tar.gz %{_builddir}
cd %{_builddir}
tar -xf apache-druid-0.22.1-bin.tar.gz
cp -r %{_builddir}/apache-druid-0.22.1 $RPM_BUILD_ROOT/opt/druid
%files
/opt/druid
%changelog
* Mon Apr 25 2022 xiexing <xiexing4@hisilicon.com> -0.22.1-1
-Initial package release
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sleep-wang/druid.git
git@gitee.com:sleep-wang/druid.git
sleep-wang
druid
druid
master

搜索帮助