|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2-trans-all package | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Steffen Winterfeldt <snwint> |
| Component: | YaST2 | Assignee: | Jiri Srain <jsrain> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | jsuchome, ke, ro |
| Version: | Beta 1 plus | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Steffen Winterfeldt
2006-10-30 13:16:28 UTC
Maybe, we can tweak yast2-trans-stats to suit your need. Reassigning to jsrain to decide ;) Jiri, can yast2-trans-stats be used to generate the list of all YaST translation packages? Steffen, coudln't you use data from yast2-trans-stats directly? The situation with yast2-country is very similar to your - someone (Karl :-)) has to notify me about adding new language. Well, to answer question in comment #3 directly - yast2-trans-stats actually is the list of all YaST translation packages. I guess it cannot be used directly, as Steffen needs the packages to be installed in the build environment. Don't know whether it is possible to install any additional packages which are not covered by BuildRequires. Or, Steffen, is there any trick I don't know about? But we could have yast2-trans-stats depend on translation packages, coudn't we? No, not at installation time. The purpose of yast2-trans-stats is, only to tell yast the amount of translated messages per language. Well, as you see, the problem is not generating a list from one source or another but I'd need a package that has real rpm dependencies on all required lang packages, so I can put this one into BuildRequires. And since you probably don't want to add this to an existing package, my suggestion was to make a new one. In answer to comment 7: no, all packages must be in BuildRequires. I still do not understand this completely. If you add yast2-trans-stats to the BuildRequires of your packages, all the yast2-trans packages will get installed. Do you need also a package that provides all yast2-trans packages? # rpm -qp --requires yast2-trans-stats.rpm rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadIsBzip2) <= 3.0.5-1 I doubt adding it to BuildRequires has any effect whatsoever. What I need is a package that requires all yast2-trans-XX packages. I just submitted yast2-trans-allpacks to /work. It lists all packages I can find using pdb query --filter 'yast2-trans-?? yast2-trans-??\_??' Before you actually can make use of it, I probably must submit the following yast2-trans packages to /work, even if empty: yast2-trans-gl yast2-trans-ka yast2-trans-lo I filed a deletion request for yast2-trans-zh_HK. Thanks, I'll use it once it has been built. Hm, yast2-trans-allpacks doesn't build (at least in mbuild). :-( Michael, this is about the new yast2-trans-allpacks package. Using "build", it builds. It looks like an autobuild issue: error: Could not open %files file /usr/src/packages/BUILD/debugfiles.list: No such file or directory But the %files section does not list the mentioned file: %files %defattr(-,root,root) %doc README It's a problem in Rudis debuginfo package handling. The brp-strip-debug script only gets run if the specfile contains a "%install" section. A simple fix would be to add an empty install section to the spec. CC Rudi. Thanks for the help! Steffen, the package is done now. Reopen is something is still missing. Thanks. It works now but for the fact that there are no
yast2-trans-{lo,zh_HK} packages.
Yes, but the fixed package is already on /work . . sorry, wrong bug |