!2 Compile with jdk11 due to jboss-modules updated
From: @wang--ge Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
73ab499400
@ -1,6 +1,6 @@
|
|||||||
Name: jboss-marshalling
|
Name: jboss-marshalling
|
||||||
Version: 1.4.11
|
Version: 1.4.11
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: A serialization API that fixes many of the problems found in the JDK serialization API
|
Summary: A serialization API that fixes many of the problems found in the JDK serialization API
|
||||||
License: ASL 2.0 and LGPLv2+
|
License: ASL 2.0 and LGPLv2+
|
||||||
URL: http://jbossmarshalling.jboss.org/
|
URL: http://jbossmarshalling.jboss.org/
|
||||||
@ -11,6 +11,9 @@ BuildArch: noarch
|
|||||||
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) mvn(org.jboss:jboss-parent:pom:)
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin) mvn(org.jboss:jboss-parent:pom:)
|
||||||
BuildRequires: mvn(org.jboss.maven.plugins:maven-injection-plugin) mvn(org.jboss.modules:jboss-modules)
|
BuildRequires: mvn(org.jboss.maven.plugins:maven-injection-plugin) mvn(org.jboss.modules:jboss-modules)
|
||||||
BuildRequires: mvn(org.testng:testng) mvn(jdepend:jdepend) mvn(org.jboss.apiviz:apiviz)
|
BuildRequires: mvn(org.testng:testng) mvn(jdepend:jdepend) mvn(org.jboss.apiviz:apiviz)
|
||||||
|
BuildRequires: java-11-openjdk-devel
|
||||||
|
Requires: java-11-openjdk
|
||||||
|
Requires: javapackages-tools
|
||||||
|
|
||||||
Provides: %{name}-osgi = %{version}-%{release}
|
Provides: %{name}-osgi = %{version}-%{release}
|
||||||
Obsoletes: %{name}-osgi < %{version}-%{release}
|
Obsoletes: %{name}-osgi < %{version}-%{release}
|
||||||
@ -39,6 +42,9 @@ Manauals of API and other help documents for %{name}.
|
|||||||
%mvn_package :jboss-marshalling-osgi osgi
|
%mvn_package :jboss-marshalling-osgi osgi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export JAVA_HOME=%{_jvmdir}/java-11-openjdk
|
||||||
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||||
|
export CXXFLAGS="${RPM_OPT_FLAGS}"
|
||||||
%mvn_build
|
%mvn_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -53,5 +59,8 @@ Manauals of API and other help documents for %{name}.
|
|||||||
%_javadocdir/%{name}
|
%_javadocdir/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 01 2023 Ge Wang <wang__ge@126.com> -1.4.11-7
|
||||||
|
- Compile with jdk11 due to jboss-modules updated
|
||||||
|
|
||||||
* Fri Dec 20 2019 zhouyihang <zhouyihang1@huawei.com> - 1.4.11-6
|
* Fri Dec 20 2019 zhouyihang <zhouyihang1@huawei.com> - 1.4.11-6
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user