update to v6.5.0
remove unuse files Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
parent
a07cd87789
commit
4d107b6057
36
0001-add-javadoc-plugin.patch
Normal file
36
0001-add-javadoc-plugin.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
From 9d40cc895709fe3b178e587b946d47249aac2b5f Mon Sep 17 00:00:00 2001
|
||||||
|
From: wang--ge <wang__ge@126.com>
|
||||||
|
Date: Thu, 27 Jan 2022 11:19:48 +0800
|
||||||
|
Subject: [PATCH] add javadoc plugin
|
||||||
|
|
||||||
|
---
|
||||||
|
pom.xml | 13 +++++++++++++
|
||||||
|
1 file changed, 13 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/pom.xml b/pom.xml
|
||||||
|
index 9ea840a..8003d25 100644
|
||||||
|
--- a/pom.xml
|
||||||
|
+++ b/pom.xml
|
||||||
|
@@ -360,6 +360,19 @@
|
||||||
|
<effort>Default</effort>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
+ <plugin>
|
||||||
|
+ <groupId>org.apache.maven.plugins</groupId>
|
||||||
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
+ <version>3.0.0-M1</version>
|
||||||
|
+ <executions>
|
||||||
|
+ <execution>
|
||||||
|
+ <id>attach-javadoc</id>
|
||||||
|
+ <goals>
|
||||||
|
+ <goal>jar</goal>
|
||||||
|
+ </goals>
|
||||||
|
+ </execution>
|
||||||
|
+ </executions>
|
||||||
|
+ </plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
Binary file not shown.
BIN
bcel-6.5.0-src.tar.gz
Normal file
BIN
bcel-6.5.0-src.tar.gz
Normal file
Binary file not shown.
25
bcel.spec
25
bcel.spec
@ -1,13 +1,14 @@
|
|||||||
Name: bcel
|
Name: bcel
|
||||||
Version: 6.2
|
Version: 6.5.0
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Byte Code Engineering Library
|
Summary: Byte Code Engineering Library
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://commons.apache.org/proper/commons-bcel/
|
URL: http://commons.apache.org/proper/commons-bcel/
|
||||||
Source0: http://archive.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz
|
Source0: http://archive.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz
|
||||||
|
Patch0: 0001-add-javadoc-plugin.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: maven-local mvn(org.apache.commons:commons-parent:pom:) mvn(junit:junit)
|
BuildRequires: maven-local maven java-1.8.0-openjdk-devel
|
||||||
BuildRequires: mvn(net.java.dev.jna:jna) mvn(net.java.dev.jna:jna-platform) mvn(org.apache.commons:commons-lang3)
|
Requires: java-1.8.0-openjdk
|
||||||
Obsoletes: bcel-javadoc < %{version}-%{release}
|
Obsoletes: bcel-javadoc < %{version}-%{release}
|
||||||
Provides: bcel-javadoc = %{version}-%{release}
|
Provides: bcel-javadoc = %{version}-%{release}
|
||||||
|
|
||||||
@ -17,16 +18,23 @@ give users a convenient possibility to analyze, create, and manipulate (binary)
|
|||||||
Java class files (those ending with .class).
|
Java class files (those ending with .class).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}-src
|
%autosetup -p1 -n %{name}-%{version}-src
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%pom_remove_plugin :maven-source-plugin
|
||||||
|
%pom_remove_plugin :spotbugs-maven-plugin
|
||||||
%mvn_alias : bcel: apache:
|
%mvn_alias : bcel: apache:
|
||||||
%mvn_file : %{name}
|
%mvn_file : %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
mvn -DskipTests -Drat.skip=true package
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
install -pm 0644 target/bcel-%{version}-javadoc.jar %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
install -pm 0644 target/bcel-%{version}.jar %{buildroot}%{_javadir}/bcel.jar
|
||||||
|
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/bcel.pom
|
||||||
|
%add_maven_depmap bcel.pom bcel.jar
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%attr(0644,root,root) %{_datadir}/maven-metadata/bcel.xml
|
%attr(0644,root,root) %{_datadir}/maven-metadata/bcel.xml
|
||||||
@ -37,5 +45,8 @@ Java class files (those ending with .class).
|
|||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 19 2022 SimpleUpdate Robot <tc@openeuler.org> - 6.5.0-1
|
||||||
|
- Upgrade to version 6.5.0
|
||||||
|
|
||||||
* Thu Dec 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.2-4
|
* Thu Dec 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.2-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user