ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] RPM_Macros_Packaging_Policy
Date: Tue, 26 May 2020 15:37:16 +0300
Message-ID: <20200526123716.GD13727@altlinux.org> (raw)

On Tue, May 26, 2020 at 01:57:51PM +0200, Alexey Gladkov wrote:
[...]
> Я согласен, что текст полиси непоследователен

Если мы меняем текст, я предлагаю переформулировать первые два положения,
которые сейчас выглядят так:

* Файлы с макросами должны лежать в /usr/lib/rpm/macros.d/ (текущее
  значение макроса %_rpmmacrosdir).
* Для поддержания обратной совместимости разрешается (но не рекомендуется)
  держать файлы с макросами в /etc/rpm/macros.d (не в /etc/rpm/).
  В следующей крупной редакции этой политики директория /etc/rpm/macros.d
  будет запрещена.

Например, просто убрать положение про /etc/rpm/macros.d; для справки:
$ grep -h '^/etc/rpm/macros\.d/' Sisyphus/{noarch,x86_64}/base/contents_index
/etc/rpm/macros.d/build-it-nasty	rpm-build-nasty
/etc/rpm/macros.d/fpc	rpm-build-fpc
/etc/rpm/macros.d/gmpc	rpm-build-gmpc
/etc/rpm/macros.d/linux-ha	rpm-build-linux-ha
/etc/rpm/macros.d/mpi-selector	rpm-macros-mpi-selector
/etc/rpm/macros.d/php7	rpm-build-php7
/etc/rpm/macros.d/php7-ver	rpm-build-php7-version
/etc/rpm/macros.d/reponame	rpm-macros-reponame
/etc/rpm/macros.d/rpm-build-rpm-eval	rpm-macros-rpm-eval
/etc/rpm/macros.d/rpm-macros-apache	rpm-macros-apache
/etc/rpm/macros.d/rpm-macros-webobjects	rpm-macros-webobjects
/etc/rpm/macros.d/seamonkey	rpm-build-seamonkey
/etc/rpm/macros.d/thunderbird	rpm-build-thunderbird
/etc/rpm/macros.d/vhosts-filesystem	rpm-macros-vhosts-filesystem
/etc/rpm/macros.d/webserver-cgi-bin-control	rpm-macros-webserver-cgi-bin-control
/etc/rpm/macros.d/winamplike-skins	rpm-build-wlskins
/etc/rpm/macros.d/xfce4	rpm-build-xfce4
/etc/rpm/macros.d/browser-plugins	rpm-build-browser-plugins

$ grep -h '^/usr/lib/rpm/macros\.d/' Sisyphus/{noarch,x86_64}/base/contents_index |wc -l
135


-- 
ldv


             reply	other threads:[~2020-05-26 12:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26 12:37 Dmitry V. Levin [this message]
2020-05-26 13:23 ` Alexey Gladkov
2020-05-26 13:49 ` Anton Farygin
2020-05-26 13:52   ` Alexey V. Vissarionov
2020-05-26 14:32     ` Sergey V Turchin
2020-05-26 14:58       ` Alexey V. Vissarionov
2020-05-27  7:20         ` Sergey V Turchin
2020-05-27  7:23           ` Sergey V Turchin
2020-05-27  8:53             ` Alexey V. Vissarionov
2020-05-26 14:55     ` Andrey Savchenko
2020-05-26 15:35   ` Dmitry V. Levin
2020-05-26 18:04     ` Anton Farygin
2020-05-26 18:28       ` Alexey V. Vissarionov

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=20200526123716.GD13727@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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