From: ruslandh <ruslandh@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Настройки rpmbh
Date: Fri, 6 Nov 2015 00:30:40 +0300
Message-ID: <201511060030.45850@ruslandh> (raw)
In-Reply-To: <222c69951142fa79d6ae33f590a7fac2@office.etersoft.ru>
[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]
Здравствуйте Vitaly Lipatov
В сообщении от 6 ноября 2015 Vitaly Lipatov написал(a):
> И (я не уверен), мне казалось, что она умеет работать только с
> git-репозиторием.
Ну, по логам она пакет создаёт, да мне-бы хватило и изминённого
спека.
"
$ rpmbph -b p7 -n usb-modeswitch-2.2.6-alt1.src.rpm
Install package $
mkdir -p /tmp/.private/writer/tmp.SsIU1ZOG2q/SOURCES /tmp/.private/writer/tmp.SsIU1ZOG2q/SRPMS /tmp/.private/writer/tmp.SsIU1ZOG2q/RPMS
$
rpm -iv --define=_topdir /tmp/.private/writer/tmp.SsIU1ZOG2q /home/writer/RPM/SRPMS/usb-modeswitch-2.2.6-alt1.src.rpm
usb-modeswitch-2.2.6-alt1
$
altspec_to_local /tmp/.private/writer/tmp.SsIU1ZOG2q/SPECS/usb-modeswitch.spec
Converting spec usb-modeswitch.spec to M70P...
$
set_release /tmp/.private/writer/tmp.SsIU1ZOG2q/SPECS/usb-modeswitch.spec
alt0.M70P.1
$ /usr/bin/rpmbs -M70P /tmp/.private/writer/tmp.SsIU1ZOG2q/SPECS/usb-modeswitch.spec
Just packing usb-modeswitch-2.2.6-alt0.M70P.1.src.rpm
$ nice
rpmbuild --quiet --define=_topdir /tmp/.private/writer/tmp.SsIU1ZOG2q --quiet /tmp/.private/writer/tmp.SsIU1ZOG2q/SPECS/usb-modeswitch.spec -bs --nodeps --target
x86_64
Платформы для сборки: x86_64
Сборка для платформы x86_64
Записан: /tmp/.private/writer/tmp.SsIU1ZOG2q/SRPMS/usb-modeswitch-2.2.6-alt0.M70P.1.src.rpm
$
rpmbuild --define=_topdir /tmp/.private/writer/tmp.SsIU1ZOG2q --rmsource --rmspec --nodeps /tmp/.private/writer/tmp.SsIU1ZOG2q/SPECS/usb-modeswitch.spec
"
А /tmp/.private/writer/tmp.SsIU1ZOG2q и нет ....
--
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
prev parent reply other threads:[~2015-11-05 21:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 20:40 ruslandh
2015-11-05 20:45 ` Hihin Ruslan
2015-11-05 21:07 ` Vitaly Lipatov
2015-11-05 21:30 ` ruslandh [this message]
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=201511060030.45850@ruslandh \
--to=ruslandh@gmail.com \
--cc=ruslandh@narod.ru \
--cc=sisyphus@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
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git