* [newbies] Генерация Requires в спеке
@ 2016-04-13 5:58 Stas
2016-04-13 6:29 ` Hihin Ruslan
2016-04-13 8:49 ` Michael Shigorin
0 siblings, 2 replies; 3+ messages in thread
From: Stas @ 2016-04-13 5:58 UTC (permalink / raw)
To: devel-newbies
Приветствую!
У пакета зависимости - только бибилиотеки, используемые собранными
программами. Совсем не хочется искать и вставлять зависимости от этих
библиотек.
Верно ли, что в таком случае "Requires:" автоматически будет создан при
сборке в репозитарии?
Есть ли утилита для генерации Requires аналогично Buildrequires?
--
Станислав Дёгтев
Служба "Ваш админ"
Мои контакты:
- jabber: grumbler@grumbler.org
- email: stas.grumbler@gmail.com и stas@vashadmin.su
- телефоны в Е-бурге +79045430461 и +79222112259
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [newbies] Генерация Requires в спеке
2016-04-13 5:58 [newbies] Генерация Requires в спеке Stas
@ 2016-04-13 6:29 ` Hihin Ruslan
2016-04-13 8:49 ` Michael Shigorin
1 sibling, 0 replies; 3+ messages in thread
From: Hihin Ruslan @ 2016-04-13 6:29 UTC (permalink / raw)
To: devel-newbies
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
Здравствуйте Stas
В сообщении от 13 апреля 2016 Stas написал(a):
> Верно ли, что в таком случае "Requires:" автоматически будет
> создан при сборке в репозитарии?
Да, конечно, так в 90% случаях и бывает. Requires требуются в
основном, если есть нетривиальная зависимость, или из одного
srpm создаются несколько rpm и/или надо указать зависимость на
конуретную версию пакета.
--
А ещё говорят так (fortune):
.
________________________________________________________________________
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [newbies] Генерация Requires в спеке
2016-04-13 5:58 [newbies] Генерация Requires в спеке Stas
2016-04-13 6:29 ` Hihin Ruslan
@ 2016-04-13 8:49 ` Michael Shigorin
1 sibling, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2016-04-13 8:49 UTC (permalink / raw)
To: devel-newbies
On Wed, Apr 13, 2016 at 10:58:52AM +0500, Stas wrote:
> Есть ли утилита для генерации Requires аналогично Buildrequires?
/usr/lib/rpm/find-requires
/usr/lib/rpm/*.req
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-13 8:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 5:58 [newbies] Генерация Requires в спеке Stas
2016-04-13 6:29 ` Hihin Ruslan
2016-04-13 8:49 ` Michael Shigorin
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git