public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-LaTeX-ToUnicode] f43: Do not install ltx2unitxt(1) manual page because it is packaged in texlive-bibtexperllibs
@ 2026-06-23  9:33 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-23  9:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

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

            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 ab12942..0a57d2f 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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-23  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23  9:33 [rpms/perl-LaTeX-ToUnicode] f43: Do not install ltx2unitxt(1) manual page because it is packaged in texlive-bibtexperllibs 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox