FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 06-21-2008, 11:05 PM
Jason L Tibbitts III
 
Default Requires(hint):

I've seen packages using Requires(hint): and testing shows that
currently this is handled no differently from a regular Requires:.

I happen to think Requires(hint): is a horrible syntax, because
cognation with Requires(pre, post, preun, etc.): implies that some
%hint scriptlet will be run at some point, but that's neither here nor
there and I suspect that any upstream brain-damage is already a fait
accompli.

However, there's still the question of what to do with Requires(hint):
in Fedora packages. Either we get rid of it or we need to document
what it does and what it might do in the future.

Strawman proposal: ban use of Requires(hint) in Fedora packages.

Comments? Votes from FPC folks?

- J<

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 
Old 06-22-2008, 12:20 AM
Patrice Dumas
 
Default Requires(hint):

On Sat, Jun 21, 2008 at 06:05:34PM -0500, Jason L Tibbitts III wrote:
> I've seen packages using Requires(hint): and testing shows that
> currently this is handled no differently from a regular Requires:.

This looks like a bug. Shouldn't a 'hint' not be installed in the defaut
case?

--
Pat

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 
Old 06-22-2008, 12:59 AM
Jason L Tibbitts III
 
Default Requires(hint):

>>>>> "PD" == Patrice Dumas <pertusus@free.fr> writes:

PD> This looks like a bug. Shouldn't a 'hint' not be installed in the
PD> defaut case?

I think the bug is that the build proceeds at all with Requires(hint)
present. I'm not sure it's handled any differently than
Requires(randomcrap):. In fact, testing shows that it isn't.

The point is that our rpm doesn't seem to recognize Requires(hint)
specifically. It might start doing so in the future; I don't know.
If it does, I expect that the behavior will change because the current
behavior isn't what you would expect if rpm actually recognized the
string in parentheses. Thus I think it's a bad idea for us to have it
anywhere in the distro currently.

- J<

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 
Old 06-22-2008, 01:30 AM
"Christopher Stone"
 
Default Requires(hint):

On Sat, Jun 21, 2008 at 4:05 PM, Jason L Tibbitts III <tibbs@math.uh.edu> wrote:
> Strawman proposal: ban use of Requires(hint) in Fedora packages.

Shouldn't this be: ban use of Requires(RandomCrapWhichIsntSupportedYet)
Otherwise, I can just change my Requires(hint) to Requires(opt) or
some other random crap.

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 
Old 06-22-2008, 02:04 AM
Jason L Tibbitts III
 
Default Requires(hint):

>>>>> "CS" == Christopher Stone <chris.stone@gmail.com> writes:

CS> Shouldn't this be: ban use of
CS> Requires(RandomCrapWhichIsntSupportedYet) Otherwise, I can just
CS> change my Requires(hint) to Requires(opt) or some other random
CS> crap.

It would be disappointing to have to go to this level of lawyering. I
mean, who would actually do that?

Of course, I'd hoped that people wouldn't want to use things like
Requires(hint): until they're actually defined and supported, but that
seems to have been a lost cause.

- J<

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 

Thread Tools




All times are GMT. The time now is 08:23 PM.

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