ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: php-coder <php-coder@ngs.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: Как не удалять пакет ? (синаптик, --nodeps)
Date: Sat, 26 Mar 2005 19:09:47 +0600
Message-ID: <146148960.20050326190947@ngs.ru> (raw)
In-Reply-To: <1111828934.10489.7.camel@alpha.fastlink.ru>


--- Вячеслав Диконов 2005-03-26 12:22:14 +0300
+++ php-coder 2005-03-26 16:55:32 +0600

    /me любит разглядывать чужие спеки :))

    Можно пару рекомендаций? Просто посоветую..

    + BuildRequires неплохо бы разбить на несколько строк, так
      читабельность повысится?

    + BuildRequires сгенерирован при помощи buildreq? Есть подозрение,
      что нет: во-первых, скрипт бы добавил свой "фирменный" комментарий,
      а, во-вторых, не хватает одной зависимости :)

      Там в спеке используется convert, которая находится в пакете
      ImageMagick. В BuildRequires я его что-то не увидел? Или, быть может,
      convert из Sisyphus'а находится в другом пакете?

    + s/rm -fr/%__rm -rf/g

    + s/ln -sf/%__ln_s -f/g

    + s/mkdir -p/%__mkdir_p/g
        
    + s/$RPM_BUILD_ROOT/%buildroot/g

> ?package(%name): command="%name" [skip]

    А тут IMHO лучше написать command="%_bindir/%name", т.к. может быть
    установлена эта же программа в /usr/local и в таком случае запустится
    именно она...

> %_bindir/%name

    %_bindir/*

> %_mandir/man1/*

    %_man1dir/*

> %_menudir/%name

    %_menudir/*

> %_liconsdir/%name.png
> %_iconsdir/%name.png
> %_miconsdir/%name.png

    %_miconsdir/*
    %_liconsdir/*
    %_iconsdir/%name.png

    + А где тег Packager?

    Эээ... надеюсь, вы не воспримите мои советы, как критику. Просто хотел
    помочь. Я всегда в своих спеках использую макросы где это только возможно.
    И как я понял использование $RPM_BUILD_ROOT тоже нежелательно, так как
    есть макрос %buildroot Я правильно понимаю?

    Удачи!

-- 
+ php-coder
+ php-coder[at]ngs[dot]ru
+ ALTLinux Master 2.4 (kernel 2.4.26-std-up-alt6)



  reply	other threads:[~2005-03-26 13:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-26  0:47 [sisyphus] " Arioch
2005-03-26  8:20 ` [sisyphus] " Michael Shigorin
2005-03-26  9:22   ` Вячеслав Диконов
2005-03-26 13:09     ` php-coder [this message]
2005-03-27 15:13       ` [sisyphus] [JT] " Michael Shigorin
2005-03-27 15:46         ` php-coder
2005-03-27 15:55           ` [sisyphus] " Michael Shigorin
2005-03-27 16:12             ` php-coder
2005-03-28  7:30           ` [sisyphus] " Led
2005-03-28 13:08             ` Re[2]: " php-coder
2005-03-28 13:13               ` Andrey Rahmatullin
2005-03-26 15:14   ` [sisyphus] " Arioch
2005-03-26 15:23     ` Вячеслав Диконов
2005-03-27  1:48       ` [sisyphus] Re: лБЛ ОЕ ХДБМСФШ РБЛЕФ ? (УЙОБРФЙЛ, --nodeps) Arioch
2005-03-27 15:14     ` [sisyphus] Re: Как не удалять пакет ? (синаптик, --nodeps) Michael Shigorin

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=146148960.20050326190947@ngs.ru \
    --to=php-coder@ngs.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