PLD-doc: devel-hints-en.txt - add package splits section
glen
glen at pld-linux.org
Sat Sep 30 00:37:21 CEST 2006
Author: glen Date: Fri Sep 29 22:37:21 2006 GMT
Module: PLD-doc Tag: HEAD
---- Log message:
- add package splits section
---- Files affected:
PLD-doc:
devel-hints-en.txt (1.25 -> 1.26)
---- Diffs:
================================================================
Index: PLD-doc/devel-hints-en.txt
diff -u PLD-doc/devel-hints-en.txt:1.25 PLD-doc/devel-hints-en.txt:1.26
--- PLD-doc/devel-hints-en.txt:1.25 Sat Sep 30 00:22:45 2006
+++ PLD-doc/devel-hints-en.txt Sat Sep 30 00:37:16 2006
@@ -462,6 +462,21 @@
protocol.
+Package splits.
+
+When you decide to split a package, you should add Conflicts: on new package
+before the split. This is to prevent two packages providing same files being
+installed at same time. As the two packages don't have any relations between
+each other, rpm will allow you to have installed pam-libs-0.80.1-2 and
+pam-0.80.1-1 at the same time.
+
+So if you split package 'pam' to 'pam' and 'pam-libs' at version 0:0.80.1-2:
+
+%package libs
+Summary: PAM modules and libraries
+Group: Libraries
+Conflicts: pam < 0:0.80.1-2
+
CVS branches.
A package is often developed in various branches (e.g. because there's
================================================================
---- CVS-web:
http://cvs.pld-linux.org/PLD-doc/devel-hints-en.txt?r1=1.25&r2=1.26&f=u
More information about the pld-cvs-commit
mailing list