Name: bcel Version: 6.7.0 Release: 1 Summary: Byte Code Engineering Library License: Apache-2.0 URL: http://commons.apache.org/proper/commons-bcel/ Source0: http://archive.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz BuildArch: noarch BuildRequires: maven-local mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.commons:commons-lang3) Obsoletes: bcel-javadoc < %{version}-%{release} Provides: bcel-javadoc = %{version}-%{release} %description The Byte Code Engineering Library (formerly known as JavaClass) is intended to give users a convenient possibility to analyze, create, and manipulate (binary) Java class files (those ending with .class). %prep %autosetup -n %{name}-%{version}-src -p1 %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :spotbugs-maven-plugin %pom_remove_plugin :jacoco-maven-plugin %mvn_alias : bcel: apache: %mvn_file : %{name} %build %mvn_build -f %install %mvn_install %files %attr(0644,root,root) %{_datadir}/maven-metadata/bcel.xml %attr(0644,root,root) %{_datadir}/java/bcel.jar %attr(0644,root,root) %{_datadir}/maven-poms/bcel.pom %doc RELEASE-NOTES.txt %license LICENSE.txt NOTICE.txt %{_javadocdir}/%{name} %changelog * Tue Aug 22 2023 yaoxin - 6.7.0-1 - Update to 6.7.0 * Thu Sep 22 2022 wangkai - 6.5.0-2 - Fix CVE-2022-34169 for xalan-j2 * Thu Jun 16 2022 Ge Wang - 6.5.0-1 - Upgrade to version 6.5.0 * Thu Apr 14 2022 wangkai - 6.4.1-1 - Upgrade to version 6.4.1 * Thu Dec 7 2019 openEuler Buildteam - 6.2-4 - Package init