From 405c36f4ed504252486837d5a1ceb2f6e6cd2ee7 Mon Sep 17 00:00:00 2001 From: Captain Date: Tue, 19 May 2020 15:17:11 +0800 Subject: [PATCH] fix bug when remove texlive subpackages with --noautoremove option --- generate-fmtutilcnf | 2 +- texlive-base.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generate-fmtutilcnf b/generate-fmtutilcnf index 499be44..88b7d70 100755 --- a/generate-fmtutilcnf +++ b/generate-fmtutilcnf @@ -16,7 +16,7 @@ rm -f $web2cdir/fmtutil.cnf.rpmtmp echo "# Generated by $0 on $(date)" > $web2cdir/fmtutil.cnf.rpmtmp cat $web2cdir/fmtutil-hdr.cnf \ - $(ls $texdir/fmtutil.cnf.d/*) \ + $texdir/fmtutil.cnf.d/* \ >> $web2cdir/fmtutil.cnf.rpmtmp mv $web2cdir/fmtutil.cnf.rpmtmp $web2cdir/fmtutil.cnf diff --git a/texlive-base.spec b/texlive-base.spec index 3211cf9..6331a26 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -2378,7 +2378,7 @@ Obsoletes: texlive-kpathsea-bin < 7:20170520 Provides: tex-kpathsea-doc = %{epoch}:20180414-%{release} Provides: texlive-kpathsea-doc = %{epoch}:20180414-%{release} Obsoletes: texlive-kpathsea-doc < 7:20170520 -Requires: coreutils, grep texlive-base +Requires: coreutils grep texlive-base texlive-tetex Provides: tex(fmtutil.cnf) = %{epoch}:20180414-%{release} Provides: tex(mktex.cnf) = %{epoch}:20180414-%{release} Provides: tex(texmf.cnf) = %{epoch}:20180414-%{release} -- Gitee