|
|
@ -1,23 +1,29 @@
|
|
|
|
%global tarball_name RELEASE_3_2_4
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global tarball_name RELEASE_%(echo '%{version}' | tr . _)
|
|
|
|
|
|
|
|
|
|
|
|
Name: cglib
|
|
|
|
Name: cglib
|
|
|
|
Version: 3.2.4
|
|
|
|
Version: 3.3.0
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: Code Generation Library for Java
|
|
|
|
Summary: Code Generation Library for Java
|
|
|
|
# ASM MethodVisitor is based on ASM code and therefore
|
|
|
|
# ASM MethodVisitor is based on ASM code and therefore
|
|
|
|
# BSD-licensed. Everything else is ASL 2.0.
|
|
|
|
# BSD-licensed. Everything else is ASL 2.0.
|
|
|
|
License: ASL 2.0 and BSD
|
|
|
|
License: ASL 2.0 and BSD
|
|
|
|
URL: https://github.com/cglib/cglib
|
|
|
|
URL: https://github.com/cglib/cglib
|
|
|
|
Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: 0001-Remove-unused-import.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: maven-plugin-bundle
|
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
|
|
|
%else
|
|
|
|
BuildRequires: mvn(org.apache.ant:ant)
|
|
|
|
BuildRequires: mvn(org.apache.ant:ant)
|
|
|
|
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm)
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm)
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
%endif
|
|
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
cglib is a powerful, high performance and quality code generation library
|
|
|
|
cglib is a powerful, high performance and quality code generation library
|
|
|
@ -32,6 +38,10 @@ Documentation for the cglib code generation library.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{tarball_name}
|
|
|
|
%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-nodep
|
|
|
|
%pom_disable_module cglib-integration-test
|
|
|
|
%pom_disable_module cglib-integration-test
|
|
|
@ -54,12 +64,12 @@ Documentation for the cglib code generation library.
|
|
|
|
%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
|
|
|
|
%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
|
|
|
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
|
|
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
|
|
|
|
|
|
|
|
|
|
|
%pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "<optional>true</optional>" cglib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib"
|
|
|
|
%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib"
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%mvn_build
|
|
|
|
# 5 tests fail with OpenJDK 11
|
|
|
|
|
|
|
|
# Forwarded upstream: https://github.com/cglib/cglib/issues/119
|
|
|
|
|
|
|
|
%mvn_build -f
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
%mvn_install
|
|
|
@ -71,6 +81,63 @@ Documentation for the cglib code generation library.
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.0-6
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-5
|
|
|
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-4
|
|
|
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.9-3
|
|
|
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 29 2018 Mat Booth <mat.booth@redhat.com> - 3.2.9-1
|
|
|
|
|
|
|
|
- Update to latest upstream release for ASM 7 support
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-8
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-7
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|