ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] sisyphus_check: check-fhs ERROR: FHS violation
Date: Mon, 19 Sep 2022 16:56:51 +0300
Message-ID: <20220919135651.GB25413@altlinux.org> (raw)
In-Reply-To: <175361663593343@mail.yandex.ru>

On 2022-09-19 16:37:39 +0300, Скрылевъ Малъ wrote:

 >> По всей видимости не нравятся файлы в /usr/local/lib/ruby
 >> (если я правильно понял регулярку из sisyphus_check)
 >> Только вот этот путь определён в пакете rpm-macros-ruby
 >>> %ruby_sitelibdir /usr/local/lib/ruby
 >> Да и в стандарте FHS /usr/local/lib/* собственно так же является
 >> валидным путём для локально установленных приложений.
 >> Я не туда смотрю или всё таки с проверкой что то не так?
 > Да вы смотрите туда. Пакеты с site модулями, предназначены
 > для конечных пользователей, и потому содержат префикс local,
 > для дистрибутивов же используются папки с маркировкою vendor,
 > таковы рекомендации документации ruby,

Тогда каталоги должны быть хотя бы %_libdir/ruby/{local,vendor}

 > где для модулей os должны использоваться папки с именованием
 > vendor (разные для lib и arch), а также с [1]
 > https://fedoraproject.org/wiki/Packaging:Ruby, потому по
 > обсуждению с использующими руби нашими разработчиками,
 > рекомендуется для пакетов не собирающихся как gem-ы,
 > использовать %ruby_vendorlibdir для .rb и %ruby_vendorarchdir
 > для .so

Вот еще бы помойку при этом не создавать... /usr/local aka /opt
в идеале должен вообще быть пустым.


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net


      parent reply	other threads:[~2022-09-19 13:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19 12:54 ` Anton Farygin
2022-09-19 13:34 ` Sergey V Turchin
2022-09-19 13:56   ` Alexey V. Vissarionov [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=20220919135651.GB25413@altlinux.org \
    --to=gremlin@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