public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/biber] epel9: Remove a bogus dependency on texlive-biblatex, provide versioned perl(Biber)
Date: Tue, 22 Sep 2026 08:49:11 GMT	[thread overview]
Message-ID: <179006695117.1.2544887902242653235.rpms-biber-44068fd60a97@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/biber
            Branch : epel9
            Commit : 44068fd60a9750d8dfc828094075c71cf84d4eab
            Author : Petr Písař <ppisar@redhat.com>
            Date   : 2026-09-22T10:29:01+02:00
            Stats  : +16/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/biber/c/44068fd60a9750d8dfc828094075c71cf84d4eab?branch=epel9

            Log:
            Remove a bogus dependency on texlive-biblatex, provide versioned perl(Biber)

Moreover, texlive-biblatex in EPEL 9 has different version format.

---
diff --git a/biber.spec b/biber.spec
index 7744901..babbc29 100644
--- a/biber.spec
+++ b/biber.spec
@@ -117,16 +117,17 @@ Requires:       perl(Mozilla::CA) >= 20141217
 Requires:       perl(PerlIO::utf8_strict)
 Requires:       perl(Text::BibTeX) >= 0.88
 Requires:       perl(Text::Roman)
-Requires:       perl(Unicode::Collate::Locale)
+# Unicode::Collate::Locale version from Unicode::Collate in Build.PL
+Requires:       perl(Unicode::Collate::Locale) >= 1.29
 Requires:       perl(XML::LibXSLT)
-Requires:       texlive-biblatex >= 7:svn42680
-# Biber need a minimum biblatex (src: doc/biber.tex "Compatibility Matrix")
+# Biber does not use biblatex, but it expects a compatible biblatex file format
+# (see doc/biber.tex "Compatibility Matrix"):
 #     biber | texlive-biblatex
 #     ------+-----------------
 #     1.8   | 2.8a
 #     2.1   | 3.0
 #     2.6   | 3.5, 3.6
-#     2.7   | 3.7       (#1401482)
+#     2.7   | 3.7       (bug #1401482)
 #     2.8   | 3.8
 #     2.9   | 3.9
 #     2.10  | 3.10
@@ -134,10 +135,17 @@ Requires:       texlive-biblatex >= 7:svn42680
 #     2.12  | 3.12
 #     2.13  | 3.13
 #     2.14  | 3.14
-# (biblatex also has minimum biber requirements)
+# (biblatex also has minimum biber requirements). Provided that texlive-biblatex
+# package (e.g. 2020) does not RPM-export biblatex's version (e.g. 3.14) and
+# biblatex reached 3.14 version many years ago, it does not make sense to keep
+# the dependency from biber on texlive-biblatex >= 7:svn42680 here.
+# Version at least the main module
+Provides:       perl(Biber) = %{version}
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Text::BibTeX|Unicode::Collate::Locale)\\)$
+%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\(Biber\\)$
 
-# filter autogenerated runtime dep, instead use constraint above
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::BibTeX\\)$
 
 
 %description
@@ -180,6 +188,7 @@ chmod u+w %{buildroot}%{_bindir}/*
 %changelog
 * Tue Sep 22 2026 Petr Pisar <ppisar@redhat.com> - 2.14-6
 - Adapt tests to Unicode-Collate-1.29 (bug #2460458)
+- Remove a bogus dependency on texlive-biblatex, provide versioned perl(Biber)
 
 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

                 reply	other threads:[~2026-09-22  8:49 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=179006695117.1.2544887902242653235.rpms-biber-44068fd60a97@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