PLD-doc: devel-hints-en.txt - epoches section (the wording didn't ...

glen glen at pld-linux.org
Sat Sep 30 00:41:00 CEST 2006


Author: glen                         Date: Fri Sep 29 22:41:00 2006 GMT
Module: PLD-doc                       Tag: HEAD
---- Log message:
- epoches section (the wording didn't came out the best)

---- Files affected:
PLD-doc:
   devel-hints-en.txt (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: PLD-doc/devel-hints-en.txt
diff -u PLD-doc/devel-hints-en.txt:1.26 PLD-doc/devel-hints-en.txt:1.27
--- PLD-doc/devel-hints-en.txt:1.26	Sat Sep 30 00:37:16 2006
+++ PLD-doc/devel-hints-en.txt	Sat Sep 30 00:40:55 2006
@@ -74,6 +74,25 @@
 1.6.0-RC2 < 1.6.0-1
 but this is not widely accepted, at least nobody on irc but glen liked this :)
 
+
+Package epoches:
+You shouldn't use %{epoch} when the package doesn't have Epoch: as such
+defined.
+
+This is wrong:
+Name:		test
+Summary:	example
+Version:	1
+Requires:	foo
+
+%package subpackage
+Summary:  subpackage
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+Should be:
+Requires:	%{name} = %{version}-%{release}
+
+
 Package groups:
 A package must have a defined Group field according to SOURCES/rpm.groups
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/PLD-doc/devel-hints-en.txt?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list