Improve obsoletion automatism

This commit is contained in:
Jindrich Novy 2013-10-25 15:23:08 +02:00
parent d376d0b4cb
commit 3f5e6b6114
9 changed files with 8980 additions and 5954 deletions

6
.gitignore vendored
View File

@ -2354,6 +2354,8 @@
/harvard.doc.tar.xz
/harvard.source.tar.xz
/harvard.tar.xz
/harveyballs.doc.tar.xz
/harveyballs.tar.xz
/harvmac.doc.tar.xz
/harvmac.tar.xz
/har2nat.doc.tar.xz
@ -4050,6 +4052,8 @@
/philosophersimprint.tar.xz
/phonetic.doc.tar.xz
/phonetic.tar.xz
/phonrule.doc.tar.xz
/phonrule.tar.xz
/photo.doc.tar.xz
/photo.source.tar.xz
/photo.tar.xz
@ -5276,7 +5280,7 @@
/texlive-scripts.tar.xz
/texlive-sr.doc.tar.xz
/texlive-zh-cn.doc.tar.xz
/texlive-20131019_r31948-source.tar.xz
/texlive-20131021_r31961-source.tar.xz
/texloganalyser.doc.tar.xz
/texloganalyser.i386-linux.tar.xz
/texloganalyser.tar.xz

View File

@ -9,15 +9,6 @@ gcc tl2rpm.c -o tl2rpm -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fst
rm -f _mkdirs.spec _unpack.spec _sources.spec _remove.spec _packages.spec _font.spec _files.spec _dirs.spec
touch _mkdirs.spec
./tl2rpm
if [ -d 2011 ]; then
grep ^name texlive.tlpdb | grep -v i386 | sed -s s/name\ // | sort > /tmp/tl2012
grep ^name 2011/texlive.tlpdb | grep -v i386 | sed -s s/name\ // | sort > /tmp/tl2011
diff /tmp/tl2011 /tmp/tl2012 | grep '<' | sed -s 's/^< /Obsoletes: texlive-/' | sed -s 's/$/ < 3:%{tl_version}/' > _obsoletes.spec
diff /tmp/tl2011 /tmp/tl2012 | grep '<' | sed -s 's/^< /Obsoletes: texlive-/' | sed -s 's/$/-doc < 3:%{tl_version}/' >> _obsoletes.spec
diff /tmp/tl2011 /tmp/tl2012 | grep '<' | sed -s 's/^< /Obsoletes: texlive-/' | sed -s 's/$/-fedora-fonts < 3:%{tl_version}/' >> _obsoletes.spec
diff /tmp/tl2011 /tmp/tl2012 | grep '<' | sed -s 's/^< /Obsoletes: texlive-/' | sed -s 's/$/-bin < 3:%{tl_version}/' >> _obsoletes.spec
rm -f /tmp/tl2011 /tmp/tl2012
fi
mv _mkdirs.spec _mkdirs.spec.tmp
sort _mkdirs.spec.tmp > _mkdirs.spec
rm -f _mkdirs.spec.tmp

102
sources
View File

