Rebuilt with bundled dependencies for move to CRB

Related: rhbz#1980981
This commit is contained in:
Joshua Matsuoka 2023-02-27 16:51:23 -05:00
parent 900d74bccc
commit 8ce735e2f2
3 changed files with 27 additions and 23 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/jmc-core-7.0.0.tar.gz
/63ec7d0ee8d9.tar.gz
/jmc-8.2.0.tar.gz

View File

@ -1,23 +1,26 @@
# Version
%global major 7
%global minor 1
%global patchlevel 1
%global major 8
%global minor 2
%global patchlevel 0
# Revision
%global revnum 5
%global revnum 6
# set to 1 for hg snapshots, 0 for release
%global usesnapshot 0
# SNAPSHOT version
%global hgrevhash 63ec7d0ee8d9
%global hgrevdate 20200608
%global revhash 7f42e4a10291d7e9316711edd81a183951cdae57
%global revdate 20220203
%global tarball_name jmc7-%{hgrevhash}
%global tarball_name jmc-%{major}.%{minor}.%{patchlevel}.tar.gz
%global jmc_dir_name core
%if %{usesnapshot}
%global releasestr %{revnum}.%{hgrevdate}hg%{hgrevhash}
%global releasestr %{revnum}.%{revdate}.%{revhash}
%global repositorystr repository-%{major}.%{minor}.%{patchlevel}-%{revdate}.tar.gz
%else
%global releasestr %{revnum}
%global repositorystr repository-%{major}.%{minor}.%{patchlevel}.tar.gz
%endif
Name: jmc-core
@ -31,12 +34,12 @@ Summary: Core API for JDK Mission Control
License: UPL or BSD
URL: http://openjdk.java.net/projects/jmc/
Source0: https://hg.openjdk.java.net/jmc/jmc7/archive/%{hgrevhash}.tar.gz
Source0: %{tarball_name}
Source1: %{repositorystr}
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(org.owasp.encoder:encoder)
# maven requires generator will add Require for runtime dependency
# on mvn(org.owasp.encoder:encoder)
@ -54,11 +57,10 @@ Summary: Javadoc for %{name}
%{summary}.
%prep
%setup -q -n %{tarball_name}/core
cp ../license/* ./
cp ../README.md ./
%setup -q -n %{jmc_dir_name}
%setup -q -T -D -a 1 -n %{jmc_dir_name}
cp ./license/* ./
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
@ -74,22 +76,23 @@ cp ../README.md ./
%build
# some tests require large heap and fail with OOM
# depending on the builder resources
%mvn_build -- -Dmaven.test.failure.ignore=true
mvn -Dmaven.repo.local=repository-%{version}-%{revdate} -o clean install -f pom.xml -DskipJDPMulticastTests=true
%install
%mvn_install
%files -f .mfiles
%files
%license LICENSE.txt
%license THIRDPARTYREADME.txt
%license THIRD_PARTY_LICENSES.txt
%doc README.md
%files javadoc -f .mfiles-javadoc
%files javadoc
%license LICENSE.txt
%license THIRDPARTYREADME.txt
%license THIRD_PARTY_LICENSES.txt
%doc README.md
%changelog
* Mon Feb 27 2023 Joshua Matsuoka <jmatsuok@redhat.com> - 8.2.0-1
- Rebuilt with bundled dependencies for move to CRB
Related: rhbz#1980981
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 7.1.1-5.3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

View File

@ -1 +1 @@
SHA512 (63ec7d0ee8d9.tar.gz) = b928746234af8c6b084501cb9fd65ddd34fd995083d2ae383bccb492862f923c36b829795cd0d5160fa12bda915148e516d820698e3e479636408eea904139bf
SHA512 (jmc-8.2.0.tar.gz) = 1a7534c2deb271495c854766ae1ddc4959267615f0a3495bab3ba4026aaea05d589d207e5331804167535b062f3015cb649744b0b8c34003a23391f419c16bae