Projects
Eulaceura:Mainline
apache-ranger
_service:obs_scm:apache-ranger.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:apache-ranger.spec of Package apache-ranger
%define _jar_repack %{nil} %define user apache-ranger %define _define _jar_repack %{nil} %define debug_package %{nil} Name: ranger Version: 2.1.0 Release: 1 Summary: Apache ranger is a framework to enable,monitor and manage comprehensive data security across the hadoop platform. License: Apache-2.0 URL: https://ranger.apache.org Source0: https://dlcdn.apache.org/ranger/2.1.0/apache-ranger-2.1.0.tar.gz Source1: npm-6.4.1.tar.gz Source2: https://repository.kyligence.io/repository/maven-public/org/apache/calcite/calcite-linq4j/1.16.0-kylin-r2/calcite-linq4j-1.16.0-kylin-r2.jar Patch0: 0001-change.patch BuildRequires: java-1.8.0-openjdk-devel maven python git npm Requires: java-1.8.0-openjdk %description Apache ranger is a framework to enable,monitor and manage comprehensive data security across the hadoop platform. %prep %autosetup -p1 -n apache-ranger-2.1.0 mvn install:install-file -DgroupId=com.github.eirslett -DartifactId=npm -Dversion=6.4.1 -Dpackaging=tar.gz -Dfile=%{SOURCE1} mvn install:install-file -DgroupId=org.apache.calcite -DartifactId=calcite-linq4j -Dversion=1.16.0-kylin-r2 -Dpackaging=jar -Dfile=%{SOURCE2} %build npm config set registry https://repo.huaweicloud.com/repository/npm/ mvn clean compile package -Dmaven.test.skip=true -DskipTests -Drat.skip=true install %install mkdir -p $RPM_BUILD_ROOT/opt/apache-ranger cp -r %{_builddir}/apache-ranger-2.1.0/target/*.tar.gz $RPM_BUILD_ROOT/opt/apache-ranger %files /opt/apache-ranger %changelog * Thu Jun 16 2022 xiexing <xiexing4@hisilicon.com> - 2.1.0-1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2