From: "Андрей Черепанов" <cas@altlinux.ru>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] проблемы с find_requires
Date: Wed, 17 Nov 2010 18:49:52 +0300
Message-ID: <201011171849.52862.cas@altlinux.ru> (raw)
In-Reply-To: <AANLkTinR3Tqm1T4vfzmHmrNqQWr1HXHzxGgmyggV3iKw@mail.gmail.com>
17 ноября 2010 Anton Chernyshov написал:
> Всем привет!
>
> Собрал новую версию preload. В результате после сборки sisyphus_check
> ругался на вот такое:
>
> /.out/preload-0.6.4-alt1.x86_64.rpm: forbidden requires:
> /etc/rc.d/init.d(daemon) /etc/rc.d/init.d(killproc)
> sisyphus_check: check-deps ERROR: package dependencies violation
>
> Проблему сборки я "решил" добавлением в начало спека:
>
> %add_findreq_skiplist /etc/rc.d/init.d/preload
>
> Но у меня очень серьезные подозрения, что так делать неправильно.
> Просьба к более опытным майнтейнерам, если не трудно,
> прокомментируйте, пожалуйста.
>
> Спек-файл можно посмотреть здесь -
> http://git.altlinux.org/people/ach/packages/?p=preload.git;a=blob;f=preload
> .spec;h=2a3ac2c4414e62bd88be9caecd44f810b5cb0785;hb=3eb081a807ef65b3e5b749b
> 0e99343deea259f57
Антон, придётся публично разьяснять (хотя ты мог бы и меня, как ментора
спросить):
Пакет сложный, зря ты за него взялся. Весь спек-файл ужасный.
1. Для начала запусти buildreq для получения сборочных зависимостей. А то
glib2 явно прибит, хотя вытягивается glib2-devel
2. Ты уверен, что лицензия такая?
3. Зачем явно писал
# install pdf documentation
install -D --mode=0644 %SOURCE1
%buildroot/%_defaultdocdir/%name-%version/%name.pdf
# install other upstream documentation
for i in README AUTHORS ChangeLog TODO THANKS NEWS ; do
cp $i %buildroot/%_defaultdocdir/%name-%version/
done
?
В %files проще было прописать:
%doc %SOURCE1 README AUTHORS ChangeLog TODO THANKS NEWS
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
next prev parent reply other threads:[~2010-11-17 15:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 15:37 Anton Chernyshov
2010-11-17 15:46 ` Alexey I. Froloff
2010-11-17 15:49 ` Андрей Черепанов [this message]
2010-11-17 15:52 ` Alexey I. Froloff
2010-11-17 16:05 ` Dmitry V. Levin
2010-11-17 16:16 ` Anton Chernyshov
2010-11-17 16:09 ` Anton Chernyshov
2010-11-17 16:39 ` Mikhail Efremov
2010-11-25 9:45 ` [newbies] проблемы с инитскриптом Michael Shigorin
2010-11-25 10:26 ` Anton Chernyshov
2010-11-25 16:47 ` Dmitry V. Levin
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=201011171849.52862.cas@altlinux.ru \
--to=cas@altlinux.ru \
--cc=devel-newbies@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
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