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.https://github.com/jordansissel/fpm/blob/master/lib/fpm/package/rpm.rb#L128-L134
On Mon, Sep 16, 2013 at 7:29 AM, <mikael@xxxxxxxxxx> 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@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list