ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: php5-dbx-5.0.5-alt0.cvs20050729: rebuild failed
Date: Mon, 10 Oct 2005 11:47:47 +0400
Message-ID: <434A1CA3.9080204@altlinux.ru> (raw)
In-Reply-To: <20051010065108.GO7394@immo.ru>

Alexey I. Froloff пишет:
> /etc/rpm/macros.d/php:
> %php_version     %(rpmquery --qf='%{VERSION}' php5-devel)
> %php_release     %(rpmquery --qf='%{RELEASE}' php5-devel)
> 
> Должно быть
> 
> %php_version     %(rpmquery --qf='%%{VERSION}' php5-devel)
> %php_release     %(rpmquery --qf='%%{RELEASE}' php5-devel)

тогда уж должно быть как

%php_version %rpm_check_field -p php5-devel VERSION
%php_release %rpm_check_field -p php5-devel RELEASE

или так

%php_version %get_version php5-devel
%php_release %get_release php5-devel

кстати, вот пример

$ grep -lr '%php_\(version\|release\)' /usr/lib/rpm/*
/usr/lib/rpm/athlon-alt-linux/macros
/usr/lib/rpm/athlon-linux/macros
/usr/lib/rpm/i386-alt-linux/macros
/usr/lib/rpm/i386-linux/macros
/usr/lib/rpm/i486-alt-linux/macros
/usr/lib/rpm/i486-linux/macros
/usr/lib/rpm/i586-alt-linux/macros
/usr/lib/rpm/i586-linux/macros
/usr/lib/rpm/i686-alt-linux/macros
/usr/lib/rpm/i686-linux/macros
/usr/lib/rpm/k6-alt-linux/macros
/usr/lib/rpm/k6-linux/macros
/usr/lib/rpm/noarch-alt-linux/macros
/usr/lib/rpm/noarch-linux/macros
/usr/lib/rpm/pentium4-alt-linux/macros
/usr/lib/rpm/pentium4-linux/macros

давно лицезрею данные макросы.

-- 
Rgrds, legion


  reply	other threads:[~2005-10-10  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-10  6:51 ` Alexey I. Froloff
2005-10-10  7:47   ` Alexey Gladkov [this message]
2005-10-10  7:56   ` [devel] " Andrei Bulava

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434A1CA3.9080204@altlinux.ru \
    --to=legion@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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