public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia] epel10: Migrate from tomca5 to tomca6
Date: Mon, 19 Oct 2026 14:55:07 GMT [thread overview]
Message-ID: <179242170737.1.9803780404793265410.rpms-maven-doxia-0d5b8a084828@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/maven-doxia
Branch : epel10
Commit : 0d5b8a084828a8f776e5b7b0c98fb44a5466deb7
Author : Stanislav Ochotnicky <sochotnicky@redhat.com>
Date : 2010-12-17T13:47:27+01:00
Stats : +12/-19 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/maven-doxia/c/0d5b8a084828a8f776e5b7b0c98fb44a5466deb7?branch=epel10
Log:
Migrate from tomca5 to tomca6
- Versionless jars and javadocs
---
diff --git a/maven-doxia.spec b/maven-doxia.spec
index 2e3626c..113a85c 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -59,8 +59,6 @@ Patch3: %{name}-assert.patch
# will pick it up and try to instantiate
Patch5: %{name}-core-remove-plexus-component-annotation.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
BuildRequires: java >= 1:1.6.0
@@ -86,16 +84,14 @@ BuildRequires: maven-doxia-tools
BuildRequires: plexus-maven-plugin >= 0:1.2-2
BuildRequires: modello-maven-plugin >= 0:1.0-0.a8.3
BuildRequires: plexus-xmlrpc >= 0:1.0-0.b4.3
-BuildRequires: tomcat5-servlet-2.4-api
-BuildRequires: tomcat5
+BuildRequires: servlet25
BuildRequires: classworlds
BuildRequires: apache-commons-collections
BuildRequires: apache-commons-logging
-BuildRequires: jakarta-commons-validator
+BuildRequires: apache-commons-validator
BuildRequires: apache-commons-configuration
BuildRequires: junit
BuildRequires: oro
-#BuildRequires: plexus-container-default
BuildRequires: plexus-i18n
BuildRequires: plexus-utils >= 1.5.7
BuildRequires: plexus-velocity
@@ -164,8 +160,6 @@ mvn-jpp \
install javadoc:aggregate
%install
-rm -rf $RPM_BUILD_ROOT
-
# jars/poms
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
@@ -180,7 +174,7 @@ for targetdir in `find -type d -name target`; do
# Does the module have a jar?
if [ -f $targetdir/$modulename-%{version}.jar ]; then
cp -p $targetdir/$modulename-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}/$strippedmodulename-%{version}.jar
+ $RPM_BUILD_ROOT%{_javadir}/%{name}/$strippedmodulename.jar
fi
@@ -202,14 +196,9 @@ install -pm 644 doxia-modules/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-
install -d -m 0755 %{buildroot}/%{_datadir}/maven2/lib
ln -s %{_javadir}/maven-doxia/logging-api.jar $RPM_BUILD_ROOT/%{_datadir}/maven2/lib/maven-doxia_logging-api.jar
-# Install symlinks
-(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; \
- do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
-
# javadoc (all javadocs are contained in the main module docs dir used below)
-install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}-%{version}/
-ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
+install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%post
%update_maven_depmap
@@ -217,8 +206,10 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
%postun
%update_maven_depmap
-%clean
-rm -rf $RPM_BUILD_ROOT
+%pre javadoc
+# workaround for rpm bug, can be removed in F-17
+[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
+rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%files
%defattr(-,root,root,-)
@@ -232,7 +223,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_javadocdir}/*
%changelog
-* Wed Sep 22 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.1.3-2
+* Fri Dec 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.1.3-2
+- Migrate from tomca5 to tomca6
+- Versionless jars and javadocs
- Remove old skip-plugin patch
- Replace add-default-role-hint patch with remove-plexus-component patch
- Rename few jakarta BRs/Rs to apache names
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=179242170737.1.9803780404793265410.rpms-maven-doxia-0d5b8a084828@fedoraproject.org \
--to=sochotnicky@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