ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Любимов А.В." <avl@l14.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: RPM
Date: Sat, 23 Mar 2002 13:02:22 +0300
Message-ID: <20020323130222.1fac7fdf.avl@l14.ru> (raw)
In-Reply-To: <20020322234029.GK2017@mhz.mikhail.zabaluev.name>

On Sat, 23 Mar 2002 02:40:29 +0300
"Mikhail Zabaluev" <mhz@alt-linux.org> wrote:

> Hello Alexander,
> 
> On Fri, Mar 22, 2002 at 03:23:31PM +0200, Alexander Bokovoy wrote:
> >
> > On Fri, Mar 22, 2002 at 03:57:29PM +0300, iLL wrote:
> > > А подскажите как собирать рпм-ы из под юзверя? 
> > > В группе РПМ нахожусь, вроде собирается, но пермишшены менять не
> > > дает. Какие пермишшены? Вы, что -- напрямую chown делаете в
> > > %install? Замените эти chown на соответствующие
> > > %attr(режим,владелец,группа) перед этим же файлом в секции %files,
> > > или %defattr(режим, владелец, группа), если для всех файлов.
> 
> Осталось добавить, что если и владелец и группа = root, то всё будет
> нормально по умолчанию.

а еще добавить, что перед всякими mkdir /usr/bin/blalala надо ставить %RMP_BUILD_ROOT
это можно сделать еще на стадии %configure через префмкс  --prefix
а еще, если прога прописывает пути к данным в себя при сборке, то так не получится - надо править только секцию %инсталл..
или ее же в Makefile.
а еще очень помогает  perl -pi -e "g|сто меняем| на что меняем|s" -f Makefile в спеке для динамического исправления мейкфайла.
а лучше всего взять пару-тройку простых прог из альта и посмотреть на них.



-- 
С уважением,Любимов А.В.



  reply	other threads:[~2002-03-23 10:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-19 18:06 [sisyphus] Bug in Master? Keyd
2002-03-19 22:11 ` Vitaly Lipatov
2002-03-20  6:50   ` [sisyphus] " Michael Shigorin
2002-03-20  7:02   ` [sisyphus] " Andrei Bulava
2002-03-20 21:58     ` Vitaly Lipatov
2002-03-21  7:15       ` Re[2]: " Andrei Bulava
2002-03-22 12:57         ` [sisyphus] RPM iLL
2002-03-22 13:23           ` cornet
2002-03-22 13:23           ` Alexander Bokovoy
2002-03-22 23:40             ` [sisyphus] RPM Mikhail Zabaluev
2002-03-23 10:02               ` Любимов А.В. [this message]
2002-03-24 22:33                 ` Mikhail Zabaluev

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=20020323130222.1fac7fdf.avl@l14.ru \
    --to=avl@l14.ru \
    --cc=sisyphus@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 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