rpmbuild how to handle "%" in filenames.
Jordan Sissel
jls at semicomplete.com
Mon Sep 16 16:40:54 UTC 2013
fpm users hit this problem quite a bit, so I have workarounds:
https://github.com/jordansissel/fpm/blob/master/lib/fpm/package/rpm.rb#L128-L134
The code above has rules for handling files with spaces, and hacks for
escaping [ % ? and * characters. Hope this helps.
-Jordan
On Mon, Sep 16, 2013 at 7:29 AM, <mikael at nighter.se> wrote:
> Hi,
>
> I have an issue related to rpmbuild. I bundle alot of rubygems inside my
> rpm file.
>
> My issue is that some of these files contains "%" in filename and when I
> specify them under the %files section rpmbuild handle them as an macro.
>
> So is there a way to tell rpmbuild to not handle these filenames as an
> macro?
> Tried with \% %% %%%% but none of these seems to be sufficient.
>
> Here is some os related information
>
> rpmbuild --version
> RPM version 4.8.0
>
> -bash-4.1$ cat /etc/*release*
> Red Hat Enterprise Linux Server release 6.1 (Santiago)
>
> Looked for a solution in several days now but not found any so I really
> hope anyone have any input that could point me to the right direction.
>
> Thanks in advance.
>
> Regards
> Mikael
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20130916/434b8be8/attachment.html>
More information about the Rpm-list
mailing list