|
|
@ -1,8 +1,8 @@
|
|
|
|
%bcond_with bootstrap
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
Name: byte-buddy
|
|
|
|
Name: byte-buddy
|
|
|
|
Version: 1.10.20
|
|
|
|
Version: 1.12.10
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Runtime code generation for the Java virtual machine
|
|
|
|
Summary: Runtime code generation for the Java virtual machine
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://bytebuddy.net/
|
|
|
|
URL: http://bytebuddy.net/
|
|
|
@ -11,13 +11,14 @@ Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
# Patch the build to avoid bundling inside shaded jars
|
|
|
|
# Patch the build to avoid bundling inside shaded jars
|
|
|
|
Patch1: 0001-Avoid-bundling-asm.patch
|
|
|
|
Patch1: 0001-Avoid-bundling-asm.patch
|
|
|
|
Patch2: 0002-Remove-dependency-on-jna.patch
|
|
|
|
Patch2: 0002-Remove-dependencies.patch
|
|
|
|
Patch3: 0003-Remove-Java-14-tests.patch
|
|
|
|
Patch3: 0003-Remove-Java-14-tests.patch
|
|
|
|
|
|
|
|
Patch4: 0004-Remove-JDK-15-sealed-classes.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(net.bytebuddy:byte-buddy)
|
|
|
|
BuildRequires: mvn(net.bytebuddy:byte-buddy)
|
|
|
|
BuildRequires: mvn(net.bytebuddy:byte-buddy-dep)
|
|
|
|
BuildRequires: mvn(net.bytebuddy:byte-buddy-dep)
|
|
|
@ -39,6 +40,7 @@ BuildRequires: mvn(org.ow2.asm:asm-commons)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Byte Buddy is a code generation library for creating Java classes during the
|
|
|
|
Byte Buddy is a code generation library for creating Java classes during the
|
|
|
@ -75,11 +77,13 @@ This package contains API documentation for %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%patch -P 1 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch -P 2 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch -P 3 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
|
|
|
|
|
|
|
rm byte-buddy-agent/src/test/java/net/bytebuddy/agent/VirtualMachineAttachmentTest.java
|
|
|
|
rm byte-buddy-agent/src/test/java/net/bytebuddy/agent/VirtualMachineAttachmentTest.java
|
|
|
|
|
|
|
|
rm byte-buddy-agent/src/test/java/net/bytebuddy/agent/VirtualMachineForOpenJ9Test.java
|
|
|
|
|
|
|
|
|
|
|
|
# Cause pre-compiled stuff to be re-compiled
|
|
|
|
# Cause pre-compiled stuff to be re-compiled
|
|
|
|
mv byte-buddy-dep/src/precompiled/java/net/bytebuddy/build/*.java \
|
|
|
|
mv byte-buddy-dep/src/precompiled/java/net/bytebuddy/build/*.java \
|
|
|
@ -87,6 +91,7 @@ mv byte-buddy-dep/src/precompiled/java/net/bytebuddy/build/*.java \
|
|
|
|
mkdir -p byte-buddy-dep/src/test/java/net/bytebuddy/test/precompiled/
|
|
|
|
mkdir -p byte-buddy-dep/src/test/java/net/bytebuddy/test/precompiled/
|
|
|
|
mv byte-buddy-dep/src/precompiled/java/net/bytebuddy/test/precompiled/*.java \
|
|
|
|
mv byte-buddy-dep/src/precompiled/java/net/bytebuddy/test/precompiled/*.java \
|
|
|
|
byte-buddy-dep/src/test/java/net/bytebuddy/test/precompiled/
|
|
|
|
byte-buddy-dep/src/test/java/net/bytebuddy/test/precompiled/
|
|
|
|
|
|
|
|
rm byte-buddy-dep/src/test/java/net/bytebuddy/test/precompiled/GenericRecordSample.java
|
|
|
|
|
|
|
|
|
|
|
|
# Don't ship android or benchmark modules
|
|
|
|
# Don't ship android or benchmark modules
|
|
|
|
%pom_disable_module byte-buddy-android
|
|
|
|
%pom_disable_module byte-buddy-android
|
|
|
@ -105,6 +110,7 @@ mv byte-buddy-dep/src/precompiled/java/net/bytebuddy/test/precompiled/*.java \
|
|
|
|
%pom_remove_plugin :jitwatch-jarscan-maven-plugin
|
|
|
|
%pom_remove_plugin :jitwatch-jarscan-maven-plugin
|
|
|
|
%pom_remove_plugin :clirr-maven-plugin
|
|
|
|
%pom_remove_plugin :clirr-maven-plugin
|
|
|
|
%pom_remove_plugin :maven-release-plugin
|
|
|
|
%pom_remove_plugin :maven-release-plugin
|
|
|
|
|
|
|
|
%pom_remove_plugin :nexus-staging-maven-plugin
|
|
|
|
|
|
|
|
|
|
|
|
# Avoid circural dependency
|
|
|
|
# Avoid circural dependency
|
|
|
|
%pom_remove_plugin :byte-buddy-maven-plugin byte-buddy-dep
|
|
|
|
%pom_remove_plugin :byte-buddy-maven-plugin byte-buddy-dep
|
|
|
@ -124,8 +130,13 @@ sed -i -e '/SuppressFBWarnings/d' $(grep -lr SuppressFBWarnings)
|
|
|
|
%pom_remove_plugin :maven-shade-plugin byte-buddy
|
|
|
|
%pom_remove_plugin :maven-shade-plugin byte-buddy
|
|
|
|
%pom_remove_plugin :maven-shade-plugin byte-buddy-benchmark
|
|
|
|
%pom_remove_plugin :maven-shade-plugin byte-buddy-benchmark
|
|
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep :jna byte-buddy-agent
|
|
|
|
%pom_remove_dep net.java.dev.jna:jna byte-buddy
|
|
|
|
%pom_remove_dep :jna-platform byte-buddy-agent
|
|
|
|
%pom_remove_dep net.java.dev.jna:jna byte-buddy-dep
|
|
|
|
|
|
|
|
%pom_remove_dep net.java.dev.jna:jna byte-buddy-agent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep net.java.dev.jna:jna-platform byte-buddy
|
|
|
|
|
|
|
|
%pom_remove_dep net.java.dev.jna:jna-platform byte-buddy-dep
|
|
|
|
|
|
|
|
%pom_remove_dep net.java.dev.jna:jna-platform byte-buddy-agent
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# Ignore test failures, there seems to be something different about the
|
|
|
|
# Ignore test failures, there seems to be something different about the
|
|
|
@ -152,21 +163,26 @@ sed -i -e '/SuppressFBWarnings/d' $(grep -lr SuppressFBWarnings)
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1.10.20-7
|
|
|
|
* Fri Jul 14 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.12.10-2
|
|
|
|
- Fix patch usage
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.10-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 09 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.10-1
|
|
|
|
|
|
|
|
- Update to upstream version 1.12.10
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 1.10.20-6
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.12.0-3
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.10.20-5
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.20-4
|
|
|
|
* Tue Nov 09 2021 Marian Koncek <mkoncek@redhat.com> - 1.12.0-1
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
- Update to upstream version 1.12.0
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.20-3
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.20-3
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.20-2
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.20-2
|
|
|
|
- Bootstrap build
|
|
|
|
- Bootstrap build
|
|
|
|