Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

6 changed files with 16 additions and 11 deletions

1
.gitignore vendored
View file

@ -12,4 +12,3 @@
/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.10.0
Version: 6.8.1
Release: %autorelease
Summary: Byte Code Engineering Library
License: Apache-2.0
@ -9,12 +9,10 @@ ExclusiveArch: %{java_arches} noarch
Source0: http://archive.apache.org/dist/commons/bcel/source/bcel-%{version}-src.tar.gz
BuildRequires: maven-local-openjdk25
BuildRequires: maven-local
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
@ -32,6 +30,12 @@ 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
@ -43,7 +47,7 @@ being the Xalan XSLT processor at Apache.
%mvn_file : %{name}
%build
%mvn_build -j -f
%mvn_build -f
%install
%mvn_install
@ -52,5 +56,8 @@ being the Xalan XSLT processor at Apache.
%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://gitlab.com/redhat/centos-stream/tests/javapackages.git
ref: f43
url: https://src.fedoraproject.org/tests/javapackages
ref: f42
execute:
how: tmt

View file

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

View file

@ -5,4 +5,3 @@ 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,ConstantPoolModuleAccessTestCase,BCELifierTestCase"
rlRun -s "${mvn} surefire:test -Dsurefire.excludes=JdkGenericDumpTestCase,ConstantPoolModuleToStringTestCase,BCELifierTestCase"
rlAssertGrep "BUILD SUCCESS" $rlRun_LOG
rlAssertGrep "Failures: 0, Errors: 0" $rlRun_LOG
rlPhaseEnd