#519 Old filters in guidelines example
Closed: Fixed None Opened 7 years ago by ppisar.

[https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Pidgin_plugin_package] shows an example how to exclude a file from scanning for provides. It displays old ''!__provides_filter_from'' macro while it should advertise new ''!__provides_exclude_from'' macro. Please update the example.

It would be much more helpful if you could propose a change that we could vote on. I'll add it to the meeting though, see if any FPC members want to volunteer.

Dear kids, I show how to replace !__provides_filter_from with !__provides_exclude_from string in the example. If you remove this paragraph:

%global __provides_filter_from ^%{_libdir}/purple-2/.*\.so$

and write this one instead:

%global !__provides_exclude_from ^%{_libdir}/purple-2/.*\.so$

you will achieve the difficult goal. If there is something unclear to you, don't hesitate to ask. I'm here to help you.

The goal appears to be more difficult than you think since the solution you posted is invalid. I dont know what exactly you're trying to achieve with the exclamation mark in there but what that does is try to declare a macro named "{{{!__provides_exclude_from}}}", which is not a legal name.

We discussed this at today's meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2015-03-26/fpc.2015-03-26-16.00.txt):

  • 519 Old filters in guidelines example (geppetto, 17:03:40)

  • LINK: https://fedorahosted.org/fpc/ticket/519 (geppetto, 17:03:45)
  • ACTION: Fix typo in example from __provides_filter_from to
    __provides_exclude_from (+1:6, 0:0, -1:0) (geppetto, 17:20:45)

This was just a typo and I fixed it during the meeting.

Metadata Update from @james:
- Issue assigned to tibbs

5 years ago

Login to comment on this ticket.