From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] unmets on debug packages?
Date: Tue, 15 Feb 2011 16:21:52 +0300
Message-ID: <20110215132152.GH24227@altlinux.org> (raw)
In-Reply-To: <20110215130601.GA7097@dad.imath.kiev.ua>
On Tue, Feb 15, 2011 at 03:06:03PM +0200, Igor Vlasenko wrote:
> On Tue, Feb 15, 2011 at 03:58:34PM +0300, Alexey Tourbin wrote:
> > On Tue, Feb 15, 2011 at 02:51:19PM +0200, Igor Vlasenko wrote:
> > > Господа,
> > > у меня завернуло пакет с unmet на debug(libodbc*.so)
> >
> > Там проприетарный бинраик слинкован не с сонеймом,
> > а с симлинком. По-нормальному это работать не будет.
> > Worarkound: для бинарика, слинкованного с симлинком,
> > надо не допустить создание *.debug файла. Либо обрезать
> > бираник самостоятельно
> >
> > strip binary-with-libodbc.so
> >
> > либо исключить из обрезания
> >
> > %brp_strip_none */binary-with-libodbc.so
>
> Спасибо!
Есть ещё одно сильнодействующее средство:
%filter_from_requires /^debug.*(libodbc.*\.so)/d
Его можно улучшить:
%filter_from_requires /^debug.*(libodbc.*\.so)/s/\.so)/.so.1)/
Вот другой рецепт, который может пригодиться:
%filter_from_requires s/^\(lib.*odbc.*\.so\)\((.*\)\? >= \(.*\)/\1\2 \1.1\2 >= \3/
$ echo 'libodbc.so()(64bit) >= set:xxx' |sed 's/^\(lib.*odbc.*\.so\)\((.*\)\? >= \(.*\)/\1\2 \1.1\2 >= \3/'
libodbc.so()(64bit) libodbc.so.1()(64bit) >= set:xxx
$
next prev parent reply other threads:[~2011-02-15 13:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 12:51 ` Igor Vlasenko
2011-02-15 12:58 ` Alexey Tourbin
2011-02-15 13:06 ` Igor Vlasenko
2011-02-15 13:21 ` Alexey Tourbin [this message]
2011-02-15 13:34 ` Igor Vlasenko
2011-02-15 19:56 ` Michael Shigorin
2011-02-15 19:59 ` Alexey Tourbin
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=20110215132152.GH24227@altlinux.org \
--to=at@altlinux.ru \
--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