rawhide merge status
Jerry James
Jerry.James at usu.edu
Mon May 14 16:00:53 UTC 2007
On Mon, 14 May 2007 at 15:11:38 +0200, Florian La Roche
<laroche at redhat.com> wrote:
> Obsoletes in that tree:
[snip]
> moodle-sr_lt-1.8-4.fc7.noarch.rpm is obsoleted by moodle-sr_cr_bo-1.8-4.fc7.noarch.rpm
> moodle-sr_cr_bo-1.8-4.fc7.noarch.rpm is obsoleted by moodle-sr_cr-1.8-4.fc7.noarch.rpm
> moodle-zh_tw-1.8-4.fc7.noarch.rpm is obsoleted by moodle-zh_cn-1.8-4.fc7.noarch.rpm
>
> moodle looks like a packaging bug, but at least sysvinit seems to be a normal
> name transition and the old one could be blocked.
Darn. This is what happens when you people let a green packager like me
take over maintenance of an established package.
What I was trying to accomplish was splitting out related, but different
languages, which were packaged together in earlier versions of moodle.
(They are packaged in separate source files upstream.) So the current
spec file has this, for example:
%package zh_cn
Obsoletes: moodle-zh <= 1.6.3
Provides: moodle-zh = 1.6.3
%package zh_tw
Obsoletes: moodle-zh <= 1.6.3
Provides: moodle-zh = 1.6.3
I thought AutoReqProv would do the right thing here, but this problem
makes me suspect I should have written this:
%package zh_cn
Obsoletes: moodle-zh <= 1.6.3
Provides: moodle-zh = 1.6.3, moodle-zh_cn = %{version}-%{release}
%package zh_tw
Obsoletes: moodle-zh <= 1.6.3
Provides: moodle-zh = 1.6.3, moodle-zh_tw = %{version}-%{release}
Would that solve the problem?
--
Jerry James, Assistant Professor Jerry.James at usu.edu
Computer Science Department http://www.cs.usu.edu/~jerry/
Utah State University
More information about the fedora-devel-list
mailing list