bcel/bcel.spec

56 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

2019-12-17 10:11:57 +08:00
Name: bcel
2023-08-22 10:42:28 +08:00
Version: 6.7.0
Release: 1
2019-12-17 10:11:57 +08:00
Summary: Byte Code Engineering Library
License: Apache-2.0
2019-12-17 10:11:57 +08:00
URL: http://commons.apache.org/proper/commons-bcel/
Source0: http://archive.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz
BuildArch: noarch
2022-04-14 19:50:42 +08:00
BuildRequires: maven-local mvn(org.apache.commons:commons-parent:pom:)
2023-08-22 10:42:28 +08:00
BuildRequires: mvn(org.apache.commons:commons-lang3)
2019-12-17 10:11:57 +08:00
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
2022-09-22 18:07:43 +08:00
%autosetup -n %{name}-%{version}-src -p1
2019-12-17 10:11:57 +08:00
%pom_remove_plugin :maven-source-plugin
2022-04-14 19:50:42 +08:00
%pom_remove_plugin :spotbugs-maven-plugin
2023-08-22 10:42:28 +08:00
%pom_remove_plugin :jacoco-maven-plugin
2019-12-17 10:11:57 +08:00
%mvn_alias : bcel: apache:
%mvn_file : %{name}
%build
2022-04-14 19:50:42 +08:00
%mvn_build -f
2019-12-17 10:11:57 +08:00
%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
2023-08-22 10:42:28 +08:00
* Tue Aug 22 2023 yaoxin <yao_xin001@hoperun.com> - 6.7.0-1
- Update to 6.7.0
2022-09-22 18:07:43 +08:00
* Thu Sep 22 2022 wangkai <wangkai385@h-partners.com> - 6.5.0-2
- Fix CVE-2022-34169 for xalan-j2
* Thu Jun 16 2022 Ge Wang <wangge20@h-partners.com> - 6.5.0-1
- Upgrade to version 6.5.0
2022-04-14 19:50:42 +08:00
* Thu Apr 14 2022 wangkai <wangkai385@h-partners.com> - 6.4.1-1
- Upgrade to version 6.4.1
2019-12-17 10:11:57 +08:00
* Thu Dec 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.2-4
- Package init