The package rpms/openjdk-asmtools.git has added or updated architecture specific content
in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/openjdk-asmtools.git/commit/?id=b....
Change:
-ExclusiveArch: %{java_arches} noarch
Thanks.
Full change:
============
commit b46498e0ecbb026302f2b9d3d8cb424a0b7ac3ab
Author: Jiri Vanek <jvanek(a)redhat.com>
Date: Fri Dec 2 11:39:04 2022 +0100
Downgraed to asmtools 7
diff --git a/openjdk-asmtools7.in b/openjdk-asmtools7.in
index b68c5d2..4fb7480 100644
--- a/openjdk-asmtools7.in
+++ b/openjdk-asmtools7.in
@@ -15,6 +15,6 @@ _set_java_home
set_jvm
# all dependencies must be on classpath
-set_classpath openjdk-asmtools
+set_classpath openjdk-asmtools7
run @SCD@ "$@"
diff --git a/openjdk-asmtools7.spec b/openjdk-asmtools7.spec
index 8cde4e7..b827668 100644
--- a/openjdk-asmtools7.spec
+++ b/openjdk-asmtools7.spec
@@ -1,15 +1,17 @@
#Definig major and minor because Version allows only '-'
-%global major 8.0
-%global minor b02.ea
-#Using pre-release snapshot versioning from at8 branch
-%global commit 608867a0bea64c80281f02b0e6d273b18943eb97
+%global major 7.0
+%global minor b10
+#Using pre-release snapshot versioning
+%global commit f40a2c014cfd32eb6cc1e1c6c4264a0411fe0415
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global commitdate 20221108
+%global commitdate 20210610
-Name: openjdk-asmtools
+%global project_name openjdk-asmtools
+
+Name: %{project_name}7
Version: %{major}.%{minor}
-Release: 0.1.%{commitdate}.git%{shortcommit}%{?dist}
-Summary: To develop tools create proper & improper Java '.class'
files
+Release: 0.5.%{commitdate}.git%{shortcommit}%{?dist}
+Summary: To develop tools create proper & improper Java '.class' files
for jdk11 and down
License: GPLv2+
URL:
https://github.com/openjdk/asmtools
@@ -17,22 +19,20 @@ URL:
https://github.com/openjdk/asmtools
#Source0:
https://github.com/openjdk/%%{name}/archive/%%{major}-%%{minor}.tar.gz
#As we are using pre-release snapshot versioning, Source0 looks as below
#To download source: spectool -g openjdk-asmtools.spec
-Source0:
https://github.com/openjdk/asmtools/archive/%{commit}/%{name}-%{shortcomm...
-Source1: openjdk-asmtools.in
-Source2: openjdk-asmtools.1
+Source0:
https://github.com/openjdk/asmtools/archive/%{commit}/%{project_name}-%{s...
+Source1: openjdk-asmtools7.in
+Source2: openjdk-asmtools7.1
BuildArch: noarch
-ExclusiveArch: %{java_arches} noarch
-#asmtools8 requires jdk16 amd up
-BuildRequires: java-17-openjdk-devel
+BuildRequires: java-devel
BuildRequires: maven-local
BuildRequires: maven-compiler-plugin
BuildRequires: maven-jar-plugin
-Requires: (java-17-headless or java-latest-openjdk-headless)
+Requires: java-headless
%description
-AsmTools helps develop tools to create proper and improper Java '.class' files.
+AsmTools helps develop tools to create proper and improper Java '.class' files.
for jdk11 and down
Aids various Java .class based testing and OpenJDK development applications.
Asmtools supports latest class file formats, in lock-step with JDK development.
AsmTools consist of a set of (Java class file) assembler/dis-assemblers:
@@ -56,18 +56,15 @@ This package contains the API documentation for %{name}.
cd maven
sed -i "s|ln -sv|cp -r|g" mvngen.sh
sh mvngen.sh
-#%%pom_remove_plugin :maven-javadoc-plugin
-#%%pom_remove_plugin :maven-source-plugin
-#%%pom_remove_plugin :maven-gpg-plugin
+%pom_remove_plugin :maven-javadoc-plugin
+%pom_remove_plugin :maven-source-plugin
+%pom_remove_plugin :maven-gpg-plugin
sed "s/<addClasspath.*//" -i pom.xml
sed "s/<<mainClass.*//" -i pom.xml
%build
cd maven
-export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
-xmvn -version
-# there are two test failures
-%mvn_build --xmvn-javadoc -f
+%mvn_build --xmvn-javadoc
%install
rm -rf $RPM_BUILD_ROOT
@@ -90,26 +87,11 @@ install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/
%license LICENSE
%doc README.md
%attr(755, root, -) %{_bindir}/*
-%{_mandir}/man1/openjdk-asmtools.1*
+%{_mandir}/man1/openjdk-asmtools7.1*
%files javadoc -f maven/.mfiles-javadoc
%changelog
-* Thu Nov 10 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
8.0.b02.ea-0.1.20221108.git608867a
-- bumped to asmtools8
-
-* Fri Jul 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
7.0.b10-0.8.20210610.gitf40a2c0
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jul 08 2022 Jiri Vanek <jvanek(a)redhat.com> - 7.0.b10-0.7.20210610.gitf40a2c0
-- Rebuilt for Drop i686 JDKs
-
-* Sat Feb 05 2022 Jiri Vanek <jvanek(a)redhat.com> - 7.0.b10-0.6.20210610.gitf40a2c0
-- Rebuilt for java-17-openjdk as system jdk
-
-* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
7.0.b10-0.5.20210610.gitf40a2c0
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
* Wed Dec 08 2021 Jayashree Huttanagoudar <jhuttana(a)redhat.com> -
7.0.b10-0.4.20210610.gitf40a2c0
- Use XMvn javadoc so as to work-around maven-javadoc-plugin issue.
diff --git a/sources b/sources
index 816df1f..7f424aa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openjdk-asmtools-608867a.tar.xz) =
93955d3cc49dd3778443a6e70f1ebe2db7c3cb68818615d1e2898e08443b6f234bab3a716ad0b819a008f3f28bc402e9ce6672bbbb9bf9e5bc865946a50aafe3
+SHA512 (openjdk-asmtools-f40a2c0.tar.xz) =
cf7c02fead093f754d88f5c798fb84a7f866e1396d607a923881de973ad3449113cb87015d2498cf28bb6fb7f01475bfcbae13d8ae0325ffb94d67546df03358
commit 37a36a19b31384adcac424ce71f976ccaa0c2efc
Author: Jiri Vanek <jvanek(a)redhat.com>
Date: Fri Dec 2 11:29:00 2022 +0100
Renamed files top 7 comapct package
diff --git a/openjdk-asmtools.1 b/openjdk-asmtools7.1
similarity index 100%
rename from openjdk-asmtools.1
rename to openjdk-asmtools7.1
diff --git a/openjdk-asmtools.in b/openjdk-asmtools7.in
similarity index 100%
rename from openjdk-asmtools.in
rename to openjdk-asmtools7.in
diff --git a/openjdk-asmtools.spec b/openjdk-asmtools7.spec
similarity index 100%
rename from openjdk-asmtools.spec
rename to openjdk-asmtools7.spec
commit 1bdaf279d478ae5c568c8281cab6a7812049684b
Merge: 66f63d1 9bd1b7d
Author: Jiri Vanek <jvanek(a)redhat.com>
Date: Fri Dec 2 11:28:05 2022 +0100
Merge remote-tracking branch 'puvodni/rawhide' into rawhide
commit 66f63d13c8fb50e58acf0a80fac64a218791035f
Author: Gwyn Ciesla <limb(a)fedoraproject.org>
Date: Thu Dec 1 15:19:02 2022 +0000
Added the README
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5ef1385
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# openjdk-asmtools7
+
+The openjdk-asmtools7 package