import CS byte-buddy-1.10.20-9.el9

This commit is contained in:
eabdullin 2025-03-11 07:03:28 +00:00
parent 30fe115cc4
commit 3f45568714

View File

@ -2,7 +2,7 @@
Name: byte-buddy
Version: 1.10.20
Release: 5%{?dist}
Release: 9%{?dist}
Summary: Runtime code generation for the Java virtual machine
License: ASL 2.0
URL: http://bytebuddy.net/
@ -13,6 +13,8 @@ Source0: %{name}-%{version}.tar.gz
Patch1: 0001-Avoid-bundling-asm.patch
Patch2: 0002-Remove-dependency-on-jna.patch
Patch3: 0003-Remove-Java-14-tests.patch
BuildArch: noarch
ExclusiveArch: aarch64 ppc64le s390x x86_64 noarch
BuildRequires: maven-local
%if %{with bootstrap}
@ -38,8 +40,6 @@ BuildRequires: mvn(org.ow2.asm:asm)
BuildRequires: mvn(org.ow2.asm:asm-commons)
%endif
BuildArch: noarch
%description
Byte Buddy is a code generation library for creating Java classes during the
runtime of a Java application and without the help of a compiler. Other than
@ -75,9 +75,9 @@ This package contains API documentation for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
rm byte-buddy-agent/src/test/java/net/bytebuddy/agent/VirtualMachineAttachmentTest.java
@ -152,6 +152,18 @@ sed -i -e '/SuppressFBWarnings/d' $(grep -lr SuppressFBWarnings)
%license LICENSE NOTICE
%changelog
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 1.10.20-9
- Add noarch to ExclusiveArch
* Fri Nov 22 2024 Marián Konček <mkoncek@redhat.com> - 1.10.20-8
- Disable building on i686
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1.10.20-7
- Fix patch usage
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 1.10.20-6
- Rebuild with regenerated Requires on Java
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.10.20-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688