(→SplittingPackages: add space) |
(→Splitting Packages: use <code>) |
||
Line 3: | Line 3: | ||
{{Anchor|SplittingPackages}} | {{Anchor|SplittingPackages}} | ||
=== Splitting Packages === | === Splitting Packages === | ||
If contents from one package are split into a different package, the new package usually contains files that also appear in the original package, which might lead to a implicit conflict between the new package and the original package. Therefore the newly created package should add a | If contents from one package are split into a different package, the new package usually contains files that also appear in the original package, which might lead to a implicit conflict between the new package and the original package. Therefore the newly created package should add a <code>Conflicts: original-package <= NEVR_BEFORE_SPLIT</code> to make this conflict explicit. Also the original-package should be updated to not contain the conflicting files anymore and to depend on the new package at least in all stable Fedora releases. This allows to install the latest releases of both packages without any problem. Only in case the new package is installed and the original package was installed previously and is not updated, a conflict will result. |
Revision as of 20:46, 18 July 2013
Acceptable Uses of Conflicts:
Splitting Packages
If contents from one package are split into a different package, the new package usually contains files that also appear in the original package, which might lead to a implicit conflict between the new package and the original package. Therefore the newly created package should add a Conflicts: original-package <= NEVR_BEFORE_SPLIT
to make this conflict explicit. Also the original-package should be updated to not contain the conflicting files anymore and to depend on the new package at least in all stable Fedora releases. This allows to install the latest releases of both packages without any problem. Only in case the new package is installed and the original package was installed previously and is not updated, a conflict will result.