Compare commits

..

8 commits

Author SHA1 Message Date
Jiri Vanek
03a7be70c6 Rebuilt for java-25-openjdk as preffered jdk
https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk
Note, that since f43, you should be always explicit on what jdk to use.
This commit should do exactly that.
2025-07-29 19:49:10 +02:00
Fedora Release Engineering
77100c6b1c Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:37:02 +00:00
Mikolaj Izdebski
50d90c920c Update tests for version 6.10.0 2025-07-17 08:52:00 +02:00
Mikolaj Izdebski
5a094ca601 Update to upstream version 6.10.0 2025-07-17 07:49:42 +02:00
Mikolaj Izdebski
7d3479cb61 Build with OpenJDK 25 2025-07-13 09:22:51 +02:00
Mikolaj Izdebski
422b9937d1 Switch javapackages test plan to f43 ref 2025-05-22 13:35:31 +02:00
Mikolaj Izdebski
83fb93cef2 Switch to javapackages tests from CentOS Stream GitLab 2025-03-26 08:43:18 +01:00
Mikolaj Izdebski
51b72a3336 Remove javadoc subpackage 2025-03-03 12:53:34 +01:00
6 changed files with 11 additions and 16 deletions

1
.gitignore vendored
View file

@ -12,3 +12,4 @@
/bcel-6.7.0-src.tar.gz
/bcel-6.8.0-src.tar.gz
/bcel-6.8.1-src.tar.gz
/bcel-6.10.0-src.tar.gz

View file

@ -1,5 +1,5 @@
Name: bcel
Version: 6.8.1
Version: 6.10.0
Release: %autorelease
Summary: Byte Code Engineering Library
License: Apache-2.0
@ -9,10 +9,12 @@ ExclusiveArch: %{java_arches} noarch
Source0: http://archive.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz
BuildRequires: maven-local
BuildRequires: maven-local-openjdk25
BuildRequires: mvn(org.apache.commons:commons-lang3)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
# TODO Remove in Fedora 46
Obsoletes: %{name}-javadoc < 6.8.1-14
%description
The Byte Code Engineering Library (formerly known as JavaClass) is
@ -30,12 +32,6 @@ being used successfully in several projects such as compilers,
optimizers, obsfuscators and analysis tools, the most popular probably
being the Xalan XSLT processor at Apache.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
API documentation for %{name}.
%prep
%autosetup -p1 -C
@ -47,7 +43,7 @@ API documentation for %{name}.
%mvn_file : %{name}
%build
%mvn_build -f
%mvn_build -j -f
%install
%mvn_install
@ -56,8 +52,5 @@ API documentation for %{name}.
%doc RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt NOTICE.txt
%changelog
%autochangelog

View file

@ -1,7 +1,7 @@
summary: Run javapackages-specific tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/javapackages
ref: f42
url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git
ref: f43
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (bcel-6.8.1-src.tar.gz) = 1a38f4603bfe8692e4fc71a911fbb37ddc30ee5afa270d4b36f0325879a555df2cab34e2abf38645a3c7b780e30dec516a0eac21a0d7e18ff412a5762282360e
SHA512 (bcel-6.10.0-src.tar.gz) = 7ea129a048bf510ed15212a17680dfa37fe8c4adcc75504fa9a6ff35ef97d25f267547ad019fe146cd2fea9a3ef0eaca432d4c9cac7570ba5e68897f21c29a14

View file

@ -5,3 +5,4 @@ require:
- bcel
- javapackages-tools
- maven
- cpio

View file

@ -38,7 +38,7 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest "run tests"
rlRun -s "${mvn} surefire:test -Dsurefire.excludes=JdkGenericDumpTestCase,ConstantPoolModuleToStringTestCase,BCELifierTestCase"
rlRun -s "${mvn} surefire:test -Dsurefire.excludes=JdkGenericDumpTestCase,ConstantPoolModuleToStringTestCase,ConstantPoolModuleAccessTestCase,BCELifierTestCase"
rlAssertGrep "BUILD SUCCESS" $rlRun_LOG
rlAssertGrep "Failures: 0, Errors: 0" $rlRun_LOG
rlPhaseEnd