@ -534,8 +534,8 @@ ecf94ac704463372a3ccc1e041e0c445 bib-fr.doc.tar.xz
88b7352863e1365eb880fdaf01d4e9ca bib-fr.tar.xz
5b3f2c897924873ae4f07196e0f2000b bibhtml.doc.tar.xz
57ae72d50023ebc8df57942cdf57f3e6 bibhtml.tar.xz
990c13897e2d7227eb816f04bd56e746 biblatex-apa.doc.tar.xz
d20af0ba2e9fe878139f97443e983a8c biblatex-apa.tar.xz
82a699e2a3edb4f8e8c1397d7ffc068d biblatex-apa.doc.tar.xz
20b2c36484164dac711e0fa72cf3457e biblatex-apa.tar.xz
a52ebf216441e0063d9d453634d0f210 biblatex-bwl.doc.tar.xz
22707289dac489e6b15c5ffaba64141e biblatex-bwl.tar.xz
fa733d0fa736d6d1bb05dc916b4ced3d biblatex-caspervector.doc.tar.xz
@ -952,7 +952,7 @@ ad818eb7c601e647525d06b82c152f58 collection-games.tar.xz
3586b60f7d2e90ada678bf284e13e0bc collection-genericextra.tar.xz
9e4c428e430e484b2614d79d2eab0d94 collection-genericrecommended.tar.xz
859b2c92b7a56e8ae43c1ef6e0a9ac09 collection-htmlxml.tar.xz
eca88beb5d260ad7b16c7e6dcd3a1d34 collection-humanities.tar.xz
8c6752e5bdc6a4c095dbeeb6600a2931 collection-humanities.tar.xz
9c7a1ef8f69509d55cac05e49b1ffbcd collection-langafrican.tar.xz
eda4e92dfb85241c11d28e6b6ce795dc collection-langarabic.tar.xz
7956c2f9260fe467a35c352e02dbd399 collection-langcjk.tar.xz
@ -977,7 +977,7 @@ bd368527ad2ad1877e75039bced71b6f collection-latexrecommended.tar.xz
12ce2ba5f2f2b2c102a8a2319170f706 collection-metapost.tar.xz
a63c8892e84eb6bfe671bc32a21aa46f collection-music.tar.xz
226d567537486d6e78258d7b949e206c collection-omega.tar.xz
19f56099d380980fe2558f0138e7786e collection-pictures.tar.xz
3d468c62af9f1476eb960e01d468d742 collection-pictures.tar.xz
f4494fc98fc5634e5ce01b365399e9f6 collection-plainextra.tar.xz
607f41abf453168797a9d57286ed1385 collection-pstricks.tar.xz
224a27af25516bee016fd9f01882d79c collection-publishers.tar.xz
@ -1747,9 +1747,9 @@ d73b6ce3cd52156736d9a5bf40b28df2 etextools.source.tar.xz
a7a9b90fb57a3ac5857a36dbb72d164c ethiop.tar.xz
f905ea18debe9b626c7113be8078d8f4 ethiop-t1.doc.tar.xz
023d28e766890a33edc025e41cd50722 ethiop-t1.tar.xz
ea11044328f75882a93866b700289b73 etoc.doc.tar.xz
6f370490b265b71a02c44fa924d0ee68 etoc.source.tar.xz
0d75cd80c8eaac5fa96d6757abd9b73f etoc.tar.xz
537386276e697c572e1a611da9bd1f00 etoc.doc.tar.xz
62c5127989243806ef6ff4fda9eea51c etoc.source.tar.xz
c80406ef3192f908198130fca2fa344e etoc.tar.xz
a957cd7ec2a647868fca428bb7767bd6 etoolbox-de.doc.tar.xz
5da5ed72902b210134669486e3349a6e etoolbox.doc.tar.xz
d5f547c906a7a63cbf932a181994e751 etoolbox.tar.xz
@ -2209,10 +2209,10 @@ b55fed41b08efd2954a997b41436a475 gfsbodoni.doc.tar.xz
2e0bd9934374b124159a4ac0f744818a gfsbodoni.tar.xz
37c909f93e9512b87a0db7ab2ff22b56 gfscomplutum.doc.tar.xz
0d30903364eeedc318410d237f5a033a gfscomplutum.tar.xz
4b643c64fcee61a8767d5c4629491915 gfsdidot.doc.tar.xz
697b71e044885285fc6155566a1c95ce gfsdidot.tar.xz
587f559bffd8c60f9e50b4c55e0cba35 gfsneohellenic.doc.tar.xz
d578b3e59fdc43042ca32f3766715680 gfsneohellenic.tar.xz
3adac90c85d2d606d8117f603c4b9176 gfsdidot.doc.tar.xz
0bc22e054a566eee96e05152211aa176 gfsdidot.tar.xz
210afc76c6ddc9095575dbebf094663b gfsneohellenic.doc.tar.xz
345cba1da758638b105bfbbb809a1745 gfsneohellenic.tar.xz
6fa8a6c622293d1566f672f2abbff2f7 gfsporson.doc.tar.xz
68fea3b4096338e821c54d90e7b367d9 gfsporson.tar.xz
0e134cb867b05d2ad217d4332c50bd8b gfssolomos.doc.tar.xz
@ -2354,6 +2354,8 @@ bff1ba6f30c8fc77902136b95ffa37fb harpoon.tar.xz
5763db1e94fe9def6ce784a04114e899 harvard.doc.tar.xz
76ad05260d3bd25ee6333144a2eb8026 harvard.source.tar.xz
31f91d6cbc30497cc7ce03bdf0fc8c69 harvard.tar.xz
99cc013b7be578ef5b908594db2dc277 harveyballs.doc.tar.xz
995f76dbc555ee356a69462fd3b7a41e harveyballs.tar.xz
0e1b569be807154d212488ae35fa62f0 harvmac.doc.tar.xz
1088ceb306a03a7347184a581745e287 harvmac.tar.xz
22006319b8af0c39cbf819e33de064c9 har2nat.doc.tar.xz
@ -2748,10 +2750,10 @@ eedc783b6500eb6abf68239c74450588 iwona.doc.tar.xz
d24138abe43a72b0517d9a4ea3d78a84 iwona.tar.xz
b88b778e0ad0f5e15f76edf89ad752c7 jablantile.doc.tar.xz
720df0229b654e7a04bba39bffb765c9 jablantile.tar.xz
51feb7e4d619e7f9a2d2934d94433324 jadetex.doc.tar.xz
b0b574106a5863e96bab971b652e48f6 jadetex.doc.tar.xz
ec18e383c216728b403af4505b80b325 jadetex.i386-linux.tar.xz
53e437bca789e7cf8aa02df26c1ae483 jadetex.source.tar.xz
76c5290b3990cbe3eff6baaf05fd241a jadetex.tar.xz
519067aa27ceb8b46a8bae5b14b02eb4 jadetex.source.tar.xz
b9a858de435b66f7c0755f4d0534438c jadetex.tar.xz
273a88a88453c8cb9485ec6f1b313302 jamtimes.doc.tar.xz
41f2da393e427a8fd2635fe97a91980f jamtimes.tar.xz
9d4c236949b966044cdde32b5a1f64dd japanese.doc.tar.xz
@ -2925,9 +2927,9 @@ e641a78b0a9b3f000ca8ff230371ea92 latex.tar.xz
6dbcfc65c940d469783d79f9777deb2e latex2e-help-texinfo-spanish.doc.tar.xz
cace3b1da89eb6193cd7a473214852b7 latex2e-help-texinfo-spanish.tar.xz
26d6e3a318cdea7c7aec7302ea7789c8 latex2e-help-texinfo.tar.xz
28691460a1ade0f322d68c82f4145bf9 latex2man.doc.tar.xz
16a838f1750a26bebf86a2439ce6aee1 latex2man.doc.tar.xz
e75571926155e3a622541d38b1125a9d latex2man.i386-linux.tar.xz
e7a101265c0c37394d6fa5234dbfb63d latex2man.tar.xz
3f571331515b36ff873c443b31952b0d latex2man.tar.xz
ec5ad25e0276237238f3740829cd2e8a latex4wp.doc.tar.xz
c705eea5a81112f54f98b94b4b3b081c latex4wp-it.doc.tar.xz
7c95e8a42330a4e484bfb10e17d28b24 lato.doc.tar.xz
@ -3318,9 +3320,9 @@ d944a871e8afdf08bce5d4fb3b388600 mathpazo.source.tar.xz
8d9d098b32b624730a962c3bf12deef2 mathpazo.tar.xz
fe98ab00c650e5a32fe716272a1a0324 mathspec.doc.tar.xz
2e8d63ec63945ec302e5fcbf6003d832 mathspec.tar.xz
326ca8ad2ccd76f47a63e6e484e7d876 mathspic.doc.tar.xz
26c6a2b11ff21f0b93857c38979096f5 mathspic.doc.tar.xz
2d81dbb87ed5b1c08ef8e1e10f20a8ec mathspic.i386-linux.tar.xz
07b9c31599062c54e3e92314cde5766e mathspic.tar.xz
9207082bc52a0d65390dd561a336f341 mathspic.tar.xz
5e862a7a91a1a9e726c2499a182124bb match_parens.doc.tar.xz
77c074c0562e1f183ecb84f0f1327339 match_parens.i386-linux.tar.xz
1c8daa9ff4f3c66a8b2863cf2dea8c31 match_parens.tar.xz
@ -3680,8 +3682,8 @@ bd56b2c70f7a685422f8b535bf5e88d4 newfile.tar.xz
7c4fd5f5f0adc3bab70b1969ce07816e newlfm.doc.tar.xz
f2a80ad9a3795c1d920ab3ed60183588 newlfm.source.tar.xz
e75eb911fdc3d7f1702a77c65a7b8b72 newlfm.tar.xz
74478fe1660a29451a5134371adaab18 newpx.doc.tar.xz
74ea0ec664fe780fbf9108b7f93ec9ae newpx.tar.xz
af4eb3ed30de6017734c6ffe80f86f79 newpx.doc.tar.xz
d4b42851074ba4c15750502a48d9d616 newpx.tar.xz
7d8ef23c3b9745d915dbcef5462f6055 newsletr.doc.tar.xz
28f1f53ac056be13c0e95a6225cdb0bb newsletr.tar.xz
9afed18d13134a813a8e251db06347b0 newspaper.doc.tar.xz
@ -3844,8 +3846,8 @@ c94918f5d37f5572a8d4911dbfd8be9d ordinalpt.doc.tar.xz
59770704567b18edbb2dcbad158e7324 ordinalpt.tar.xz
d17aa64cabdc80a0a3fcea58ca6ebf2d orkhun.doc.tar.xz
caf268ef8a86c45c0ce3484e3f2c461f orkhun.tar.xz
1eff7eedd71ec5d82e17065d82ddf58f oscola.doc.tar.xz
f040a41ca03825219c828e93ab0d9b79 oscola.tar.xz
19a72dc56783d09b7e819a820411e65f oscola.doc.tar.xz
0a4f8dc3b33b6198dd4ac93003f72613 oscola.tar.xz
0a3a783ebeb86b61b4c228caf805a217 othelloboard.doc.tar.xz
b938396ea8b9b427da06c590e80ac7a7 othelloboard.tar.xz
1d074d2c503bdec8d7a4f4d900a6942c othello.doc.tar.xz
@ -3986,9 +3988,9 @@ b7d0e4802dba2b2f16921684649047de pdfx.source.tar.xz
5fab1d51eb6970ea48af7a601b87b34e pdf14.doc.tar.xz
29a1081ee887df33f6f94e0519b2b269 pdf14.source.tar.xz
b93d2c7bace5449606bd760746725451 pdf14.tar.xz
a87440c75c35c3972df90cb3b39fb454 pedigree-perl.doc.tar.xz
d7554026b037ad8e758d105ac7920634 pedigree-perl.doc.tar.xz
85b4f66e0fb0cf164e08f250e216e748 pedigree-perl.i386-linux.tar.xz
b7a5bd06c45db50e9bc5d65056695ca4 pedigree-perl.tar.xz
bad701d1b03b7204191b7491e58e844b pedigree-perl.tar.xz
574c2d2701e6f1a6a7817895ad9df87a pecha.doc.tar.xz
e31254baa2b81f9640c82decf1effa69 pecha.tar.xz
abc4a47ad5ef9b8e1d5c83c96ca6af3f perception.doc.tar.xz
@ -4050,6 +4052,8 @@ df4cd42ef1642b6d42249d7926a9a2ed philosophersimprint.source.tar.xz
567f2a30a70e4e9cb6ba26445ba7a82b philosophersimprint.tar.xz
fdaf684363b395c28a05e50f7b80585e phonetic.doc.tar.xz
1046df33bfad66ee6c8c6b589137411a phonetic.tar.xz
ca9d1a2941f0a0047b165e6d0cff8b3c phonrule.doc.tar.xz
2690844c31e94856c495e30bae428b62 phonrule.tar.xz
b5b01f95aed29344a8e290ec891a24dd photo.doc.tar.xz
ce6533c54f5729b502a68222f308945b photo.source.tar.xz
a8dbc8c333499504d165a057894914ac photo.tar.xz
@ -4371,8 +4375,8 @@ ce4907e23679282a07c9b4b5ad277467 pst-pdf.source.tar.xz
fb92dbbcd978acce5c734ea26a8f029b pst-platon.doc.tar.xz
8e7c938c7c9edb03efd046b0d5767721 pst-platon.source.tar.xz
2d1c945f01defb7c4e8ed62a89226f05 pst-platon.tar.xz
99adea3dfe4221790703cbc033847f7a pst-plot.doc.tar.xz
3edf2fe7b835fe952aefd0b8e5d77c65 pst-plot.tar.xz
1cba95f081fd941725a3f00692ccafe0 pst-plot.doc.tar.xz
417c5e1b0d801bca6be03f302e497e40 pst-plot.tar.xz
e56c0860117ad3e82848f68c4d3023d4 pst-poly.doc.tar.xz
c3b72db48bd38ca377d1383abadec936 pst-poly.source.tar.xz
28ed0e55bea1dd10896719dde43b0a36 pst-poly.tar.xz
@ -4384,10 +4388,10 @@ c3b72db48bd38ca377d1383abadec936 pst-poly.source.tar.xz
42da180d82a25e837e766160e452323f pstricks-add.doc.tar.xz
e5d5c27e6e4b24b2758e871c9687c577 pstricks-add.tar.xz
a5c15a6048c72c513f49ccc5e0d692c7 pstricks_calcnotes.doc.tar.xz
bd0c1d8b40f01a46046bb06a9a5b1d12 pstricks.doc.tar.xz
7c895013352367876bb78553d14728ea pstricks.doc.tar.xz
032f2fe326535242741a12e692b65f20 pstricks-examples.doc.tar.xz
d7f35d586489e1d2a4dc5402bcf35474 pstricks-examples-en.doc.tar.xz
03460a714111da2b1f5b096772e9fe39 pstricks.tar.xz
84eb7d3ceeede6c04beb0097d3659d43 pstricks.tar.xz
adccb40adb14f4f06effed72e81437a9 pst-rubans.doc.tar.xz
7566314192e9a1efc247bca22e27a309 pst-rubans.source.tar.xz
2cd83c5135598c6195816f775e5a6d80 pst-rubans.tar.xz
@ -4520,8 +4524,8 @@ b75d53a095f9904f38529b9c171040d4 quoting.tar.xz
2a3ccebafa1c33df94d3ca8a1ebf33f3 quotmark.doc.tar.xz
6cad978af28a00942a83af394e0d9f2a quotmark.source.tar.xz
bea3e6823de138e3ffd7a596b444d2bf quotmark.tar.xz
b6c1650efbbe76c200d9b5846b5a5857 raleway.doc.tar.xz
509d73d746bbc8545cce3958f76494a3 raleway.tar.xz
487cb2fb8de56868d43031e529e27f6e raleway.doc.tar.xz
d91cadfaa47de0ac4e8ff61685c1314e raleway.tar.xz
61387fd5c2d02c13d8ed72da755ed606 randbild.doc.tar.xz
e8e4f4bb0290c852b3eb54d43e1a0b35 randbild.source.tar.xz
930900345d56b882e677e1d5b3a0aa69 randbild.tar.xz
@ -4924,10 +4928,10 @@ dbe89e384d17afa0def9ecaac637cb34 soton.doc.tar.xz
c65b432e002a894c0acb43e235878631 soul.doc.tar.xz
07bec6a51405ce05bdc7baed75659d3c soul.source.tar.xz
596e5e4d6097cb1952bbeec1cb465b97 soul.tar.xz
a55a81799de03e7da2039f87e88e4232 sourcecodepro.doc.tar.xz
d60c76fa6c9ab2b94309ed25faaa0990 sourcecodepro.tar.xz
ff757dc23a3cf4c7a5a21191c4378d93 sourcesanspro.doc.tar.xz
5aca3ee47d9cb988f4a09756f073e715 sourcesanspro.tar.xz
307f1183b2c064f0f31ec25a3ed39db9 sourcecodepro.doc.tar.xz
105459f78e3b431f6f0ba8b6651c9688 sourcecodepro.tar.xz
c4891fe21da512fc41dea18fee7788aa sourcesanspro.doc.tar.xz
ecb3e8e3c8d8a3595a6eaf8c267bceac sourcesanspro.tar.xz
2c9f0fb1e5beedaf912eab989f0a8798 spanglish.doc.tar.xz
76493679bc14814252b1049619b7f1bf spanglish.tar.xz
78705249a4a9227f8eeb85ed50c32e69 spanish-mx.doc.tar.xz
@ -4969,8 +4973,8 @@ bafede4586f9251f6e303ae30e0481c2 srcltx.tar.xz
09cc632b946c3de4824c14d5536d9010 sseq.doc.tar.xz
e6d2c51f24ef232265c2425173128101 sseq.source.tar.xz
d6a703f39d14c1e633f1a6969d6c60c6 sseq.tar.xz
17d2a7d884f4907aeecd53a28fd379ae stackengine.doc.tar.xz
404a9ac5282dafa4ad4f1050961737c6 stackengine.tar.xz
9ab289fcb3ae576bbed8f91cb19a6ad0 stackengine.doc.tar.xz
b429dfd8506bfcec26c3bf4aedd2d571 stackengine.tar.xz
27a9d49c3301083f13c4923537e4d0d9 stack.source.tar.xz
b6ba170f41d9b12bb431795c381bbd1c stack.tar.xz
bf61124bbf95affd3f4ff1343969efa7 stage.doc.tar.xz
@ -5256,8 +5260,8 @@ b490c0c080b6b44e65430b1a69ba1dd3 tex-label.tar.xz
73eff1a9488f748d6ad156db33e69dbd texlive-common.doc.tar.xz
4c89e4cb3e857d56f9fe18066e2b3fc8 texlive-cz.doc.tar.xz
8eeb4d6ac96bffdc111be4958f0fceeb texlive-de.doc.tar.xz
5ff45e43373a90a48619bd458e0f7ae8 texlive-docindex.doc.tar.xz
cf3085acea1183f007481764c09b2f85 texlive-docindex.tar.xz
91966e7aadb75f9166a3821f415eb860 texlive-docindex.doc.tar.xz
f0a130558b20fe1aa1abde7f97fdc4d5 texlive-docindex.tar.xz
02b7d4a2e63ae372896c260b2727accb texlive-en.doc.tar.xz
bcaec6336c48aebe2f6129480ab067be texlive-fr.doc.tar.xz
f5d47d63d30fa1fef722222a2d598ab5 texlive.infra.doc.tar.xz
@ -5271,12 +5275,12 @@ c0f6ab9ddc6c055fd0d0390304a3d97c texliveonfly.i386-linux.tar.xz
7b1c9041975bdec9d544af42b80292eb texliveonfly.tar.xz
4db23916a5a34a95bcfce05e0e6f626b texlive-pl.doc.tar.xz
dcda3e75dca741c8618c8f6050ae8e24 texlive-ru.doc.tar.xz
5542dddd09bb9fcd7859717efc58e8c7 texlive-scripts.doc.tar.xz
9a107bbfcb9fbfb14dec6ebeb02af967 texlive-scripts.doc.tar.xz
3247acdeaf8f944cf27d910efebfbe94 texlive-scripts.i386-linux.tar.xz
211bfad3f94bc10f3874d62811f8c870 texlive-scripts.tar.xz
1a7cbd5e6f7824f4677514f4d88b1bf8 texlive-scripts.tar.xz
c6742942b42399b8bc4ff617b783b524 texlive-sr.doc.tar.xz
910901aee9fe78d9956a850880914eaf texlive-zh-cn.doc.tar.xz
7b7587dde0b824b2d30aa59dd3bced15 texlive-20131019_r31948-source.tar.xz
0ffa3a2ca2b2bf345ed46699051a33e3 texlive-20131021_r31961-source.tar.xz
dd61bb4c5e070a47a96149d9e2e21445 texloganalyser.doc.tar.xz
b9a82dd58b5f132bae570c57a11db4aa texloganalyser.i386-linux.tar.xz
9c5b6a7021b601df4285d02bba729d0d texloganalyser.tar.xz
@ -5297,9 +5301,9 @@ d81d39f8140dc4a6043900301d510354 tex-ps.tar.xz
14ac15dbedc4ca5deeb391ef0c4dd1f9 texshade.doc.tar.xz
e100050c64ba1c6e8ed71acb1d71294b texshade.source.tar.xz
4f7197dda9c3df6eeb26aa3606e9dc67 texshade.tar.xz
c557c3b96f4be64d18ad706f06c0597c texsis.doc.tar.xz
a3b9c2f9e3f62a51ff38aee2b9ed9a57 texsis.doc.tar.xz
ee7cc0c504ebfee42eca4753e2a10698 texsis.i386-linux.tar.xz
0b1c2f6ce6c16a136955b0dea262de62 texsis.tar.xz
bcbeb209273effc5a831d44976e520db texsis.tar.xz
b5cf5b65bcf972514d6f15059ffa1f1a tex.tar.xz
37c7929fb324e7d352e732d9f64ce7eb textcase.doc.tar.xz
9a8a896bbf013bd834df59b3bec9d217 textcase.source.tar.xz
@ -5877,9 +5881,9 @@ cd3b45e125951128edb660ae87ccc685 xecyr.doc.tar.xz
f8a14549fce77602d610f7c3fe43b55f xecyr.tar.xz
48ab67b0b9cd81f471daf389d2b99e5d xeindex.doc.tar.xz
4796d02b22156c9edb0368744176fe58 xeindex.tar.xz
f1239c31f108c140f21f17845b76d77c xepersian.doc.tar.xz
d82cf450d35705c01a234c9cc0adeb61 xepersian.source.tar.xz
4a64915d4514db9b9de9a43127165167 xepersian.tar.xz
e9c51a60d14dd3638a8abccb4f281642 xepersian.doc.tar.xz
a5576a7ac2202ba21ab01d1938527723 xepersian.source.tar.xz
ba055903cad281b268ed1f62da4f9d2d xepersian.tar.xz
f3b9566467b80c3725bc29166aed9d1b xesearch.doc.tar.xz
d359a9dc8d3c467ed0bddb6e839db0b1 xesearch.tar.xz
49a2e637b0a32b4bd7be533d703329cf xetexconfig.tar.xz
@ -5913,9 +5917,9 @@ d6cf930f1f6d79753237fad9f55c822b xfor.tar.xz
84c4122269cf51cd6041e38fdd53030c xifthen.doc.tar.xz
d078b0ca7249858af85dfea82099c4c9 xifthen.tar.xz
eb030c4a9e63bf9e5e97c1ea174d17fd xii.doc.tar.xz
1738846bbffe64dab7a482648fce5d82 xint.doc.tar.xz
a32c6903db54bd8a6c28e566f75edb4d xint.source.tar.xz
791a3634ec2f01f2fb1189e9010fe2df xint.tar.xz
db0115b3a281707434da4b0f6e4405b4 xint.doc.tar.xz
c632e0603acd8b0d2af60cde74ff1650 xint.source.tar.xz
8d1920ce20f3249dabb9a97a423018e4 xint.tar.xz
2fd98ca2dddff4d5fbc0dc9cbcfe1db4 xits.doc.tar.xz
bdd46529ef240a72fa4894f8a9a7ab43 xits.source.tar.xz
ab7779b1417a1818f0068f3d44590a03 xits.tar.xz

