diff --git a/fix-cypher-shell-pom.patch b/fix-cypher-shell-pom.patch new file mode 100644 index 0000000000000000000000000000000000000000..41655d6c81cd7be14f2afac0b79fbf06bc1a5ea6 --- /dev/null +++ b/fix-cypher-shell-pom.patch @@ -0,0 +1,34 @@ +diff -Nur neo4j-4.3.0/community/cypher-shell/cypher-shell/pom.xml neo4j-4.3.0_bak/community/cypher-shell/cypher-shell/pom.xml +--- neo4j-4.3.0/community/cypher-shell/cypher-shell/pom.xml 2021-06-07 19:15:33.000000000 +0800 ++++ neo4j-4.3.0_bak/community/cypher-shell/cypher-shell/pom.xml 2021-12-10 11:15:38.555197124 +0800 +@@ -200,12 +200,6 @@ + mockito-core + test + +- +- com.github.stefanbirkner +- system-rules +- 1.19.0 +- test +- + + + +@@ -282,8 +276,15 @@ + + + ++ ++ org.apache.maven.plugins ++ maven-compiler-plugin ++ ++ true ++ ++ + + + + +- +\ No newline at end of file ++ diff --git a/neo4j.spec b/neo4j.spec index 4463a55424c3b913856f6182ae6b855895c9850c..b7e29ad955bedbbb99046597f1cda74884e5b134 100644 --- a/neo4j.spec +++ b/neo4j.spec @@ -1,12 +1,13 @@ %global debug_package %{nil} Name: neo4j Version: 4.3.0 -Release: 1 +Release: 2 Summary: Graphs for Everyone License: GPLv3 URL: https://neo4j.com/ Source0: https://github.com/neo4j/neo4j/archive/%{version}.tar.gz -BuildRequires: java-11-openjdk-devel maven gradle-local maven-local +Patch0: fix-cypher-shell-pom.patch +BuildRequires: java-11-openjdk-devel maven gradle-local maven-local sudo Requires: java-11-openjdk-devel BuildArch: noarch %description @@ -16,6 +17,8 @@ a friendly query language and ACID transactions. %prep %setup -qn %{name}-%{version} +%patch0 -p1 +sudo bash -c 'echo 49.4.56.34 mirrors.huaweicloud.com >> /etc/hosts' %build export LC_ALL=en_US.UTF-8 @@ -119,5 +122,8 @@ popd %{_datadir}/maven-metadata/%{name}.xml %changelog +* Tue Dec 14 2021 wangkai - 4.3.0-2 +- fix cypher-shell pom + * Wed Jul 14 2021 liyanan - 4.3.0-1 - package init