Manual: adjust package renaming procedure

This commit is contained in:
classabbyamp
2026-04-19 18:52:31 -04:00
committed by classabbyamp
parent 74bd0d9cea
commit 9474e53630
+5 -6
View File
@@ -1764,14 +1764,13 @@ installs its fonts
<a id="pkg_rename"></a> <a id="pkg_rename"></a>
### Renaming a package ### Renaming a package
- Create empty package of old name, depending on new package. This is - Create an empty subpackage of old name, depending on new package. This is
necessary to provide updates to systems where old package is already necessary to provide updates to systems where old package is already
installed. This should be a subpackage of new one, except when version installed. This should be a subpackage of new one. When the version
number of new package decreased: then create a separate template using number of the transitional package decreases, add `reverts` entries to it.
old version and increased revision. - append `" (transitional dummy package)"` to the package's `short_desc`.
- Edit references to package in other templates and common/shlibs. - Edit references to package in other templates and common/shlibs.
- Don't set `replaces=`, it can result in removing both packages from - Set `replaces="old-name>=0` on the new package.
systems by xbps.
<a id="pkg_remove"></a> <a id="pkg_remove"></a>
### Removing a package ### Removing a package