diff --git a/jboss-marshalling.spec b/jboss-marshalling.spec index bd63d59..ee567ad 100644 --- a/jboss-marshalling.spec +++ b/jboss-marshalling.spec @@ -1,6 +1,6 @@ Name: jboss-marshalling Version: 1.4.11 -Release: 6 +Release: 7 Summary: A serialization API that fixes many of the problems found in the JDK serialization API License: ASL 2.0 and LGPLv2+ 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: 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: java-11-openjdk-devel +Requires: java-11-openjdk +Requires: javapackages-tools Provides: %{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 %build +export JAVA_HOME=%{_jvmdir}/java-11-openjdk +export CFLAGS="${RPM_OPT_FLAGS}" +export CXXFLAGS="${RPM_OPT_FLAGS}" %mvn_build %install @@ -53,5 +59,8 @@ Manauals of API and other help documents for %{name}. %_javadocdir/%{name} %changelog +* Tue Aug 01 2023 Ge Wang -1.4.11-7 +- Compile with jdk11 due to jboss-modules updated + * Fri Dec 20 2019 zhouyihang - 1.4.11-6 - Package init