From 2f6ef55324822456d7b0a7384bcd6408a452becd Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 30 Dec 2024 18:06:35 +0100 Subject: [PATCH] Explicitly declare javadoc subpackage [skip changelog] --- apache-commons-logging.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index e64c7d7..81df12e 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -38,7 +38,11 @@ commons-logging abstraction is meant to minimize the differences between the two, and to allow a developer to not tie himself to a particular logging implementation. -%{?javadoc_package} +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +API documentation for %{name}. %prep %autosetup -p1 -C @@ -78,5 +82,7 @@ rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12 %license LICENSE.txt NOTICE.txt %doc PROPOSAL.html RELEASE-NOTES.txt +%files javadoc -f .mfiles-javadoc + %changelog %autochangelog