public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mikolaj Izdebski <mizdebsk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia] epel10: Conditionally disable itext module
Date: Mon, 19 Oct 2026 14:55:16 GMT [thread overview]
Message-ID: <179242171698.1.15543042728725899077.rpms-maven-doxia-b9a2c01c560e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/maven-doxia
Branch : epel10
Commit : b9a2c01c560ec044958bb1df15a044471b8c6af9
Author : Mikolaj Izdebski <mizdebsk@redhat.com>
Date : 2013-04-08T11:09:14+02:00
Stats : +19/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/maven-doxia/c/b9a2c01c560ec044958bb1df15a044471b8c6af9?branch=epel10
Log:
Conditionally disable itext module
---
diff --git a/maven-doxia.spec b/maven-doxia.spec
index 6396f42..ccd7a75 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -28,9 +28,13 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+%if 0%{?fedora}
+%bcond_without itext
+%endif
+
Name: maven-doxia
Version: 1.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 0
Summary: Content generation framework
License: ASL 2.0
@@ -51,14 +55,12 @@ Patch1: 0002-doxia-core-remove-plexus-component-annotation.patch
# http://jira.codehaus.org/browse/DOXIA-53
Patch3: 0004-Fix-itext-dependency.patch
-
BuildArch: noarch
BuildRequires: java >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: ant
BuildRequires: ant-nodeps
-BuildRequires: itext
BuildRequires: plexus-cli
BuildRequires: maven-local
BuildRequires: maven-assembly-plugin
@@ -99,6 +101,9 @@ BuildRequires: avalon-framework
BuildRequires: geronimo-parent-poms
BuildRequires: geronimo-jms
BuildRequires: javamail
+%if %{with itext}
+BuildRequires: itext
+%endif
Obsoletes: maven-doxia-book < %{epoch}:%{version}-%{release}
Obsoletes: maven-doxia-maven-plugin < %{epoch}:%{version}-%{release}
@@ -154,11 +159,13 @@ Summary: FO module for %{name}
%description module-fo
This package provides %{summary}.
+%if %{with itext}
%package module-itext
Summary: iText module for %{name}
%description module-itext
This package provides %{summary}.
+%endif
%package module-latex
Summary: Latex module for %{name}
@@ -231,7 +238,10 @@ API documentation for %{name}.
"<useJava5>true</useJava5>" doxia-modules/doxia-module-fml/pom.xml
# markdown module requires older version (1.0.2) of the pegdown library
-%pom_disable_module doxia-module-markdown doxia-modules/pom.xml
+%pom_disable_module doxia-module-markdown doxia-modules
+%if %{without itext}
+%pom_disable_module doxia-module-itext doxia-modules
+%endif
%build
# tests disabled because some use old plexus-container and don't work
@@ -252,7 +262,9 @@ API documentation for %{name}.
%files module-docbook-simple -f .mfiles-doxia-module-docbook-simple
%files module-fml -f .mfiles-doxia-module-fml
%files module-fo -f .mfiles-doxia-module-fo
+%if %{with itext}
%files module-itext -f .mfiles-doxia-module-itext
+%endif
%files module-latex -f .mfiles-doxia-module-latex
%files module-rtf -f .mfiles-doxia-module-rtf
%files modules -f .mfiles-doxia-modules
@@ -267,6 +279,9 @@ API documentation for %{name}.
%changelog
+* Mon Apr 8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.3-2
+- Conditionally disable itext module
+
* Tue Mar 19 2013 Michal Srb <msrb@redhat.com> - 0:1.3-1
- Update to upstream version 1.3
- Remove temporary dependencies on subpackages
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=179242171698.1.15543042728725899077.rpms-maven-doxia-b9a2c01c560e@fedoraproject.org \
--to=mizdebsk@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