From: gBopHuk_alt <gbophuk_alt@mail.ru>
To: Разработка <devel-newbies@lists.altlinux.org>
Subject: [newbies] %prep в spec файле зачем-то выполняет %configure.
Date: Sun, 08 Jan 2012 03:59:10 +0400
Message-ID: <1325980750.17694.5.camel@localhost.localdomain> (raw)
Казалось бы простая задача : Есть готовые файлы, которые нужно
копировать в buildroot, затем запаковать в rpm. В результате чего в spec
файле должна отсутствовать секция %build со всеми включающими. Но при
выполнении секции %prep вылезает ошибка :
./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --disable-dependency-tracking
--without-included-gettext
/usr/src/tmp/rpm-tmp.35972: line 108: ./configure: No such file or
directory
error: Bad exit status from /usr/src/tmp/rpm-tmp.35972 (%prep)
В общем, зачем он это делает, и как заставить не делать этого?
next reply other threads:[~2012-01-07 23:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-07 23:59 gBopHuk_alt [this message]
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 ` Андрей Черепанов
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=1325980750.17694.5.camel@localhost.localdomain \
--to=gbophuk_alt@mail.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