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-sitetools] epel10: Add conditionals for fop and markdown
Date: Sat, 14 Nov 2026 17:19:16 GMT [thread overview]
Message-ID: <179467675669.1.11364711035944050947.rpms-maven-doxia-sitetools-6303ba26be04@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/maven-doxia-sitetools
Branch : epel10
Commit : 6303ba26be04ce27c932293e42b9a5650ae2e6d2
Author : Michael Simacek <msimacek@redhat.com>
Date : 2017-02-07T13:35:14+01:00
Stats : +19/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/maven-doxia-sitetools/c/6303ba26be04ce27c932293e42b9a5650ae2e6d2?branch=epel10
Log:
Add conditionals for fop and markdown
---
diff --git a/maven-doxia-sitetools.spec b/maven-doxia-sitetools.spec
index 3ebb8c9..499b33a 100644
--- a/maven-doxia-sitetools.spec
+++ b/maven-doxia-sitetools.spec
@@ -1,9 +1,12 @@
+%bcond_without markdown
+%bcond_without fop
+
%global parent maven-doxia
%global subproj sitetools
Name: %{parent}-%{subproj}
Version: 1.7.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Doxia content generation framework
License: ASL 2.0
URL: http://maven.apache.org/doxia/
@@ -22,8 +25,12 @@ BuildRequires: mvn(org.apache.maven.doxia:doxia-core)
BuildRequires: mvn(org.apache.maven.doxia:doxia-logging-api)
BuildRequires: mvn(org.apache.maven.doxia:doxia-module-apt)
BuildRequires: mvn(org.apache.maven.doxia:doxia-module-fml)
+%if %{with fop}
BuildRequires: mvn(org.apache.maven.doxia:doxia-module-fo)
+%endif
+%if %{with markdown}
BuildRequires: mvn(org.apache.maven.doxia:doxia-module-markdown)
+%endif
BuildRequires: mvn(org.apache.maven.doxia:doxia-module-xdoc)
BuildRequires: mvn(org.apache.maven.doxia:doxia-module-xhtml)
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
@@ -47,9 +54,6 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-velocity)
BuildRequires: mvn(xalan:xalan)
BuildRequires: mvn(xml-apis:xml-apis)
-# missing from xmvn-builddep
-BuildRequires: mvn(org.apache.maven.doxia:doxia-module-markdown)
-
Provides: maven-doxia-tools = %{version}-%{release}
Obsoletes: maven-doxia-tools < 1.7
@@ -93,6 +97,14 @@ API documentation for %{name}.
rm -rf $(find -type d -name itext)
%pom_remove_dep -r :doxia-module-itext
+%if %{without markdown}
+%pom_remove_dep -r :doxia-module-markdown
+%endif
+%if %{without fop}
+%pom_remove_dep -r :doxia-module-fo
+rm -r doxia-doc-renderer/src/main/java/org/apache/maven/doxia/docrenderer/pdf/fo
+%endif
+
%mvn_alias :doxia-integration-tools org.apache.maven.shared:maven-doxia-tools
%build
@@ -109,6 +121,9 @@ rm -rf $(find -type d -name itext)
%files javadoc -f .mfiles-javadoc
%changelog
+* Tue Feb 07 2017 Michael Simacek <msimacek@redhat.com> - 1.7.4-3
+- Add conditionals for fop and markdown
+
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 1.7.4-2
- Remove dependency on velocity-tools
reply other threads:[~2026-11-14 17:19 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=179467675669.1.11364711035944050947.rpms-maven-doxia-sitetools-6303ba26be04@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