|
|
|
@ -1,16 +1,17 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: objectweb-asm
|
|
|
|
|
Version: 9.1
|
|
|
|
|
Version: 9.6
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Java bytecode manipulation and analysis framework
|
|
|
|
|
License: BSD
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: https://asm.ow2.org/
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
# ./generate-tarball.sh
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
Source1: parent.pom
|
|
|
|
|
Source1: aggregator.pom
|
|
|
|
|
Source2: https://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom
|
|
|
|
|
Source3: https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom
|
|
|
|
|
Source4: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom
|
|
|
|
@ -19,10 +20,14 @@ Source6: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/%{version}/a
|
|
|
|
|
Source7: https://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/asm-util-%{version}.pom
|
|
|
|
|
# The source contains binary jars that cannot be verified for licensing and could be proprietary
|
|
|
|
|
Source9: generate-tarball.sh
|
|
|
|
|
Source10: tools-retrofitter.pom
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Explicit javapackages-tools requires since asm-processor script uses
|
|
|
|
@ -45,17 +50,26 @@ This package provides %{summary}.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
# A custom parent pom to aggregate the build
|
|
|
|
|
# A custom pom to aggregate the build
|
|
|
|
|
cp -p %{SOURCE1} pom.xml
|
|
|
|
|
|
|
|
|
|
cp -p %{SOURCE10} tools/retrofitter/pom.xml
|
|
|
|
|
|
|
|
|
|
# Insert poms into modules
|
|
|
|
|
for pom in asm asm-analysis asm-commons asm-test asm-tree asm-util; do
|
|
|
|
|
cp -p $RPM_SOURCE_DIR/${pom}-%{version}.pom $pom/pom.xml
|
|
|
|
|
%pom_remove_parent $pom
|
|
|
|
|
cp -p ${RPM_SOURCE_DIR}/${pom}-%{version}.pom ${pom}/pom.xml
|
|
|
|
|
%pom_add_dep org.fedoraproject.xmvn.objectweb-asm:tools-retrofitter::provided ${pom}
|
|
|
|
|
%pom_add_plugin org.apache.maven.plugins:maven-antrun-plugin ${pom}
|
|
|
|
|
%pom_set_parent org.fedoraproject.xmvn.objectweb-asm:aggregator:any ${pom}
|
|
|
|
|
%pom_xpath_inject pom:parent '<relativePath>..</relativePath>' ${pom}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# No need to ship the custom parent pom
|
|
|
|
|
%mvn_package :asm-aggregator __noinstall
|
|
|
|
|
%pom_add_dep org.ow2.asm:asm-tree:%{version} asm-analysis
|
|
|
|
|
|
|
|
|
|
# Don't ship poms used for build only
|
|
|
|
|
%mvn_package :aggregator __noinstall
|
|
|
|
|
%mvn_package :tools-retrofitter __noinstall
|
|
|
|
|
|
|
|
|
|
# Don't ship the test framework to avoid runtime dep on junit
|
|
|
|
|
%mvn_package :asm-test __noinstall
|
|
|
|
|
|
|
|
|
@ -75,18 +89,67 @@ done
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 9.1-6
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 9.6-6
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 9.6-5
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 9.6-5
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 9.6-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 11 2023 Marian Koncek <mkoncek@redhat.com> - 9.6-1
|
|
|
|
|
- Update to upstream version 9.6
|
|
|
|
|
|
|
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.5-3
|
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 05 2023 Marian Koncek <mkoncek@redhat.com> - 9.5-1
|
|
|
|
|
- Update to upstream version 9.5
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Marian Koncek <mkoncek@redhat.com> - 9.4-1
|
|
|
|
|
- Update to upstream version 9.4
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 02 2022 Marian Koncek <mkoncek@redhat.com> - 9.3-4
|
|
|
|
|
- Fix wrong generated module infos
|
|
|
|
|
|
|
|
|
|
* Mon Aug 29 2022 Marian Koncek <mkoncek@redhat.com> - 9.3-3
|
|
|
|
|
- Generate module-info without bnd-plugin
|
|
|
|
|
- Resolves: rhbz#2106272
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 09 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.3-1
|
|
|
|
|
- Update to upstream version 9.3
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 9.2-3
|
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 9.1-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.1-4
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.2-1
|
|
|
|
|
- Update to upstream version 9.2
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.1-3
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 9.1-2
|
|
|
|
|
- Bootstrap build
|
|
|
|
|