Compare commits

...

No commits in common. "c8-stream-201902" and "stream-javapackages-tools-202201-rhel-8.10.0" have entirely different histories.

5 changed files with 70 additions and 5 deletions

View File

@ -1 +0,0 @@
1aa7db759071fdc0b72475d88cd8cc13db0fa5ca SOURCES/RELEASE_3_3_0.tar.gz

11
.gitignore vendored
View File

@ -1 +1,10 @@
SOURCES/RELEASE_3_3_0.tar.gz
cglib-src-2.2.jar
/cglib-src-3.0.jar
/cglib-3.0.pom
/cglib-src-3.1.jar
/cglib-3.1.pom
/RELEASE_3_2_4.tar.gz
/cglib-RELEASE_3_2_4
/RELEASE_3_2_9.tar.gz
/RELEASE_3_2_12.tar.gz
/RELEASE_3_3_0.tar.gz

View File

@ -1,24 +1,30 @@
%bcond_with bootstrap
%global tarball_name RELEASE_%(echo '%{version}' | tr . _)
Name: cglib
Version: 3.3.0
Release: 2%{?dist}
Release: 10%{?dist}
Summary: Code Generation Library for Java
# ASM MethodVisitor is based on ASM code and therefore
# BSD-licensed. Everything else is ASL 2.0.
License: ASL 2.0 and BSD
URL: https://github.com/cglib/cglib
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
Patch0: 0001-Remove-unused-import.patch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.ow2.asm:asm)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%endif
%description
cglib is a powerful, high performance and quality code generation library
@ -35,6 +41,9 @@ Documentation for the cglib code generation library.
%setup -q -n %{name}-%{tarball_name}
%patch0 -p1
# remove unnecessary dependency on parent POM
%pom_remove_parent
%pom_disable_module cglib-nodep
%pom_disable_module cglib-integration-test
%pom_disable_module cglib-jmh
@ -61,7 +70,7 @@ Documentation for the cglib code generation library.
%build
# 5 tests fail with OpenJDK 11
# Forwarded upstream: https://github.com/cglib/cglib/issues/119
%mvn_build -f
%mvn_build -f -- -Djava.version.source=1.7 -Djava.version.target=1.7
%install
%mvn_install
@ -73,12 +82,59 @@ Documentation for the cglib code generation library.
%license LICENSE NOTICE
%changelog
* Thu Feb 08 2024 Marián Konček <mkoncek@redhat.com> - 3.3.0-10
- Rebuild to regenerate auto-requires
* Mon Feb 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-9
- Rebuild to regenerate auto-requires
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.3.0-7
- Rebuilt for java-17-openjdk as system jdk
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-5
- Set explicit Java compiler source/target levels to 1.7
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-3
- Bootstrap build
- Non-bootstrap build
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Aug 30 2020 Fabio Valentini <decathorpe@gmail.com> - 3.2.9-8
- Remove unnecessary dependency on parent POM.
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.2.9-6
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Fri Jun 26 2020 Roland Grunberg <rgrunber@redhat.com> - 3.2.9-5
- Set maven-javadoc-plugin source to 1.8 for Java 11 build.
- Ignore 5 test failures from upstream when run on Java 9 or above.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-2
- Mass rebuild for javapackages-tools 201902
* Thu Aug 15 2019 Marian Koncek <mkoncek@redhat.com> - 3.3.0-1
- Update to upstream version 3.3.0
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jun 27 2019 Marian Koncek <mkoncek@redhat.com> - 3.2.12-1
- Update to upstream version 3.2.12

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (RELEASE_3_3_0.tar.gz) = 635dcdb10a8fe83887a1dc8cf12844fe61b73a12fb530bf84d6ac53f75b0103820d76518cbc0d93d63dba86d13929f0df4dbae3b4943a402cf9f2af76f44161a