ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] /usr/lib/rpm/pkgconfig.prov -- слишком строгая проверка на версию
@ 2010-06-30 12:42 Konstantin Pavlov
  2010-06-30 12:50 ` Konstantin Pavlov
  2010-06-30 12:52 ` Dmitry V. Levin
  0 siblings, 2 replies; 7+ messages in thread
From: Konstantin Pavlov @ 2010-06-30 12:42 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

Добрый день.

В /usr/lib/rpm/pkgconfig.prov используется слишком строгая проверка на
версию в .pc-файле:

case "$3" in
    *[!A-Za-z0-9_.+-]*)
		Fatal "$f: invalid pkg-config output: $line" ;;
    [0-9]*) ;;
        *) Fatal "$f: invalid pkg-config output: $line" ;;
esac

При этом, в man-странице не регламентируется формат строки Version, так же как
и в коде pkg-config нет подобных проверок.

Предлагаю убрать излишний ум из /usr/lib/rpm/pkgconfig.prov.

-- 
Don't over-comment.
            - The Elements of Programming Style (Kernighan & Plaugher)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-05 18:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-30 12:42 [devel] /usr/lib/rpm/pkgconfig.prov -- слишком строгая проверка на версию Konstantin Pavlov
2010-06-30 12:50 ` Konstantin Pavlov
2010-06-30 12:55   ` Dmitry V. Levin
2010-06-30 13:00     ` Konstantin Pavlov
2010-07-05 17:24   ` Alexey Tourbin
2010-07-05 18:02     ` Dmitry V. Levin
2010-06-30 12:52 ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git