[Freeipa-devel] [PATCH] 109 Fixed rpm build warning - extension.js listed twice

Petr Vobornik pvoborni at redhat.com
Thu Mar 15 13:52:34 UTC 2012


Attached updated patch with totally different approach (thanks Endi).

This patch moves extension.js to new directory: 'ext'. Ext directory 
should serve as a place for user extensions.

It eliminated the problem.

On 03/14/2012 03:40 PM, Petr Vobornik wrote:
> First, I have to say that I'm new to rpm specs and I don't like this
> patch but I don't have better solution.
>
> Problem:
> Building the ipa rpms returns this:
> warning: File listed twice: /usr/share/ipa/ui/extension.js
>
> Cause:
> This is because of a glob:
> %{_usr}/share/ipa/ui/*.js
>
> and then more specifically:
> %config(noreplace) %{_usr}/share/ipa/ui/extension.js
>
> https://fedorahosted.org/freeipa/ticket/2253
>



-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0109-1-Fixed-rpm-build-warning-extension.js-listed-twice.patch
Type: text/x-patch
Size: 3676 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120315/5dbc7d08/attachment.bin>


More information about the Freeipa-devel mailing list