public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Simacek <msimacek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia] epel10: Add conditional for fop
Date: Mon, 19 Oct 2026 14:55:32 GMT [thread overview]
Message-ID: <179242173227.1.4600521818386376334.rpms-maven-doxia-f2f4bbf196db@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-19 14:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179242173227.1.4600521818386376334.rpms-maven-doxia-f2f4bbf196db@fedoraproject.org \
--to=msimacek@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox