public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-LaTeX-ToUnicode] rawhide: Do not install ltx2unitxt(1) manual page because it is packaged in texlive-bibtexperllibs
Date: Tue, 23 Jun 2026 09:32:18 GMT	[thread overview]
Message-ID: <178220713842.1.6721124630555032025.rpms-perl-LaTeX-ToUnicode-37873b930c86@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-LaTeX-ToUnicode
            Branch : rawhide
            Commit : 37873b930c86354a9cb502a7a377e941e46347bf
            Author : Petr Písař <ppisar@redhat.com>
            Date   : 2026-06-23T11:30:41+02:00
            Stats  : +16/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-LaTeX-ToUnicode/c/37873b930c86354a9cb502a7a377e941e46347bf?branch=rawhide

            Log:
            Do not install ltx2unitxt(1) manual page because it is packaged in texlive-bibtexperllibs

It seems that upstream is going to move the manual in the future from
texlive-bibtexperllibs to here.

---
diff --git a/perl-LaTeX-ToUnicode.spec b/perl-LaTeX-ToUnicode.spec
index e3464f4..3e33998 100644
--- a/perl-LaTeX-ToUnicode.spec
+++ b/perl-LaTeX-ToUnicode.spec
@@ -1,6 +1,9 @@
+# ltx2unitxt(1) manual page conflicts with texlive-bibtexperllibs
+%global install_ltx2unitxt_manual 0
+
 Name:           perl-LaTeX-ToUnicode
 Version:        1.94
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Convert LaTeX commands to Unicode
 # latex-tounicode.pdf is concatenated ltx2unitxt.pdf and
 #                     lib/LaTeX/ToUnicode.pm POD.
@@ -14,7 +17,9 @@ Source0:        https://cpan.metacpan.org/authors/id/B/BO/BORISV/LaTeX-ToUnicode
 Patch0:         LaTeX-ToUnicode-0.53-Do-not-add-bogus-paths-to-INC.patch
 BuildArch:      noarch
 BuildRequires:  coreutils
+%if %{install_ltx2unitxt_manual}
 BuildRequires:  help2man
+%endif
 BuildRequires:  make
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
@@ -59,13 +64,17 @@ done
 %build
 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
 %{make_build}
+%if %{install_ltx2unitxt_manual}
 PERL5LIB=lib %{make_build} -f Makefile.TDS ltx2unitxt.1
+%endif
 
 %install
 %{make_install}
 %{_fixperms} %{buildroot}/*
+%if %{install_ltx2unitxt_manual}
 # Install regenerated documentation
 install -m 0644 -D -t %{buildroot}/%{_mandir}/man1 ltx2unitxt.1
+%endif
 # Install tests
 mkdir -p %{buildroot}%{_libexecdir}/%{name}
 cp -a t %{buildroot}%{_libexecdir}/%{name}
@@ -86,7 +95,9 @@ make test
 %{perl_vendorlib}/LaTeX/ToUnicode
 %{perl_vendorlib}/LaTeX/ToUnicode.pm
 %{_bindir}/ltx2unitxt
+%if %{install_ltx2unitxt_manual}
 %{_mandir}/man1/ltx2unitxt.*
+%endif
 %{_mandir}/man3/LaTeX::ToUnicode.*
 %{_mandir}/man3/LaTeX::ToUnicode::*
 
@@ -94,6 +105,10 @@ make test
 %{_libexecdir}/%{name}
 
 %changelog
+* Tue Jun 23 2026 Petr Pisar <ppisar@redhat.com> - 1.94-2
+- Do not install ltx2unitxt(1) manual page because it is packaged in
+  texlive-bibtexperllibs
+
 * Tue Jun 23 2026 Petr Pisar <ppisar@redhat.com> - 1.94-1
 - 1.94 bump
 

                 reply	other threads:[~2026-06-23  9:32 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=178220713842.1.6721124630555032025.rpms-perl-LaTeX-ToUnicode-37873b930c86@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