Fix build failure caused by bcel upgrade to 6.7.0

This commit is contained in:
starlet-dx 2023-08-22 11:03:32 +08:00
parent 2f7f78c834
commit fee246121c

View File

@ -2,7 +2,7 @@
%global _version 1_2_6 %global _version 1_2_6
Name: jibx Name: jibx
Version: 1.2.6 Version: 1.2.6
Release: 1 Release: 2
Summary: Framework for binding XML data to Java objects Summary: Framework for binding XML data to Java objects
License: BSD and ASL 1.1 License: BSD and ASL 1.1
URL: http://sourceforge.net/projects/jibx/ URL: http://sourceforge.net/projects/jibx/
@ -14,6 +14,7 @@ BuildRequires: ant ant-junit junit objectweb-asm3 bcel bea-stax-api
BuildRequires: eclipse-equinox-osgi >= 1:4.6.0 eclipse-jdt >= 1:4.6.0 BuildRequires: eclipse-equinox-osgi >= 1:4.6.0 eclipse-jdt >= 1:4.6.0
BuildRequires: eclipse-platform >= 1:4.6.0 joda-time qdox dom4j jdom xpp3 log4j12 BuildRequires: eclipse-platform >= 1:4.6.0 joda-time qdox dom4j jdom xpp3 log4j12
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: mvn(org.apache.commons:commons-lang3)
%description %description
JiBX is a framework for binding XML data to Java objects. It lets you JiBX is a framework for binding XML data to Java objects. It lets you
work with data from XML documents using your own class structures. work with data from XML documents using your own class structures.
@ -58,7 +59,8 @@ dom4j \
jdom \ jdom \
joda-time \ joda-time \
qdox \ qdox \
xpp3 xpp3 \
commons-lang3
ln -s $(build-classpath objectweb-asm3/asm) lib/ ln -s $(build-classpath objectweb-asm3/asm) lib/
ln -s $(build-classpath objectweb-asm3/asm-commons) lib/ ln -s $(build-classpath objectweb-asm3/asm-commons) lib/
ln -s $(build-classpath log4j12-1.2.17) lib/ ln -s $(build-classpath log4j12-1.2.17) lib/
@ -88,5 +90,8 @@ done
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%changelog %changelog
* Tue Aug 22 2023 yaoxin <yao_xin001@hoperun.com> - 1.2.6-2
- Fix build failure caused by bcel upgrade to 6.7.0
* Mon Aug 10 2020 chengzihan <chengzihan2@huawei.com> - 1.2.6-1 * Mon Aug 10 2020 chengzihan <chengzihan2@huawei.com> - 1.2.6-1
- Package init - Package init