Re: [ATrpms-users] Building nvidia 310 driver for Fedora 16 x86_64

Paulo Cavalcanti <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.devel,gmane.linux.redhat.rpm.atrpms.general
Message-ID <CAMgUmnm8o0X5kUnRuQeB6=jDPBQJT_vzX+ZGyXawMr-02PBviA@mail.gmail.com>
On Wed, Dec 5, 2012 at 6:15 PM, George Galt <[email protected]> wrote:

> Well, I've tried to follow the instructions on the Packaging Guidelines,
> but it doesn't seem to have worked for me.  I'm reasonable new to RPM
> packaging, so I might be missing something.
>
> I've added
> %filter_from_requires '/libnvcuvid.so()(64bit)/d'
>
> after the lines
> Requires(post): nvidia-graphics-helpers
> %kmdl nvidia-graphics%{version}
> %kmdl_parentdependencies
>

Well, it does work:

........

#Requires: python2, pyxf86config >= 0.3.5
Requires(post): nvidia-graphics-helpers

%{?filter_setup:
%filter_from_requires /^libnvcuvid\.so/d;
%filter_setup
}

%kmdl nvidia-graphics%{version}
%kmdl_parentdependencies

......


I can upload a new .src.rpm, if you want.


-- 
Paulo Roma Cavalcanti
DCC - UFRJ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.