ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Artem K. Jouravsky" <ujo@ifirst.ru>
To: community@altlinux.ru
Subject: [Comm] Re: сборка пакетов - Пожелания разработчикам
Date: Fri, 17 Jan 2003 13:17:54 +0300
Message-ID: <20030117101754.GA10103@ifirst.ru> (raw)
In-Reply-To: <01cb01c2be06$7ee986b0$0100005a@oc>

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

On Fri, Jan 17, 2003 at 11:57:42AM +0300, Aleksander N. Gorohovski wrote:
> > > Настроил сборку пакетов из src, как написано на atmsk.ru
> > > При попытке $rpm -ba пакет  вылазят сообщения типа:
> > > /bin/tar:  пакет/файл: cannot open: No such file or directory
> > > и так для всех файлов.
> > > Что это может значить?
> > Во-первых, rpm'у должен передаваться не сам пакет, а спек файл, а во
> вторых
> > всё это должно лежать в таком дереве каталогов:
> > ./RPM
> > ./RPM/SOURCES
> > ./RPM/SPECS
> 
> 
> Если это возможно (это сделано в Mandrake 8.2 - 9) чтобы эта иерархия
> каталогов создавалась
> по умолчанию сразу при установке ALT Linux.
Пакет rpm-build ставить не пробовали? А вообще, 
[ujo@ujo ujo]$ cat ~/.rpmmacros 
%_topdir        %homedir/RPM
%_tmppath       %homedir/tmp

# %packager Joe Hacker <joe@email.address>
# %_gpg_name    Joe Hacker <joe@email.address>
%packager  Artem K. Jouravsky <ujo@altlinux.ru>
%_gpg_name Artem K. Jouravsky <ujo@altlinux.ru>
#==============================================================================
# ---- per-platform macros.
#
%_arch                  i586
%_os                    linux
%_gnu                   -gnu
%_target_platform       %{_target_cpu}-%{_vendor}-%{_target_os}
%optflags               %optflags_default -march=i586 -mcpu=i686

Если нормально прописан %_topdir, то оно само создаст нужные каталоги.

> И вообще больно уж запутаное это дело (с правами и т.д.) сборка пакетов. Как
> говорят
> без бутылки не разберешься.
/usr/share/doc/rpm-<version>/README.ALT

-- 
Best wishes,                 | ICQ 103399444
	Artem K. Jouravsky,  | JID ujo@jabber.ru
iFirst Ltd, System Administrator.
-----------------------
Партия сказала есть контакт - будем есть контакт!

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

  parent reply	other threads:[~2003-01-17 10:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 14:01 [Comm] сборка пакетов Maxim A. Telegin
2003-01-16 14:16 ` Amodeus
2003-01-17  8:57   ` [Comm] Re: [Comm] сборка пакетов - Пожелания разработчикам Aleksander N. Gorohovski
2003-01-17 10:05     ` Amodeus
2003-01-17  9:17       ` [Comm] " Aleksander N. Gorohovski
2003-01-17 10:17     ` Artem K. Jouravsky [this message]
2003-01-16 14:20 ` [Comm] сборка пакетов Maxim A. Telegin

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=20030117101754.GA10103@ifirst.ru \
    --to=ujo@ifirst.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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