[opensuse-packaging] Texlive: where these strings come from?
Hi, I updated texlive 2015, and it builds fine. https://build.opensuse.org/package/show/home:MargueriteSu:branches:Publishin... now I have TWO things that I can't understand: 1. In its specfile: %define texlive_version 2015 %define texlive_previous 2014 %define texlive_release 20150521 %define texlive_noarch 97 %define texlive_source texlive-20150521-source Version: %{texlive_version}.%{texlive_release} Release: 0 But the generated RPMs looked like this: https://build.opensuse.org/package/binaries/home:MargueriteSu:branches:Publi... texlive-2015.20150521-20120597.4.i586.rpm I think the "-20120597" prefix for release number comes from nowhere. I grep everywhere from its package source (tarball,patches, specfile, changelog), there's even no "201205" existing. Where can I find and change it? 2. %package a2ping-bin Version: %{texlive_version}.%{texlive_release}.svn27321 the "svn27321". As I know, the textlive-20150521-source doesn't have any .svn directory or file telling which svn the source is. What's more interesting, different sub-packages have different svn numbers :-( Where does these svn numbers come from? Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 21.01.2016 09:38, Marguerite Su wrote:
What's more interesting, different sub-packages have different svn numbers :-(
Where does these svn numbers come from?
Hi Marguerite, They're coming from the texlive meta data. Publishing:TeXLive/Meta has all the scripts to download it and generate spec files from it. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, Jan 21, 2016 at 4:54 PM, Stephan Kulow <coolo@suse.de> wrote:
Hi Marguerite,
They're coming from the texlive meta data. Publishing:TeXLive/Meta has all the scripts to download it and generate spec files from it.
Thanks! I'll research on Meta package Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, Jan 21, 2016 at 04:38:28PM +0800, Marguerite Su wrote:
Hi,
I updated texlive 2015, and it builds fine.
https://build.opensuse.org/package/show/home:MargueriteSu:branches:Publishin...
now I have TWO things that I can't understand:
1. In its specfile:
%define texlive_version 2015 %define texlive_previous 2014 %define texlive_release 20150521 %define texlive_noarch 97 %define texlive_source texlive-20150521-source Version: %{texlive_version}.%{texlive_release} Release: 0
But the generated RPMs looked like this:
https://build.opensuse.org/package/binaries/home:MargueriteSu:branches:Publi...
texlive-2015.20150521-20120597.4.i586.rpm
I think the "-20120597" prefix for release number comes from nowhere.
I grep everywhere from its package source (tarball,patches, specfile, changelog), there's even no "201205" existing.
Where can I find and change it?
2. %package a2ping-bin Version: %{texlive_version}.%{texlive_release}.svn27321
the "svn27321".
As I know, the textlive-20150521-source doesn't have any .svn directory or file telling which svn the source is.
What's more interesting, different sub-packages have different svn numbers :-(
Where does these svn numbers come from?
See package Meta from Publishing:TeXLive. There the perl script is which generates the package texlive and its meta packages (scheme, collection), as well as the package texlive-filesystem, and at last but not least all other packages. The script called generate requires some subdirectories (basesystem, filesystem, packages, mnt, and targets) as well as the texlive.tlpdb.xz file for TeXLive 2015 and all tar balls for TeXLive 2015 (the checksums in texlive.tlpdb.xz and the packages should be the same). Also there should be avfsd and fusermount installed to use the generate script. This because the generate script scans for dependencies on the fly by mounting the tar balls of all packages below packages/ I've the full snapshot of texlive/texmf/archive/ of the TEXLive 2015 tree here as well as the texlive.tlpdb.xz and texlive-20150521-source.tar.xz
Marguerite
Werner -- Dr. Werner Fink -- Software Engineer Consultant SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany DE370832343409169, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nuernberg) phone: +49-911-740-53-0, fax: +49-911-3206727, www.opensuse.org --------------------------------------------------------------------------- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
Hi, Werner, On Thu, Jan 21, 2016 at 6:45 PM, Dr. Werner Fink <werner@suse.de> wrote:
See package Meta from Publishing:TeXLive. There the perl script is which generates the package texlive and its meta packages (scheme, collection), as well as the package texlive-filesystem, and at last but not least all other packages. The script called generate requires some subdirectories (basesystem, filesystem, packages, mnt, and targets) as well as the texlive.tlpdb.xz file for TeXLive 2015 and all tar balls for TeXLive 2015 (the checksums in texlive.tlpdb.xz and the packages should be the same).
Also there should be avfsd and fusermount installed to use the generate script. This because the generate script scans for dependencies on the fly by mounting the tar balls of all packages below packages/
err...looked to me that my previous work is needless...because I updated texlive itself manually and refreshed some patches...
I've the full snapshot of texlive/texmf/archive/ of the TEXLive 2015 tree here as well as the texlive.tlpdb.xz and texlive-20150521-source.tar.xz
I think...you can cherry-pick my refreshed patches to texlive and do the update directly in Publishing:TeXLive...since you have more packages in sync than me...is that okay to you? Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Dr. Werner Fink
-
Marguerite Su
-
Stephan Kulow