feat: add perl-BibTeX-Parser and perl-LaTeX-ToUnicode components - #18372
Draft
Autumn Nash (WithEnoughCoffee) wants to merge 1 commit into
Draft
feat: add perl-BibTeX-Parser and perl-LaTeX-ToUnicode components#18372Autumn Nash (WithEnoughCoffee) wants to merge 1 commit into
Autumn Nash (WithEnoughCoffee) wants to merge 1 commit into
Conversation
Copilot started reviewing on behalf of
Autumn Nash (WithEnoughCoffee)
August 10, 2026 19:00
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds two Fedora Perl components to satisfy missing TeX Live runtime dependencies.
Changes:
- Imports
perl-BibTeX-Parserandperl-LaTeX-ToUnicode. - Adds generated specs, patches, sources, and component locks.
- Preserves
%checkand test subpackages.
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
base/comps/components.toml |
Registers both components alphabetically. |
locks/perl-BibTeX-Parser.lock |
Pins the BibTeX parser import. |
locks/perl-LaTeX-ToUnicode.lock |
Pins the LaTeX converter import. |
specs/p/perl-BibTeX-Parser/sources |
Records the source checksum. |
specs/p/perl-BibTeX-Parser/perl-BibTeX-Parser.spec |
Packages the parser and its tests. |
specs/p/perl-BibTeX-Parser/BibTeX-Parser-1.03-Remove-a-debugging-output-from-BibTeX-Parser-Entry-t.patch |
Removes stray debugging output. |
specs/p/perl-LaTeX-ToUnicode/sources |
Records the source checksum. |
specs/p/perl-LaTeX-ToUnicode/perl-LaTeX-ToUnicode.spec |
Packages the converter and its tests. |
specs/p/perl-LaTeX-ToUnicode/LaTeX-ToUnicode-0.53-Do-not-add-bogus-paths-to-INC.patch |
Removes unsuitable module search paths. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Fixes missing perl(BibTeX::Parser)/perl(BibTeX::Parser::Author) deps needed by texlive-bibtexperllibs and texlive-crossrefware (repoclosure, 2026-04-16 snapshot). perl-BibTeX-Parser also requires perl(LaTeX::ToUnicode), which was missing too, so it's added as well. Both imported from Fedora, built successfully with %check passing.
Autumn Nash (WithEnoughCoffee)
force-pushed
the
fix/perl-bibtex-parser-missing-dep
branch
from
August 10, 2026 19:28
3b71a2e to
68a212a
Compare
Copilot started reviewing on behalf of
Autumn Nash (WithEnoughCoffee)
August 10, 2026 19:29
View session
Contributor
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
repoclosure on the 2026-04-16 x86_64 snapshot reports missing
perl(BibTeX::Parser)/perl(BibTeX::Parser::Author), required bytexlive-bibtexperllibsandtexlive-crossrefware. One of 19 items in Bucket 1 of the repoclosure analysis (parent bug #18865).Root cause
texlive-bibtexperllibsexplicitly requiresperl(BibTeX::Parser). This is a files-less metapackage (# Intentionally no files here. Metapackage to pull in perl(LaTeX::ToUnicode) and perl(BibTeX::Parser)).texlive-crossrefware, which pulls the dependency in transitively: RPM's perl dependency auto-scanner picks it up from the bundled.plscripts (bibdoiadd.pl,bibzbladd.pl,ltx2crossrefxml.pl) thatuse BibTeX::Parser.Fix
Import
perl-BibTeX-Parserfrom Fedora (provides both symbols). It requiresperl(LaTeX::ToUnicode), also missing, so that's imported too. Both are plain upstream imports (no overlays/forking), pinned to the same Fedora 43 snapshot the rest of the distro uses.Validation
%checkpassing (BibTeX-Parser: 478 tests; LaTeX-ToUnicode: 103 tests).perl -MBibTeX::Parser,perl -MBibTeX::Parser::Author).azldev comp update/render --check-onlyshow no drift.Proof of fix —
rpm -qpon the built RPMs:Confirms the exact symbols repoclosure flagged (
perl(BibTeX::Parser),perl(BibTeX::Parser::Author)) are now provided, andperl-BibTeX-Parser's own>= 0.11floor onperl(LaTeX::ToUnicode)is satisfied by the newly-addedperl-LaTeX-ToUnicode(= 1.93).Notes
perl-BibTeX-Parserandperl-LaTeX-ToUnicodeare released in lockstep upstream (same author, synced version bumps:1.05/0.55→1.92→1.93). The RPM floor is relaxed to>= 0.11per Fedora's own spec comment, so automated version bumps of one without the other won't be caught by dependency resolution — worth bumping them together.perl-LaTeX-ToUnicodegained a guard in 1.94 (install_ltx2unitxt_manual) to avoid aman1/ltx2unitxt.1conflict withtexlive-bibtexperllibs. At the pinned 1.93 the script ships no POD, so no man page is generated and there's no conflict today; confirmed viarpm -qp --listthat only/usr/bin/ltx2unitxtandman3/*are packaged. This resolves itself for free when the distro snapshot advances to 1.94+.This is still a working draft.