public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-doxia] rawhide: fix current FTBFS (koschei)
@ 2026-10-22  4:40 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-10-22  4:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/maven-doxia
            Branch : rawhide
            Commit : 8940a524745db65d7f0bb704fdff01f12361048a
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-21T11:25:29-03:00
            Stats  : +7/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/maven-doxia/c/8940a524745db65d7f0bb704fdff01f12361048a?branch=rawhide

            Log:
            fix current FTBFS (koschei)

adapt the spec to support epel10 build

---
diff --git a/maven-doxia.spec b/maven-doxia.spec
index b063c00..5f623a3 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -15,7 +15,11 @@ BuildArch:      noarch
 ExclusiveArch:  %{java_arches} noarch
 
 BuildRequires:  gpgverify
+%if 0%{?rhel} && 0%{?rhel} <= 10
+BuildRequires:  maven-local-openjdk21
+%else
 BuildRequires:  maven-local-openjdk25
+%endif
 BuildRequires:  mvn(com.vladsch.flexmark:flexmark)
 BuildRequires:  mvn(com.vladsch.flexmark:flexmark-ext-abbreviation)
 BuildRequires:  mvn(com.vladsch.flexmark:flexmark-ext-autolink)
@@ -197,6 +201,9 @@ done
 %pom_remove_plugin org.apache.rat:apache-rat-plugin
 %pom_remove_plugin :maven-install-plugin doxia-modules/doxia-module-markdown
 
+# Inject javaSource=8 for modello-maven-plugin to generate generics-compatible classes
+%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='modello-maven-plugin']" "<configuration><javaSource>8</javaSource></configuration>" doxia-modules/doxia-module-fml
+
 # Needed for the tests
 %pom_add_dep org.apiguardian:apiguardian-api:1.1.2:test
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-22  4:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22  4:40 [rpms/maven-doxia] rawhide: fix current FTBFS (koschei) Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox