From 151850a27d4676059b133b8cf77069670d459fe8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 04 2021 05:58:44 +0000 Subject: import cglib-3.3.0-6.el9 --- diff --git a/.cglib.metadata b/.cglib.metadata new file mode 100644 index 0000000..32746b3 --- /dev/null +++ b/.cglib.metadata @@ -0,0 +1 @@ +1aa7db759071fdc0b72475d88cd8cc13db0fa5ca SOURCES/RELEASE_3_3_0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..569e9d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/RELEASE_3_3_0.tar.gz diff --git a/SOURCES/0001-Remove-unused-import.patch b/SOURCES/0001-Remove-unused-import.patch new file mode 100644 index 0000000..9dd3e83 --- /dev/null +++ b/SOURCES/0001-Remove-unused-import.patch @@ -0,0 +1,24 @@ +From 912eaec202f33f8a0a9832bb3551674b6788e7f0 Mon Sep 17 00:00:00 2001 +From: Mikolaj Izdebski +Date: Tue, 5 Nov 2019 08:47:50 +0100 +Subject: [PATCH] Remove unused import + +--- + cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java b/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java +index e7de82b..1f1f744 100644 +--- a/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java ++++ b/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java +@@ -17,7 +17,6 @@ package net.sf.cglib.reflect; + + import java.lang.reflect.*; + import java.security.ProtectionDomain; +-import net.sf.cglib.*; + import net.sf.cglib.core.*; + import org.objectweb.asm.ClassVisitor; + import org.objectweb.asm.Type; +-- +2.21.0 + diff --git a/SPECS/cglib.spec b/SPECS/cglib.spec new file mode 100644 index 0000000..bbf2b63 --- /dev/null +++ b/SPECS/cglib.spec @@ -0,0 +1,255 @@ +%bcond_with bootstrap + +%global tarball_name RELEASE_%(echo '%{version}' | tr . _) + +Name: cglib +Version: 3.3.0 +Release: 6%{?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 + +Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz + +Patch0: 0001-Remove-unused-import.patch + +BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else +BuildRequires: mvn(org.apache.ant:ant) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.ow2.asm:asm) +%endif + +%description +cglib is a powerful, high performance and quality code generation library +for Java. It is used to extend Java classes and implements interfaces +at run-time. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +Documentation for the cglib code generation library. + +%prep +%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 +%pom_xpath_set pom:packaging 'bundle' cglib +%pom_xpath_inject pom:build/pom:plugins ' + org.apache.felix + maven-bundle-plugin + 1.4.0 + true + + + net.sf.cglib.core + net.* + org.apache.tools.*;resolution:=optional,* + + + ' cglib +%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin +%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample +%pom_remove_plugin -r :maven-javadoc-plugin + +%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib" + +%build +# 5 tests fail with OpenJDK 11 +# Forwarded upstream: https://github.com/cglib/cglib/issues/119 +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 3.3.0-6 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Wed Jun 09 2021 Mikolaj Izdebski - 3.3.0-5 +- Rebuild to workaround DistroBaker issue + +* Tue Jun 08 2021 Mikolaj Izdebski - 3.3.0-4 +- Bootstrap Maven for CentOS Stream 9 + +* Mon May 17 2021 Mikolaj Izdebski - 3.3.0-3 +- Bootstrap build +- Non-bootstrap build + +* Tue Jan 26 2021 Fedora Release Engineering - 3.2.9-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Aug 30 2020 Fabio Valentini - 3.2.9-8 +- Remove unnecessary dependency on parent POM. + +* Mon Jul 27 2020 Fedora Release Engineering - 3.2.9-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 3.2.9-6 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Fri Jun 26 2020 Roland Grunberg - 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 - 3.2.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 05 2019 Mikolaj Izdebski - 3.3.0-2 +- Mass rebuild for javapackages-tools 201902 + +* Thu Aug 15 2019 Marian Koncek - 3.3.0-1 +- Update to upstream version 3.3.0 + +* Wed Jul 24 2019 Fedora Release Engineering - 3.2.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 27 2019 Marian Koncek - 3.2.12-1 +- Update to upstream version 3.2.12 + +* Fri May 24 2019 Mikolaj Izdebski - 3.2.9-3 +- Mass rebuild for javapackages-tools 201901 + +* Thu Jan 31 2019 Fedora Release Engineering - 3.2.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Nov 29 2018 Mat Booth - 3.2.9-1 +- Update to latest upstream release for ASM 7 support + +* Thu Jul 12 2018 Fedora Release Engineering - 3.2.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 3.2.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Sep 12 2017 Mikolaj Izdebski - 3.2.4-6 +- Rebuild to regenerate OSGi manifest after ASM6 upgrade +- Resolves: rhbz#1490827 + +* Wed Jul 26 2017 Fedora Release Engineering - 3.2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Feb 23 2017 Mikolaj Izdebski - 3.2.4-4 +- Remove unneeded maven-javadoc-plugin invocation + +* Fri Feb 10 2017 Fedora Release Engineering - 3.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jul 8 2016 Mikolaj Izdebski - 3.2.4-2 +- Make ant dependency optional + +* Thu Jul 07 2016 Severin Gehwolf - 3.2.4-1 +- Upgrade to latest 3.2.4 release. +- Resolves RHBZ#1352315 + +* Mon Feb 22 2016 Mat Booth - 3.1-10 +- Make ant an optional dependency + +* Thu Feb 18 2016 Mat Booth - 3.1-9 +- Modernise spec file + +* Wed Feb 03 2016 Fedora Release Engineering - 3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jul 09 2015 Michael Simacek - 3.1-7 +- Update bnd invocation + +* Wed Jun 17 2015 Fedora Release Engineering - 3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Oct 20 2014 Mikolaj Izdebski - 3.1-5 +- Add alias for cglib:cglib-nodep + +* Sat Jun 07 2014 Fedora Release Engineering - 3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 21 2014 Mikolaj Izdebski - 3.1-3 +- Use .mfiles generated during build + +* Tue Mar 04 2014 Stanislav Ochotnicky - 3.1-2 +- Use Requires: java-headless rebuild (#1067528) + +* Mon Jan 13 2014 Mikolaj Izdebski - 3.1-1 +- Update to upstream version 3.1 +- Remove patch for upstream bug 44 (fixed upstream) + +* Mon Nov 11 2013 Mikolaj Izdebski - 3.0-1 +- Update to upstream version 3.0 +- Add alias for org.sonatype.sisu.inject:cglib + +* Mon Aug 05 2013 Severin Gehwolf 2.2-17 +- Remove old call to %%add_to_maven_depmap macro. +- Fixes RHBZ#992051. + +* Sat Aug 03 2013 Fedora Release Engineering - 2.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 2.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 1 2012 Mikolaj Izdebski - 2.2-14 +- Add additional maven depmap + +* Mon Sep 17 2012 Severin Gehwolf 2.2-13 +- Use aqute bnd in order to generate OSGi metadata. + +* Fri Aug 17 2012 Mikolaj Izdebski - 2.2-12 +- Add additional depmap + +* Thu Aug 16 2012 Mikolaj Izdebski - 2.2-11 +- Fix license tag +- Install LICENSE and NOTICE with javadoc package +- Convert versioned JARs to unversioned +- Preserve timestamp of POM file +- Update to current packaging guidelines + +* Wed Jul 18 2012 Fedora Release Engineering - 2.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 2.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Nov 26 2010 Stanislav Ochotnicky - 2.2-7 +- Add missing pom file (Resolves rhbz#655793) + +* Fri Nov 27 2009 Lubomir Rintel - 2.2-6 +- BR unzip to fix openSUSE build + +* Tue Dec 9 2008 Mary Ellen Foster - 2.2-5 +- Add dist to version +- Fix BuildRoot to follow the latest guidelines + +* Mon Nov 24 2008 Mary Ellen Foster - 2.2-4 +- Add a comment explaining the patch + +* Thu Nov 6 2008 Mary Ellen Foster - 2.2-3 +- Flag Maven depmap as "config" + +* Wed Nov 5 2008 Mary Ellen Foster - 2.2-2 +- Explicitly require Java > 1.6 because it won't compile with gcj +- Fix cosmetic issues in spec file + +* Tue Nov 4 2008 Mary Ellen Foster - 2.2-1 +- Initial package (based on previous JPP version)