add Provides: tetex-dvips, add symlink to /usr/share/texmf for legacy packages

This commit is contained in:
Tom Callaway 2018-06-04 11:37:37 -04:00
parent 7f51cf6393
commit dc5f88fd20

View File

@ -17,7 +17,7 @@
Name: %{shortname}-base
Version: %{source_date}
Release: 33%{?dist}
Release: 34%{?dist}
Epoch: 7
Summary: TeX formatting system
# The only files in the base package are directories, cache, and license texts
@ -1833,6 +1833,7 @@ Requires: texlive-kpathsea
dvipos package.
%package -n %{shortname}-dvips
Provides: tetex-dvips = %{epoch}:%{source_date}-%{release}
Provides: tex-dvips = %{epoch}:%{source_date}-%{release}
Provides: texlive-dvips-bin = %{epoch}:%{source_date}-%{release}
Provides: tex-dvips-bin = %{epoch}:%{source_date}-%{release}
@ -6095,6 +6096,12 @@ pushd %{buildroot}%{_texdir}/texmf-config/web2c
ln -s ../../texmf-dist/web2c/updmap.cfg updmap.cfg
popd
# make compatibility symlink
pushd %{buildroot}%{_datadir}
mkdir -p texlive/texmf-local/texmf-compat
ln -s texlive/texmf-local/texmf-compat texmf
popd
# make opentype fontdir symlinks
# NOTE: fontawesome, stix, oldstandard are a conflict, so we just add Requires for the
# corresponding system font packages for them.
@ -6923,6 +6930,8 @@ fi
%dir %{_texdir}/texmf-dist/web2c
%dir %{_texmf_var}
%{_texdir}/texmf-var
%{_texdir}/texmf-local/
%{_datadir}/texmf/
%files -n %{shortname}-a2ping
%license gpl.txt
@ -8739,6 +8748,10 @@ fi
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
%changelog
* Mon Jun 4 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-34
- add Provides: tetex-dvips
- add symlink to /usr/share/texmf for legacy packages
* Fri Jun 1 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-33
- add Provides: xmltex