2021-05-17 16:01:42 +00:00
|
|
|
%bcond_with bootstrap
|
2021-04-16 13:33:12 +00:00
|
|
|
|
2019-06-27 07:56:47 +00:00
|
|
|
%global tarball_name RELEASE_%(echo '%{version}' | tr . _)
|
2016-07-07 14:13:02 +00:00
|
|
|
|
2009-11-13 23:36:40 +00:00
|
|
|
Name: cglib
|
2019-08-15 12:44:48 +00:00
|
|
|
Version: 3.3.0
|
2023-09-01 12:05:21 +00:00
|
|
|
Release: 11%{?dist}
|
2009-11-13 23:36:40 +00:00
|
|
|
Summary: Code Generation Library for Java
|
2018-07-12 10:56:42 +00:00
|
|
|
# ASM MethodVisitor is based on ASM code and therefore
|
|
|
|
# BSD-licensed. Everything else is ASL 2.0.
|
2023-09-01 12:05:21 +00:00
|
|
|
License: Apache-2.0 AND BSD-3-Clause
|
2018-07-12 10:56:42 +00:00
|
|
|
URL: https://github.com/cglib/cglib
|
|
|
|
BuildArch: noarch
|
2022-05-12 20:33:24 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2019-11-05 07:48:40 +00:00
|
|
|
Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
|
|
|
|
|
|
|
|
Patch0: 0001-Remove-unused-import.patch
|
|
|
|
|
2021-04-16 13:33:12 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2022-06-14 06:03:17 +00:00
|
|
|
BuildRequires: maven-local
|
2016-07-07 14:13:02 +00:00
|
|
|
BuildRequires: mvn(org.apache.ant:ant)
|
2019-11-05 07:50:10 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2016-07-07 14:13:02 +00:00
|
|
|
BuildRequires: mvn(org.ow2.asm:asm)
|
2021-04-16 13:33:12 +00:00
|
|
|
%endif
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%description
|
2015-07-09 14:50:16 +00:00
|
|
|
cglib is a powerful, high performance and quality code generation library
|
|
|
|
for Java. It is used to extend Java classes and implements interfaces
|
2016-02-19 12:28:17 +00:00
|
|
|
at run-time.
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
2015-07-09 14:50:16 +00:00
|
|
|
|
2009-11-13 23:36:40 +00:00
|
|
|
%description javadoc
|
|
|
|
Documentation for the cglib code generation library.
|
|
|
|
|
|
|
|
%prep
|
2016-07-07 14:13:02 +00:00
|
|
|
%setup -q -n %{name}-%{tarball_name}
|
2019-11-05 07:48:40 +00:00
|
|
|
%patch0 -p1
|
2016-07-07 14:13:02 +00:00
|
|
|
|
2020-08-30 09:26:47 +00:00
|
|
|
# remove unnecessary dependency on parent POM
|
|
|
|
%pom_remove_parent
|
|
|
|
|
2016-07-07 14:13:02 +00:00
|
|
|
%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 '<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<version>1.4.0</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Bundle-SymbolicName>net.sf.cglib.core</Bundle-SymbolicName>
|
|
|
|
<Export-Package>net.*</Export-Package>
|
|
|
|
<Import-Package>org.apache.tools.*;resolution:=optional,*</Import-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>' cglib
|
|
|
|
%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin
|
|
|
|
%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
|
2017-02-23 12:44:24 +00:00
|
|
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
2013-11-11 16:03:41 +00:00
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib"
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%build
|
2019-11-05 07:04:23 +00:00
|
|
|
# 5 tests fail with OpenJDK 11
|
|
|
|
# Forwarded upstream: https://github.com/cglib/cglib/issues/119
|
2021-11-02 15:16:22 +00:00
|
|
|
%mvn_build -f -- -Djava.version.source=1.7 -Djava.version.target=1.7
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
%install
|
2016-07-07 14:13:02 +00:00
|
|
|
%mvn_install
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2014-05-21 17:27:29 +00:00
|
|
|
%files -f .mfiles
|
2016-02-19 12:28:17 +00:00
|
|
|
%license LICENSE NOTICE
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE NOTICE
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-09-01 12:05:21 +00:00
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-11
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
2023-07-19 15:32:19 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-18 23:44:33 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-20 22:48:27 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-02-05 18:55:11 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.3.0-7
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-19 23:06:38 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-11-02 15:16:22 +00:00
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-5
|
|
|
|
- Set explicit Java compiler source/target levels to 1.7
|
|
|
|
|
2021-07-21 19:21:21 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-17 13:49:39 +00:00
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-3
|
|
|
|
- Bootstrap build
|
2021-05-17 16:01:42 +00:00
|
|
|
- Non-bootstrap build
|
2021-05-17 13:49:39 +00:00
|
|
|
|
2021-01-26 01:51:58 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-30 09:26:47 +00:00
|
|
|
* Sun Aug 30 2020 Fabio Valentini <decathorpe@gmail.com> - 3.2.9-8
|
|
|
|
- Remove unnecessary dependency on parent POM.
|
|
|
|
|
2020-07-27 13:52:09 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 15:21:59 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.2.9-6
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-06-26 15:39:25 +00:00
|
|
|
* 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.
|
|
|
|
|
2020-01-28 13:54:49 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-05 16:29:27 +00:00
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-2
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
2019-08-15 12:44:48 +00:00
|
|
|
* Thu Aug 15 2019 Marian Koncek <mkoncek@redhat.com> - 3.3.0-1
|
|
|
|
- Update to upstream version 3.3.0
|
|
|
|
|
2019-07-24 20:08:57 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-27 07:56:47 +00:00
|
|
|
* Thu Jun 27 2019 Marian Koncek <mkoncek@redhat.com> - 3.2.12-1
|
|
|
|
- Update to upstream version 3.2.12
|
|
|
|
|
2019-05-24 15:00:28 +00:00
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.9-3
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
2019-01-31 15:28:57 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-11-29 22:02:39 +00:00
|
|
|
* Thu Nov 29 2018 Mat Booth <mat.booth@redhat.com> - 3.2.9-1
|
|
|
|
- Update to latest upstream release for ASM 7 support
|
|
|
|
|
2018-07-12 21:42:56 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 04:48:10 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-12 10:31:41 +00:00
|
|
|
* Tue Sep 12 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.4-6
|
|
|
|
- Rebuild to regenerate OSGi manifest after ASM6 upgrade
|
|
|
|
- Resolves: rhbz#1490827
|
|
|
|
|
2017-07-26 04:42:51 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-23 12:44:24 +00:00
|
|
|
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.4-4
|
|
|
|
- Remove unneeded maven-javadoc-plugin invocation
|
|
|
|
|
2017-02-10 07:25:31 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-07-08 12:23:09 +00:00
|
|
|
* Fri Jul 8 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.4-2
|
|
|
|
- Make ant dependency optional
|
|
|
|
|
2016-07-07 14:13:02 +00:00
|
|
|
* Thu Jul 07 2016 Severin Gehwolf <sgehwolf@redhat.com> - 3.2.4-1
|
|
|
|
- Upgrade to latest 3.2.4 release.
|
|
|
|
- Resolves RHBZ#1352315
|
|
|
|
|
2016-02-22 11:44:26 +00:00
|
|
|
* Mon Feb 22 2016 Mat Booth <mat.booth@redhat.com> - 3.1-10
|
|
|
|
- Make ant an optional dependency
|
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
* Thu Feb 18 2016 Mat Booth <mat.booth@redhat.com> - 3.1-9
|
|
|
|
- Modernise spec file
|
|
|
|
|
2016-02-03 17:35:08 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-09 14:50:16 +00:00
|
|
|
* Thu Jul 09 2015 Michael Simacek <msimacek@redhat.com> - 3.1-7
|
|
|
|
- Update bnd invocation
|
|
|
|
|
2015-06-17 02:32:55 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-10-20 12:12:05 +00:00
|
|
|
* Mon Oct 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-5
|
|
|
|
- Add alias for cglib:cglib-nodep
|
|
|
|
|
2014-06-07 04:31:10 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-21 17:27:29 +00:00
|
|
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-3
|
|
|
|
- Use .mfiles generated during build
|
|
|
|
|
2014-03-04 08:05:32 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-2
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2014-01-13 09:58:57 +00:00
|
|
|
* Mon Jan 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
|
|
|
|
- Update to upstream version 3.1
|
|
|
|
- Remove patch for upstream bug 44 (fixed upstream)
|
|
|
|
|
2013-11-11 16:03:41 +00:00
|
|
|
* Mon Nov 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0-1
|
|
|
|
- Update to upstream version 3.0
|
|
|
|
- Add alias for org.sonatype.sisu.inject:cglib
|
|
|
|
|
2013-08-05 10:02:42 +00:00
|
|
|
* Mon Aug 05 2013 Severin Gehwolf <sgehwolf@redhat.com> 2.2-17
|
2016-02-19 12:28:17 +00:00
|
|
|
- Remove old call to %%add_to_maven_depmap macro.
|
2013-08-05 10:02:42 +00:00
|
|
|
- Fixes RHBZ#992051.
|
|
|
|
|
2013-08-03 04:43:19 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-13 18:24:44 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-01 15:27:13 +00:00
|
|
|
* Thu Nov 1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-14
|
|
|
|
- Add additional maven depmap
|
|
|
|
|
2012-09-17 12:56:35 +00:00
|
|
|
* Mon Sep 17 2012 Severin Gehwolf <sgehwolf@redhat.com> 2.2-13
|
2012-09-17 12:47:31 +00:00
|
|
|
- Use aqute bnd in order to generate OSGi metadata.
|
|
|
|
|
2012-08-17 10:55:04 +00:00
|
|
|
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-12
|
|
|
|
- Add additional depmap
|
|
|
|
|
2012-08-16 15:37:17 +00:00
|
|
|
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 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
|
|
|
|
|
2012-07-18 18:51:04 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-12 23:15:18 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 08:02:31 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-26 09:19:45 +00:00
|
|
|
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-7
|
|
|
|
- Add missing pom file (Resolves rhbz#655793)
|
|
|
|
|
2009-11-27 10:32:24 +00:00
|
|
|
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.2-6
|
|
|
|
- BR unzip to fix openSUSE build
|
|
|
|
|
2009-11-13 23:36:40 +00:00
|
|
|
* Tue Dec 9 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-5
|
|
|
|
- Add dist to version
|
|
|
|
- Fix BuildRoot to follow the latest guidelines
|
|
|
|
|
|
|
|
* Mon Nov 24 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-4
|
|
|
|
- Add a comment explaining the patch
|
|
|
|
|
|
|
|
* Thu Nov 6 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-3
|
|
|
|
- Flag Maven depmap as "config"
|
|
|
|
|
|
|
|
* Wed Nov 5 2008 Mary Ellen Foster <mefoster at gmail.com> - 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 <mefoster at gmail.com> - 2.2-1
|
|
|
|
- Initial package (based on previous JPP version)
|