Compare commits
No commits in common. "395c531beb6e5be9dd5a2aff615914c93e657a10" and "a07b5ccf3db12bb3144c87e5530d0de51e69aee4" have entirely different histories.
395c531beb
...
a07b5ccf3d
@ -1,7 +1,7 @@
|
|||||||
# vdsm-jsonrpc-java
|
# vdsm-jsonrpc-java
|
||||||
|
|
||||||
#### Description
|
#### Description
|
||||||
JsonRpc java client for oVirt
|
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
||||||
|
|
||||||
#### Software Architecture
|
#### Software Architecture
|
||||||
Software architecture description
|
Software architecture description
|
||||||
|
|||||||
Binary file not shown.
@ -1,90 +0,0 @@
|
|||||||
%global package_version 1.5.5
|
|
||||||
%global package_maven_version 1.5.5
|
|
||||||
|
|
||||||
%global _java_jdk_home /usr/lib/jvm/java-11-openjdk
|
|
||||||
%global _mvn_opts -Ptimedependant-tests-disabled -Pno-test
|
|
||||||
Summary: JsonRpc java client (%{name}) for oVirt
|
|
||||||
Name: vdsm-jsonrpc-java
|
|
||||||
Version: 1.5.5
|
|
||||||
Release: 2
|
|
||||||
License: LGPLv2+
|
|
||||||
URL: http://www.ovirt.org
|
|
||||||
Source: http://resources.ovirt.org/pub/ovirt-master-snapshot/src/%{name}/%{name}-%{package_version}.tar.gz
|
|
||||||
Group: Development/Libraries
|
|
||||||
|
|
||||||
# We need to disable automatic generation of "Requires: java-headless >=1:11"
|
|
||||||
# by xmvn, because JDK 11 doesn't provide java-headless, but it
|
|
||||||
# provides java-11-headless
|
|
||||||
AutoReq: no
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: apache-commons-lang >= 2.6
|
|
||||||
BuildRequires: jackson-annotations >= 2.9.0
|
|
||||||
BuildRequires: jackson-core >= 2.9.0
|
|
||||||
BuildRequires: jackson-databind >= 2.9.0
|
|
||||||
BuildRequires: java-11-openjdk-devel >= 11.0.4
|
|
||||||
BuildRequires: javapackages-tools
|
|
||||||
BuildRequires: slf4j >= 1.7.0
|
|
||||||
BuildRequires: junit
|
|
||||||
BuildRequires: mockito
|
|
||||||
BuildRequires: maven >= 3.5.0
|
|
||||||
BuildRequires: maven-compiler-plugin
|
|
||||||
BuildRequires: maven-enforcer-plugin
|
|
||||||
BuildRequires: maven-install-plugin
|
|
||||||
BuildRequires: maven-jar-plugin
|
|
||||||
BuildRequires: maven-local
|
|
||||||
BuildRequires: maven-source-plugin
|
|
||||||
BuildRequires: maven-surefire-provider-junit
|
|
||||||
|
|
||||||
# Explicit mvn imports because 'AutoReq: no'
|
|
||||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
|
|
||||||
BuildRequires: mvn(commons-lang:commons-lang)
|
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
|
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
||||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
|
||||||
|
|
||||||
Requires: apache-commons-lang >= 2.6
|
|
||||||
Requires: jackson-annotations >= 2.9.0
|
|
||||||
Requires: jackson-core >= 2.9.0
|
|
||||||
Requires: jackson-databind >= 2.9.0
|
|
||||||
Requires: java-11-openjdk-headless >= 11.0.4
|
|
||||||
Requires: slf4j >= 1.7.0
|
|
||||||
|
|
||||||
%description
|
|
||||||
vdsm jsonrpc java
|
|
||||||
|
|
||||||
%package javadoc
|
|
||||||
Summary: Java-docs for %{name}
|
|
||||||
Group: Documentation
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
This package contains the API documentation for %{name}.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{name}-%{package_version}
|
|
||||||
%pom_remove_plugin :maven-javadoc-plugin client/pom.xml.in
|
|
||||||
|
|
||||||
%build
|
|
||||||
%configure
|
|
||||||
|
|
||||||
# necessary because jdk 1.8 comes as default with xmvn
|
|
||||||
export JAVA_HOME="%{_java_jdk_home}"
|
|
||||||
|
|
||||||
%mvn_build -- %{?_mvn_opts}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%mvn_install
|
|
||||||
|
|
||||||
%files -f .mfiles
|
|
||||||
%dir %{_javadir}/%{name}
|
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Mar 18 2024 herengui <herengui@kylinsec.com.cn> - 1.5.5-2
|
|
||||||
- Disable tests since the test certificate has expired.
|
|
||||||
|
|
||||||
* Fri Jul 02 2021 Ge Wang <wangge20@huawei.com> - 1.5.5-1
|
|
||||||
- Init package
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: oVirt/vdsm-jsonrpc-java
|
|
||||||
tag_prefix: ^v
|
|
||||||
separator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user