From: "Андрей Черепанов" <cas@altlinux.ru>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] %prep в spec файле зачем-то выполняет %configure.
Date: Wed, 11 Jan 2012 17:49:59 +0400
Message-ID: <201201111749.59351.cas@altlinux.ru> (raw)
In-Reply-To: <1326216891.30810.4.camel@localhost.localdomain>
[-- Attachment #1: Type: Text/Plain, Size: 1000 bytes --]
10 января 2012 gBopHuk_alt написал:
> В Вск, 08/01/2012 в 13:37 +0200, Michael Shigorin пишет:
> > On Sun, Jan 08, 2012 at 03:35:54PM +0400, gBopHuk_alt wrote:
> > > Теперь вывод стал таким, суть не изменилась:
> > > + ./configure --build=i586-alt-linux --host=i586-alt-linux
> > > --prefix=/usr
> >
> > Никогда так не делайте :)
> >
> > > %build
> > > #%configure
> >
> > http://www.altlinux.org/TypicalPackagingErrors/StrikeOutMacro
> > => #configure или #%%configure, а #%configure раскроется.
> >
> > PS: где бы поставить ссылку, чтоб меньше было шансов добраться
> > до сборки пакетов, не заметив хотя бы краем глаза такие нюансы?
>
> Спасибо огромное, собралось и работает =))) А где можно глянуть какие
> есть макросы и как они раскрываются? Хочу скрипт написать для
> автоматического заполнения поля %files в spec-е.
rpm --showrc | less
Это покажет штатные и установленные локально rpm-build-*
Если надо, доустановите нужный rpm-build-
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-01-11 13:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-07 23:59 gBopHuk_alt
2012-01-08 11:08 ` Michael Shigorin
2012-01-08 11:35 ` gBopHuk_alt
2012-01-08 11:37 ` Michael Shigorin
2012-01-10 17:34 ` gBopHuk_alt
2012-01-11 13:49 ` Андрей Черепанов [this message]
2012-01-11 15:28 ` Mikhail Efremov
2012-01-08 13:38 ` Mikhail Efremov
2012-01-08 15:20 ` Michael Shigorin
2012-01-11 15:38 ` Mikhail Efremov
2012-01-09 9:47 ` Ildar Mulyukov
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=201201111749.59351.cas@altlinux.ru \
--to=cas@altlinux.ru \
--cc=devel-newbies@lists.altlinux.org \
/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
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git