[packages/rpm] - pattern_Release cannot be overriden, change it in main macro file

Elan Ruusamäe glen at pld-linux.org
Fri Sep 14 14:31:56 CEST 2012


On 14.09.2012 15:18, baggins wrote:
> @@ -0,0 +1,11 @@
> +--- rpm-5.4.10/macros/macros.in~	2012-09-12 13:52:19.305575500 +0200
> ++++ rpm-5.4.10/macros/macros.in	2012-09-14 14:15:34.115044785 +0200
> +@@ -778,7 +778,7 @@
> + %pattern_Name		^[A-Za-z0-9][A-Za-z0-9+._-]*$
> + %pattern_Epoch		^[0-9]+$
> + %pattern_Version	^[A-Za-z0-9+._~]+$
> +-%pattern_Release	^[A-Za-z0-9+._]+$
> ++%pattern_Release	^[A-Za-z0-9+._@{}%]+$
> + %pattern_Disttag	^[A-Za-z0-9]+$
> + %pattern_Repotag	^[A-Za-z0-9]+$
> + %pattern_Distepoch	^[A-Za-z0-9.]+$

i'm wondering, are these patterns locale insensitive?

i hope they are, otherwise under LC_ALL=et_EE letters 'tuv' won't be matched

-- 
glen



More information about the pld-devel-en mailing list