public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: dsoumis <dsoumis@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/tomcat] rawhide:  Fix broken relative symlinks caused by missing buildroot prefix in ln -sr targets
Date: Mon, 20 Jul 2026 08:56:14 GMT	[thread overview]
Message-ID: <178453777406.1.3519252998645004418.rpms-tomcat-c864b5c4695b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/tomcat
Branch : rawhide
Commit : c864b5c4695bbe8bc9fb4d67dbf7eca2b7ea9fd5
Author : dsoumis <dsoumis@redhat.com>
Date   : 2026-07-20T11:55:41+03:00
Stats  : +11/-11 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/tomcat/c/c864b5c4695bbe8bc9fb4d67dbf7eca2b7ea9fd5?branch=rawhide

Log:
Fix broken relative symlinks caused by missing buildroot prefix in ln -sr targets

---
diff --git a/tomcat.spec b/tomcat.spec
index ca79584..391b487 100644
--- a/tomcat.spec
+++ b/tomcat.spec
@@ -336,17 +336,17 @@ pushd output/build
     %{__cp} -ap webapps/* ${RPM_BUILD_ROOT}%{appdir}
 popd
 
-ln -sr $(build-classpath ecj/ecj) ${RPM_BUILD_ROOT}%{libdir}/ecj-x.jar
-ln -sr $(build-classpath tomcat-jakartaee-migration/jakartaee-migration) ${RPM_BUILD_ROOT}%{libdir}/jakartaee-migration-x.jar
-ln -sr $(build-classpath apache-commons-compress/commons-compress) ${RPM_BUILD_ROOT}%{libdir}/commons-compress.jar
-ln -sr $(build-classpath apache-commons-io/commons-io) ${RPM_BUILD_ROOT}%{libdir}/commons-io.jar
-ln -sr $(build-classpath bcel/bcel) ${RPM_BUILD_ROOT}%{libdir}/bcel.jar
-ln -sr $(build-classpath apache-commons-lang3/commons-lang3) ${RPM_BUILD_ROOT}%{libdir}/commons-lang3.jar
-
-ln -sr %{confdir} ${RPM_BUILD_ROOT}%{baseconfdir}
-ln -sr %{cachedir} ${RPM_BUILD_ROOT}%{workdir}
-ln -sr %{logdir} ${RPM_BUILD_ROOT}%{baselogdir}
-ln -sr %{libdir} ${RPM_BUILD_ROOT}%{homedir}/lib
+ln -sr ${RPM_BUILD_ROOT}$(build-classpath ecj/ecj) ${RPM_BUILD_ROOT}%{libdir}/ecj-x.jar
+ln -sr ${RPM_BUILD_ROOT}$(build-classpath tomcat-jakartaee-migration/jakartaee-migration) ${RPM_BUILD_ROOT}%{libdir}/jakartaee-migration-x.jar
+ln -sr ${RPM_BUILD_ROOT}$(build-classpath apache-commons-compress/commons-compress) ${RPM_BUILD_ROOT}%{libdir}/commons-compress.jar
+ln -sr ${RPM_BUILD_ROOT}$(build-classpath apache-commons-io/commons-io) ${RPM_BUILD_ROOT}%{libdir}/commons-io.jar
+ln -sr ${RPM_BUILD_ROOT}$(build-classpath bcel/bcel) ${RPM_BUILD_ROOT}%{libdir}/bcel.jar
+ln -sr ${RPM_BUILD_ROOT}$(build-classpath apache-commons-lang3/commons-lang3) ${RPM_BUILD_ROOT}%{libdir}/commons-lang3.jar
+
+ln -sr ${RPM_BUILD_ROOT}%{confdir} ${RPM_BUILD_ROOT}%{baseconfdir}
+ln -sr ${RPM_BUILD_ROOT}%{cachedir} ${RPM_BUILD_ROOT}%{workdir}
+ln -sr ${RPM_BUILD_ROOT}%{logdir} ${RPM_BUILD_ROOT}%{baselogdir}
+ln -sr ${RPM_BUILD_ROOT}%{libdir} ${RPM_BUILD_ROOT}%{homedir}/lib
 
 %post
 # install but don't activate

                 reply	other threads:[~2026-07-20  8:56 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=178453777406.1.3519252998645004418.rpms-tomcat-c864b5c4695b@fedoraproject.org \
    --to=dsoumis@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