public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/biber] epel10.2: Use relative symbolic links in the tests
Date: Tue, 18 Aug 2026 11:40:29 GMT [thread overview]
Message-ID: <178705322981.1.14552032791525014093.rpms-biber-7e0a1ebed7ec@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/biber
Branch : epel10.2
Commit : 7e0a1ebed7ec6b8005be53774ccdbe2746992ca8
Author : Petr Písař <ppisar@redhat.com>
Date : 2022-05-25T13:23:44+02:00
Stats : +9/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/biber/c/7e0a1ebed7ec6b8005be53774ccdbe2746992ca8?branch=epel10.2
Log:
Use relative symbolic links in the tests
---
diff --git a/biber.spec b/biber.spec
index 3c82dcb..8c9a536 100644
--- a/biber.spec
+++ b/biber.spec
@@ -210,15 +210,21 @@ perl Build.PL installdirs=vendor
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
mkdir -p %{buildroot}%{_libexecdir}/%{name}/data/schemata
-ln -s %{perl_vendorlib}/Biber/biber-tool.conf \
+ln -s "$(realpath --relative-to \
+ %{buildroot}%{_libexecdir}/%{name}/data \
+ %{buildroot}%{perl_vendorlib}/Biber/biber-tool.conf)" \
%{buildroot}%{_libexecdir}/%{name}/data
for F in {bcf,config}.{rnc,rng}; do
+ # Keep absolute symlinls. Relative ones break the tests.
ln -s %{perl_vendorlib}/Biber/"$F" \
%{buildroot}%{_libexecdir}/%{name}/data/schemata
done
%if %{with biber_enables_extra_test}
mkdir %{buildroot}%{_libexecdir}/%{name}/bin
-ln -s %{_bindir}/%{name} %{buildroot}%{_libexecdir}/%{name}/bin
+ln -s "$(realpath --relative-to \
+ %{buildroot}%{_libexecdir}/%{name}/bin \
+ %{buildroot}%{_bindir}/%{name})" \
+ %{buildroot}%{_libexecdir}/%{name}/bin
%endif
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/usr/bin/bash
@@ -261,6 +267,7 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print
%changelog
* Wed May 25 2022 Petr Pisar <ppisar@redhat.com> - 2.17-3
- Adapt to Perl 5.36
+- Use relative symbolic links in the tests
* Mon Jan 31 2022 Petr Pisar <ppisar@redhat.com> - 2.17-2
- Provide bcfversion for textlive-biblatex to depend on (bug #2048536)
reply other threads:[~2026-08-18 11:40 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=178705322981.1.14552032791525014093.rpms-biber-7e0a1ebed7ec@fedoraproject.org \
--to=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