The package rpms/autolink-java.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/autolink-java.git/commit/?id=7504....
Change:
+ExclusiveArch: noarch %{java_arches}
Thanks.
Full change:
============
commit 7504b7d5228c29681a16f4517d07f0ead8273134
Author: Jerry James <loganjerry(a)gmail.com>
Date: Tue Aug 29 15:49:42 2023 -0600
Initial RPM
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..74c6152
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/autolink-*.tar.gz
diff --git a/autolink-java.spec b/autolink-java.spec
new file mode 100644
index 0000000..a3d024e
--- /dev/null
+++ b/autolink-java.spec
@@ -0,0 +1,47 @@
+Name: autolink-java
+Version: 0.11.0
+Release: %autorelease
+Summary: Java library to extract links from plain text
+
+License: MIT
+URL:
https://github.com/robinst/autolink-java
+Source0: %{url}/archive/autolink-%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: noarch %{java_arches}
+
+BuildRequires: maven-local
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
+
+%description
+Autolink is a Java library to extract links such as URLs and email
+addresses from plain text. It's smart about where a link ends, such as
+with trailing punctuation.
+
+%javadoc_package
+
+%prep
+%autosetup -n %{name}-autolink-%{version}
+
+# Not needed for an RPM build
+%pom_remove_plugin com.github.siom79.japicmp:japicmp-maven-plugin
+%pom_remove_plugin org.apache.maven.plugins:maven-release-plugin
+%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
+
+# We do not want to run benchmarks
+%pom_remove_dep org.openjdk.jmh:jmh-core
+rm src/test/java/org/nibor/autolink/AutolinkBenchmark.java
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc CHANGELOG.md README.md
+%license LICENSE
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..a8ac574
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (autolink-0.11.0.tar.gz) =
243f8930f2e71f61e359481d4fd85f626cec428a32fe2317a95ace39b03b96e97405efc47aa19e2805afd6872df19f5541ef8428aa0cc95392e2b3f4f90cfc1e