compress texlive.tlpdb

This commit is contained in:
Than Ngo 2023-06-20 14:28:12 +02:00
parent 8a2e620146
commit 8d392f49a3
3 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@ -691,3 +691,4 @@
/zref.doc.tar.xz
/zref.tar.xz
/texlive.tlpdb
/texlive.tlpdb.xz

View File

@ -574,7 +574,6 @@ SHA512 (texlive-scripts.doc.tar.xz) = 8264fa6b3d3c26dda9dab6538bd5492373ff7597e5
SHA512 (texlive-scripts-extra.doc.tar.xz) = 22cf59bf4dafc7ad9425086bc0aaedb2bf5f7d8aa6ea9c65abde2d523be37665b9c9bee4acb399857eae03613e7241ca1d6099f43cab77a95c10eced8813ad80
SHA512 (texlive-scripts-extra.tar.xz) = 46ac37826d3c60de6c9260bf83d6275d49a35cbde88fb03481a050f92e87b698e9a94b2e520a74edc0417419f5a2dee53000a529b9c81ea6f6244a83480e56e7
SHA512 (texlive-scripts.tar.xz) = ff1e1136c59c404196543ab64e3363e511879421a30cfe9fe920b4ea38ad38eb303f4f17b015b0948c68c6122794f11e9b34a78484c1b2ffbe8163c035670072
SHA512 (texlive.tlpdb) = 39b40840f9a48fad50514f2d950a265e4737dfae6848a96a7456c2f708cce8d5b423072fab1d57f5f86c1a9bafc97e7e624dc2e7ba2ae319b14919eef1b3316e
SHA512 (tex.tar.xz) = 028cf62dc7bd7f62acdd005c1121b4fcd55f9130db61d3bfd782cdae22e2e51581cd66a43a827ce76f6e4fed09f2050ee81c13594f6df64817c3a48ca3d1d088
SHA512 (textcase.doc.tar.xz) = e2a9c7cb58109336c889ee7f87a3926cc885453c0c0472f70ca5a303cb203dc46f5c1330fe90282b0f9f790b02ca139931a944cfd9016c65aa8c8075460b4a1b
SHA512 (textcase.tar.xz) = 0086fd3c6601f03d730f195915f1ac9902bb2e8555690395719da58643a6a2f9f5ca28d05f79941d8afccf517564301336e017341da6a9ceb19755db8e17db65
@ -689,3 +688,4 @@ SHA512 (zapfchan.tar.xz) = a5a8a672e1753cd39b44dfb43b9b83673f7bd20dfb4e4640630ba
SHA512 (zapfding.tar.xz) = 3e0503c2d4e30c8d727caa1d9438d4c6b12c3a15729eae65d5c4a8dd9ab0d0c8eee2f63138e9d267f4ae98ef7607388888f7acd78e189a5c322bda22827166fe
SHA512 (zref.doc.tar.xz) = f65ebb760d1cac9dbc1c6ed4e48a9015c2cd2c5cbeb28e4776802ea84ac6b08c5302eb2126619e93f5bdf7ca76b4b8cdfad3ee9369aea364f680c1deda7bf396
SHA512 (zref.tar.xz) = 4516c2b785e26dac293dd028c314bdaf75d195c454cd2acd54aeaf6a298b0494031a86926abc670d27bed1ce8622a9607ea71d2b4d268bacdff26b8937c67dfa
SHA512 (texlive.tlpdb.xz) = 7df28210b3f0c1f891046af34d52710b9bf1d11ef8881ee6e1a6d84c39845f74738cd5c5d8987fdf69d05752ce901ffa0569d46ea52acf033981679d86a4e350

View File

@ -66,7 +66,8 @@ Requires: tex-kpathsea
# https://ctan.math.illinois.edu/systems/texlive/Source/%%{source_name}.tar.xz
Source0: texlive-%{source_date}-source-clean.tar.xz
Source1: macros.texlive
Source2: http://tug.ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb
# found here: https://tug.ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Source2: texlive.tlpdb.xz
Source3: texlive-licenses.tar.xz
Source4: generate-fmtutilcnf
Source5: gnu-freefont.metainfo.xml
@ -25327,7 +25328,7 @@ mkdir -p %{buildroot}%{_rpmmacrodir}
cp -a %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.texlive
# install texlive.tlpdb
cp %{SOURCE2} %{buildroot}%{_texdir}
xz --decompress --stdout > %{SOURCE2} %{buildroot}%{_texdir}/texlive.tlpdb
# make a symlink so texdoc is happy
pushd %{buildroot}%{_texdir}/tlpkg
ln -s ../texlive.tlpdb .