FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 10-06-2010, 08:20 PM
Orion Poplawski
 
Default Filtering Provides/Requires

Since this just came up and I'm working on an issue.

I need to filter from Provides/Requires everything in a file generated at the
end of the %install step. Is this possible with the tools listed in
https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering?
It's not obvious to me if it is. I can't use %filter_provides_in because I do
need to capture some but not all requires from those items.

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 10-06-2010, 08:27 PM
Orion Poplawski
 
Default Filtering Provides/Requires

On 10/06/2010 02:20 PM, Orion Poplawski wrote:
> Since this just came up and I'm working on an issue.
>
> I need to filter from Provides/Requires everything in a file generated at the
> end of the %install step. Is this possible with the tools listed in
> https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering?
> It's not obvious to me if it is. I can't use %filter_provides_in because I do
> need to capture some but not all requires from those items.
>

Also, I'm afraid that my package installs binaries in /usr/bin, so it looks
like I couldn't use the above filters anyways. What to do?

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 10-06-2010, 09:21 PM
Jon Masters
 
Default Filtering Provides/Requires

On Wed, 2010-10-06 at 14:27 -0600, Orion Poplawski wrote:
> On 10/06/2010 02:20 PM, Orion Poplawski wrote:
> > Since this just came up and I'm working on an issue.
> >
> > I need to filter from Provides/Requires everything in a file generated at the
> > end of the %install step. Is this possible with the tools listed in
> > https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering?
> > It's not obvious to me if it is. I can't use %filter_provides_in because I do
> > need to capture some but not all requires from those items.
> >
>
> Also, I'm afraid that my package installs binaries in /usr/bin, so it looks
> like I couldn't use the above filters anyways. What to do?

In the past, I've written custom find-requires/find-provides scripts.
That's one option if you want to do all the heavy lifting yourself, then
you can disable the internal dependency generator in RPM. That should be
a last resort though - why exactly do you need to do this?

Jon.


--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 05:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org