Fix build failure caused by jboss-classfilewriter upgrade to 1.3.0
This commit is contained in:
parent
ccd93780c0
commit
0e56b75773
@ -2,7 +2,7 @@
|
||||
%global namedversion %{version}%{?namedreltag}
|
||||
Name: jboss-invocation
|
||||
Version: 1.7.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: JBoss Invocation API
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/jbossas/jboss-invocation
|
||||
@ -19,6 +19,9 @@ BuildRequires: mvn(org.wildfly.security:wildfly-security-manager)
|
||||
BuildRequires: mvn(org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec)
|
||||
BuildRequires: mvn(org.wildfly.security:wildfly-elytron)
|
||||
BuildRequires: mvn(org.wildfly.common:wildfly-common)
|
||||
BuildRequires: java-11-openjdk-devel
|
||||
Requires: java-11-openjdk
|
||||
Requires: javapackages-tools
|
||||
%description
|
||||
This package contains JBoss Invocation API
|
||||
|
||||
@ -31,12 +34,16 @@ This package contains the API documentation for %{name}.
|
||||
%setup -q -n jboss-invocation-%{namedversion}
|
||||
%pom_disable_module jakarta
|
||||
|
||||
%pom_add_dep org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:1.0.2.Final javax
|
||||
%pom_remove_plugin "org.jboss.bridger:bridger"
|
||||
%pom_remove_plugin "org.wildfly.extras.batavia:transformer-tools-mvn"
|
||||
%pom_remove_dep "jakarta.interceptor:jakarta.interceptor-api"
|
||||
%pom_remove_dep "jakarta.transaction:jakarta.transaction-api"
|
||||
|
||||
%build
|
||||
export JAVA_HOME=%{_jvmdir}/java-11-openjdk
|
||||
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS}"
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
@ -47,6 +54,9 @@ This package contains the API documentation for %{name}.
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Mon Aug 21 2023 yaoxin <yao_xin001@hoperun.com> - 1.7.0-2
|
||||
- Fix build failure caused by jboss-classfilewriter upgrade to 1.3.0
|
||||
|
||||
* Fri Jun 24 2022 Ge Wang <wangge20@h-partners.com> -1.7.0-1
|
||||
- Upgrade to version 1.7.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user