Re: rawhide merge status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 May 2007 at 15:11:38 +0200, Florian La Roche
<laroche@xxxxxxxxxx> 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@xxxxxxx
Computer Science Department             http://www.cs.usu.edu/~jerry/
Utah State University

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux