Re: Python- prefix must for all python module?

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

 



On Fri, 20 Sep 2013 09:00:04 -0400
Rich Mattes <richmattes@xxxxxxxxx> wrote:
> If I wanted to fix up some old packages that use the
> packagename-python convention, would the best way to go about this be
> to Provide the old module name when switching to the new name?  If a
> package foo-python is a subpackage of foo, and I wanted to change it
> to python-foo, I should:
> 
> %package -n python-foo
> Provides: foo-python
> 
> Or would it be better to obsolete the foo-python package?  I think the
> first is better since it allows the old package to be updated to the
> new package name, and after a couple releases the line providing the
> old package name could be removed.

It should obsolete the foo-python package from the start. Otherwise the
old package isn't updated to the new package name. Then after a couple
of releases you can remove the obsolete and the provides.
-- 
Susi Lehtola
Fedora Project Contributor
jussilehtola@xxxxxxxxxxxxxxxxx
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux