RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Limiting package Name: field to explicit character set

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 05 Jan 2009 - 18:44:35 CET
Message-id: <EEED879E-D3BD-4FC1-9FD1-252436B0F620@mac.com>

On Jan 5, 2009, at 12:26 PM, Wichmann, Mats D wrote:
> converting on checks as you suggest makes sense to me.

And here's the loaded question:

	Do I parameterize strcasecmp into the {N,EVRD,F} comparisons?

BTW this whole implementation (I haven't started with N regexes yet) is
headed towards an addenda for

I'll trick up RPM "version" specifications however you wish.

But please note that its quite easy to write

	# STEP 1: Match the string and capture regex parts
	#                      1          2           3             4
	#                      X     ":"  X        "-"X          ":"X
	%evr_tuple_match  ^(?:([^:-]+):)?([^:-]+)(?:-([^:-]+))?(?::([^:-]+))?$

into a LSB "standard" document.

And I'm perfectly prepared for
	Requires: N = D:R-V:E
specifications, and adding a 101st tuple to the {E,V,R,D,......} set  

Bring it on! I dare you!

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Mon Jan 5 18:44:39 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.