Hi Stanislav, Alec,

On Tue Feb 03 2015 at 7:51:43 PM Alec Leamas <leamas.alec@gmail.com> wrote:
On 03/02/15 12:44, Stanislav Ochotnicky wrote:
>
> As with several other patches wrt %license flag the problem is that this
> is really new rpm feature and rpm in EPEL 6 doesn't support it (-L
> switch)
>
> One option would be to say we drop support for EPEL which I personally
> wouldn't mind but there were different opinions on the topic...
>

Another option would be to use the existing flag mechanisms. Basically:

- Register a new EPEL6 flag by amending
plugins/generic.py:Register;;register()
- Conditionalize the patch using  self.flags['EPEL6']; there is plenty
of examples using 'EPEL5' in generic.py.

Updated patch incorporating your feedback. I've tested it manually and ran the make_release process as well; seems not to introduce any regression, but more eyeballs definitely appreciated.

Thanks for all the help,

-- 
Michel