public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-doxia] epel10: Add conditional for fop
@ 2026-10-19 14:55 Michael Simacek
0 siblings, 0 replies; only message in thread
From: Michael Simacek @ 2026-10-19 14:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/maven-doxia
Branch : epel10
Commit : f2f4bbf196db4fa42a0e18310199b697f4b0a33e
Author : Michael Simacek <msimacek@redhat.com>
Date : 2017-02-07T12:52:23+01:00
Stats : +14/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/maven-doxia/c/f2f4bbf196db4fa42a0e18310199b697f4b0a33e?branch=epel10
Log:
Add conditional for fop
---
diff --git a/maven-doxia.spec b/maven-doxia.spec
index a190736..2525cf3 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -1,11 +1,10 @@
-%if 0%{?fedora}
%bcond_without itext
%bcond_without markdown
-%endif
+%bcond_without fop
Name: maven-doxia
Version: 1.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 0
Summary: Content generation framework
License: ASL 2.0
@@ -44,7 +43,9 @@ BuildRequires: mvn(org.apache.maven.doxia:doxia:pom:)
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
BuildRequires: mvn(org.apache.maven.doxia:doxia-test-docs)
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
+%if %{with fop}
BuildRequires: mvn(org.apache.xmlgraphics:fop)
+%endif
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations)
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
@@ -107,11 +108,13 @@ Summary: FML module for %{name}
%description module-fml
This package provides %{summary}.
+%if %{with fop}
%package module-fo
Summary: FO module for %{name}
%description module-fo
This package provides %{summary}.
+%endif
%if %{with itext}
%package module-itext
@@ -219,6 +222,9 @@ rm doxia-core/src/test/java/org/apache/maven/doxia/util/XmlValidatorTest.java
%if %{without markdown}
%pom_disable_module doxia-module-markdown doxia-modules
%endif
+%if %{without fop}
+%pom_disable_module doxia-module-fo doxia-modules
+%endif
%build
%mvn_build -s
@@ -237,7 +243,9 @@ rm doxia-core/src/test/java/org/apache/maven/doxia/util/XmlValidatorTest.java
%files module-confluence -f .mfiles-doxia-module-confluence
%files module-docbook-simple -f .mfiles-doxia-module-docbook-simple
%files module-fml -f .mfiles-doxia-module-fml
+%if %{with fop}
%files module-fo -f .mfiles-doxia-module-fo
+%endif
%if %{with itext}
%files module-itext -f .mfiles-doxia-module-itext
%endif
@@ -259,6 +267,9 @@ rm doxia-core/src/test/java/org/apache/maven/doxia/util/XmlValidatorTest.java
%changelog
+* Tue Feb 07 2017 Michael Simacek <msimacek@redhat.com> - 0:1.7-2
+- Add conditional for fop
+
* Mon May 02 2016 Michael Simacek <msimacek@redhat.com> - 0:1.7-1
- Update to upstream version 1.7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-19 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 14:55 [rpms/maven-doxia] epel10: Add conditional for fop Michael Simacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox