Hi.
A few days ago I've taken over the package kerry due to AWOL of the former maintainer. Today I've tried to package the new version of kerry. But I've encountered a problem: The new package contains two different named locale files: kerry.mo and kcmbeagle.mo. In one package I could only use one %find_lang. One solution could be to split up the package. That's what I have done for now (kerry and kerry-kcontrol). But the normal package would miss some features when not installing the sub-package. But I don't think a require for kerry-kcontrol in kerry itself would be a good idea.
What would be the best solution in this situation? Really splitting up the package? And if so, also putting a require for kerry-kcontrol in kerry? Or is there an option for %find_lang I don't know?
I've uploaded the srpm and the spec so that you could have a look: http://www.deadbabylon.de/fedora/extras/kerry/
Sebastian
If you aren't going to split up the package, just use %find_lang twice and do `cat kcmbeagle.lang >> %{name}.lang`
2007/3/4, Sebastian Vahl ml@deadbabylon.de:
Hi.
A few days ago I've taken over the package kerry due to AWOL of the former maintainer. Today I've tried to package the new version of kerry. But I've encountered a problem: The new package contains two different named locale files: kerry.mo and kcmbeagle.mo. In one package I could only use one %find_lang. One solution could be to split up the package. That's what I have done for now (kerry and kerry-kcontrol). But the normal package would miss some features when not installing the sub-package. But I don't think a require for kerry-kcontrol in kerry itself would be a good idea.
What would be the best solution in this situation? Really splitting up the package? And if so, also putting a require for kerry-kcontrol in kerry? Or is there an option for %find_lang I don't know?
I've uploaded the srpm and the spec so that you could have a look: http://www.deadbabylon.de/fedora/extras/kerry/
Sebastian
-- Fedora-packaging mailing list Fedora-packaging@redhat.com https://www.redhat.com/mailman/listinfo/fedora-packaging
Sebastian Vahl wrote:
Hi.
The new package contains two different named locale files: kerry.mo and kcmbeagle.mo. In one package I could only use one %find_lang.
What would be the best solution in this situation? Really splitting up the package? And if so, also putting a require for kerry-kcontrol in kerry? Or is there an option for %find_lang I don't know?
Wouldn't the following work? ---------------------------------------------- %find_lang %{name} %find_lang kcmbeagle cat kcmbeagle.lang >> %{name}.lang ----------------------------------------------
Mamoru
2007/3/4, Mamoru Tasaka mtasaka@ioa.s.u-tokyo.ac.jp:
Wouldn't the following work?
%find_lang %{name} %find_lang kcmbeagle cat kcmbeagle.lang >> %{name}.lang
This is what I proposed a few minutes ago ;-)
Am Mon, 05 Mar 2007 02:02:51 +0900 schrieb Mamoru Tasaka mtasaka@ioa.s.u-tokyo.ac.jp:
Sebastian Vahl wrote:
Hi.
The new package contains two different named locale files: kerry.mo and kcmbeagle.mo. In one package I could only use one %find_lang.
What would be the best solution in this situation? Really splitting up the package? And if so, also putting a require for kerry-kcontrol in kerry? Or is there an option for %find_lang I don't know?
Wouldn't the following work?
%find_lang %{name} %find_lang kcmbeagle cat kcmbeagle.lang >> %{name}.lang
Works fine. Thanks!
Sebastian
On Sun, 2007-03-04 at 17:13 +0100, Sebastian Vahl wrote:
Hi.
A few days ago I've taken over the package kerry due to AWOL of the former maintainer. Today I've tried to package the new version of kerry. But I've encountered a problem: The new package contains two different named locale files: kerry.mo and kcmbeagle.mo. In one package I could only use one %find_lang. One solution could be to split up the package. That's what I have done for now (kerry and kerry-kcontrol). But the normal package would miss some features when not installing the sub-package. But I don't think a require for kerry-kcontrol in kerry itself would be a good idea.
What would be the best solution in this situation? Really splitting up the package? And if so, also putting a require for kerry-kcontrol in kerry? Or is there an option for %find_lang I don't know?
You can look at how the gtk2 package solves the same problem:
%find_lang gtk20 %find_lang gtk20-properties cat gtk20.lang gtk20-properties.lang > all.lang
packaging@lists.fedoraproject.org