On Mon, May 28, 2012 at 6:29 PM, Jordan Sissel <jls@xxxxxxxxxxxxxxxx> wrote:
Howdy folks!I'm mostly noting this here for posterity.I'm trying to package software that has files with '%' in the names. I tried a few things, but nothing worked. Googling found only this thread from 2003 which indicated that "%%" "should" work but it does not (thread; ://tech.groups.yahoo.com/group/rpm-list/message/21824)If my %files section is follows, for testing all possible permutations ;)%files/example/%name/example/%%name/example/%%%name/example/%%%%name/example/%{%}name/example/\%nameThe error with rpmbuild is:RPM build errors:File not found: /tmp/package-rpm-build20120528-31204-qsgxuu/BUILD/example/helloworldFile not found: /tmp/package-rpm-build20120528-31204-qsgxuu/BUILD/example/helloworldFile not found: /tmp/package-rpm-build20120528-31204-qsgxuu/BUILD/example/%helloworldFile not found: /tmp/package-rpm-build20120528-31204-qsgxuu/BUILD/example/helloworldFile not found: /tmp/package-rpm-build20120528-31204-qsgxuu/BUILD/example/%{%}nameFile not found: /tmp/package-rpm-build20120528-31204-qsgxuu/BUILD/example/\helloworldJudging from the above, it appears the correct way to escape a single % in a filename is to use '%%%'-Jordan
Replying to my own nonsense.
I misread the output. None of my attempted escapes actually worked.
Any ideas?
-Jordan
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list