fix rpmbuild error
This commit is contained in:
parent
d92f46e0b6
commit
2530ec9dd6
14
spark.spec
14
spark.spec
@ -1,3 +1,4 @@
|
|||||||
|
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||||
|
|
||||||
Summary: A unified analytics engine for large-scale data processing.
|
Summary: A unified analytics engine for large-scale data processing.
|
||||||
Name: spark
|
Name: spark
|
||||||
@ -5,11 +6,10 @@ Version: 3.0.1
|
|||||||
Release: 1.0
|
Release: 1.0
|
||||||
License: Apache License v2.0
|
License: Apache License v2.0
|
||||||
URL: http://spark.apache.org/
|
URL: http://spark.apache.org/
|
||||||
BuildArch: noarch
|
|
||||||
Source0: https://github.com/apache/spark/archive/v%{version}.tar.gz
|
Source0: https://github.com/apache/spark/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: java-1.8.0-openjdk-devel, maven
|
BuildRequires: java-1.8.0-openjdk-devel
|
||||||
#BuildRequires: maven
|
BuildRequires: maven
|
||||||
|
|
||||||
Requires: java-1.8.0-openjdk
|
Requires: java-1.8.0-openjdk
|
||||||
|
|
||||||
@ -25,14 +25,14 @@ Apache Spark achieves high performance for both batch and streaming data, using
|
|||||||
mvn -DskipTests clean package
|
mvn -DskipTests clean package
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/opt/%{name}-${version}/
|
mkdir -p %{buildroot}/opt/
|
||||||
|
cp -rf ../%{name}-%{version} %{buildroot}/opt/apache-%{name}-%{version}
|
||||||
|
|
||||||
%filess
|
%files
|
||||||
/opt/%{name}-${version}/*
|
/opt/apache-%{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 18 2020 Hubble_Zhu<hubble_zhu@qq.com> - 1.0
|
* Fri Sep 18 2020 Hubble_Zhu<hubble_zhu@qq.com> - 1.0
|
||||||
- Init package
|
- Init package
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user