11669
texlive.spec

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
%global source_date 20131019_r31948
%global source_date 20131021_r31961
%global tl_version 2013
%global tl_rel 2
%global tl_rel 3
%global tl_release %{tl_rel}.%{source_date}%{?dist}
%global tl_noarch_release %{tl_rel}%{?dist}
%global source_name texlive-%{source_date}-source
@ -370,6 +370,9 @@ fi
%{_libdir}/*.so
%changelog
* Fri Oct 25 2013 Jindrich Novy <novyjindrich@gmail.com> - 2013-3-20131021
- improve obsoletion automatism (#1022291, #1022746)
* Tue Oct 15 2013 Jindrich Novy <novyjindrich@gmail.com> - 2013-2-20131019
- fix symlinks and dependency generation

File diff suppressed because it is too large Load Diff

2296
tl-oldpkgs.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -47,6 +47,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "tl-oldpkgs.h"
char arch[] = "i386-linux";
char *m;
@ -194,6 +195,7 @@ typedef struct pk {
int has_man;
int has_info;
int main_pkg_written;
int any_pkg_written;
} package;
typedef struct {
@ -1167,6 +1169,7 @@ void solve(char *name) {
}
/* is it collection or scheme? then don't create a separate package for it and put it to main one */
if ( !strncmp(name, "collection-", 11) || !strncmp(name, "scheme-", 7) ) {
pkg[i].any_pkg_written = 1;
fprintf(funpack, UNPACK" -dc %%{SOURCE%d} | tar x -C %%{buildroot}%%{_texdir}%s\n", mainsrcno, pkg[i].reloc?"/texmf-dist":"");
fprintf(fpack, "%%package %s\n", name);
if ( pkg[i].shortdesc ) {
@ -1306,7 +1309,7 @@ void solve(char *name) {
#endif
/* write main packages */
if ( pkg[i].runfs || pkg[i].reqs || pkg[i].exes ) {
pkg[i].main_pkg_written = 1;
pkg[i].main_pkg_written = pkg[i].any_pkg_written = 1;
fprintf(funpack, UNPACK" -dc %%{SOURCE%d} | tar x -C %%{buildroot}%%{_texdir}%s\n", srcno, pkg[i].reloc?"/texmf-dist":"");
#ifndef SRPMS
fprintf(fpack, "%%package %s\n", name);
@ -1889,6 +1892,7 @@ void solve(char *name) {
#ifdef PACKAGE_DOCS
/* write doc package if exists */
if ( pkg[i].docfs ) {
pkg[i].any_pkg_written = 1;
if ( !doc_expanded ) {
fprintf(funpack, UNPACK" -dc %%{SOURCE%d} | tar x -C %%{buildroot}%%{_texdir}%s\n", srcno, pkg[i].reloc?"/texmf-dist":"");
fprintf(fsrc, "Source%04d: "CTAN_URL"%s.doc.tar."UNPACK"\n", srcno++, name);
@ -2080,6 +2084,7 @@ void solve(char *name) {
#endif
if ( pkg[i].binfs && (has_noarch_pkg || pkg[i].binfs > 1) ) {
char *ar = strstr(name, ".ARCH");
pkg[i].any_pkg_written = 1;
*ar = '\0';
fprintf(fpack, "%%package %s-bin\n", name);
fprintf(fpack, "Summary: Binaries for %s\n", name);
@ -2197,6 +2202,34 @@ slv:
if ( !found ) fprintf(stderr, "Unknown dep: %s\n", name);
}
void gen_obsoletes() {
size_t i, op = sizeof(old_pkgs)/sizeof(old_pkgs[0]);
FILE *fobs = fopen("_obsoletes.spec","wt");
for (i=0; i<op; i++) {
size_t n, fnd=0;
unsigned long h = hash(old_pkgs[i]);
for (n=0; n<p; n++) {
if (h == pkg[n].namehash && !strcmp(pkg[n].name, old_pkgs[i]) && pkg[n].any_pkg_written) {
fnd = 1;
break;
}
}
if (!fnd) {
fprintf(fobs,"Obsoletes: texlive-%s <= 3:%%{tl_version}\n", old_pkgs[i]);
if (strncmp(old_pkgs[i], "collection-", 11)) {
fprintf(fobs,"Obsoletes: texlive-%s-bin <= 3:%%{tl_version}\n", old_pkgs[i]);
fprintf(fobs,"Obsoletes: texlive-%s-doc <= 3:%%{tl_version}\n", old_pkgs[i]);
fprintf(fobs,"Obsoletes: texlive-%s-fedora-fonts <= 3:%%{tl_version}\n", old_pkgs[i]);
}
}
}
fclose(fobs);
}
int main() {
FILE *f = fopen("texlive.tlpdb","rt");
@ -2260,6 +2293,8 @@ int main() {
for (i=0; i<p; i++) solve(pkg[i].name);
}
gen_obsoletes();
{
int i, n, ndirs;
FILE *fdirs = fopen("_dirs.spec","wt");

View File

@ -1,5 +1,5 @@
--- texlive.tlpdb.orig 2013-10-19 10:20:04.822855328 +0200
+++ texlive.tlpdb 2013-10-19 10:20:04.970855716 +0200
--- texlive.tlpdb.orig 2013-10-25 06:45:41.878901536 +0200
+++ texlive.tlpdb 2013-10-25 06:45:41.954899137 +0200
@@ -76,7 +76,7 @@
catalogue-ctan /macros/latex/contrib/abc
catalogue-date 2008-03-08 20:47:21 +0100
@ -57,7 +57,7 @@
name bibexport
category Package
revision 29349
@@ -25878,7 +25846,6 @@
@@ -25879,7 +25847,6 @@
depend tex
depend texconfig
depend texlive-common
@ -65,7 +65,7 @@
depend texlive-en
depend texlive-msg-translations
depend texlive-scripts
@@ -26094,7 +26061,7 @@
@@ -26095,7 +26062,7 @@
shortdesc Additional fonts
relocated 1
depend collection-basic
@ -74,7 +74,7 @@
depend adforn
depend adfsymbols
depend aecc
@@ -26218,7 +26185,7 @@
@@ -26219,7 +26186,7 @@
depend librebaskerville
depend librecaslon
depend libris
@ -83,7 +83,7 @@
depend lxfonts
depend ly1
depend mathabx
@@ -28257,7 +28224,7 @@
@@ -28259,7 +28226,7 @@
depend m-tx
depend musixguit
depend musixtex
@ -92,7 +92,7 @@
depend pmx
depend songbook
depend songs
@@ -28719,25 +28686,6 @@
@@ -28722,25 +28689,6 @@
depend unitsdef
depend youngtab
@ -118,7 +118,7 @@
name collection-xetex
category Collection
revision 30396
@@ -37651,7 +37599,7 @@
@@ -37654,7 +37602,7 @@
texmf-dist/source/support/dosepsbin/install-sh
catalogue-ctan /support/dosepsbin
catalogue-date 2012-03-22 21:51:23 +0100
@ -127,7 +127,7 @@
catalogue-version 1.2
name dosepsbin.i386-linux
@@ -63763,13 +63711,6 @@
@@ -63778,13 +63726,6 @@
catalogue-license lppl
catalogue-version v1.7
@ -141,7 +141,7 @@
name interactiveworkbook
category Package
revision 15878
@@ -66248,7 +66189,6 @@
@@ -66265,7 +66206,6 @@
longdesc The package contains pLaTeX support files and virtual fonts for
longdesc supporting a wide variety of fonts in LaTeX using the pTeX
longdesc engine.
@ -149,7 +149,7 @@
execute addKanjiMap otf-@kanjiEmbed@.map
runfiles size=31495
RELOC/fonts/map/dvipdfmx/japanese-otf/otf-cktx.map
@@ -74274,7 +74214,7 @@
@@ -74291,7 +74231,7 @@
catalogue-ctan /macros/latex/contrib/labels
catalogue-date 2009-09-29 00:01:21 +0200
catalogue-license lppl1.2
@ -158,7 +158,7 @@
name lacheck
category TLCore
@@ -75535,71 +75475,6 @@
@@ -75552,71 +75492,6 @@
catalogue-license lppl
catalogue-version 1.13
@ -230,7 +230,7 @@
name latexmp
category Package
revision 15878
@@ -80947,7 +80822,7 @@
@@ -80965,7 +80840,7 @@
catalogue-date 2007-01-08 23:14:30 +0100
catalogue-license lppl
@ -239,7 +239,7 @@
category Package
revision 15878
shortdesc Linear A script fonts.
@@ -91555,7 +91430,7 @@
@@ -91574,7 +91449,7 @@
texmf-dist/source/generic/mkjobtexmf/install-sh
catalogue-ctan /support/mkjobtexmf
catalogue-date 2011-11-16 11:07:17 +0100
@ -248,7 +248,7 @@
catalogue-version 0.8
name mkjobtexmf.i386-linux
@@ -93616,7 +93491,7 @@
@@ -93635,7 +93510,7 @@
catalogue-license lppl1.3
catalogue-version 1.2.2
@ -257,7 +257,7 @@
category Package
revision 28934
shortdesc Fonts used by MusixTeX.
@@ -111215,7 +111090,7 @@
@@ -111254,7 +111129,7 @@
catalogue-ctan /graphics/pstricks/contrib/pst-layout
catalogue-date 2012-04-27 12:45:13 +0200
catalogue-license lppl
@ -266,7 +266,7 @@
name pst-lens
category Package
@@ -117345,7 +117220,6 @@
@@ -117386,7 +117261,6 @@
execute AddFormat name=eptex engine=eptex options="*eptex.ini" patterns=language.def
execute AddFormat name=platex engine=eptex options="*platex.ini" patterns=language.dat
execute addKanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
@ -274,7 +274,7 @@
runfiles size=2485
texmf-dist/fonts/map/dvipdfmx/ptex/morisawa.map
texmf-dist/fonts/source/ptex/ascgrp/ascgrp.mf
@@ -123608,7 +123482,7 @@
@@ -123830,7 +123704,7 @@
depend kurier
depend poltawski
depend xits
@ -283,7 +283,7 @@
depend txfonts
depend pxfonts
depend eulervm
@@ -130806,7 +130680,7 @@
@@ -131029,7 +130903,7 @@
texmf-dist/doc/man/man1/texdirflatten.man1.pdf
catalogue-ctan /support/texdirflatten
catalogue-date 2012-01-12 19:29:56 +0100
@ -292,7 +292,7 @@
catalogue-version 1.1
name texdirflatten.i386-linux
@@ -132354,7 +132228,6 @@
@@ -132577,7 +132451,6 @@
revision 29741
shortdesc i386-linux files of texlive-scripts
binfiles arch=i386-linux size=2
@ -300,7 +300,7 @@
bin/i386-linux/rungs
name texlive-sr
@@ -141596,7 +141469,7 @@
@@ -141820,7 +141693,7 @@
catalogue-ctan /macros/latex209/contrib/trees/tree-dvips
catalogue-date 2011-03-14 14:09:23 +0100
catalogue-license lppl1
@ -309,7 +309,7 @@
name treetex
category Package
@@ -153730,7 +153603,6 @@
@@ -153954,7 +153827,6 @@
revision 30845
shortdesc i386-linux files of xetex
binfiles arch=i386-linux size=5465