On Friday 2013-11-22 18:51, Marguerite Su wrote:
So this is not something _wrong_. It's not _wrong_, but something _not reliable_.
The * syntax works sometimes, and fails sometimes. But unluckily we don't know when is "sometimes".
%files /foo/*
always works. Either * matches some files, in which case they are gobbled up, or if * matches no file, then * stays unexpanded, and rpmbuild would throw an error _because_ "/foo/*" does not exist.
Now in your case, you have a verbatim file "/foo/*" which is matched by, surprise, /foo/*, and you create it here:
install -d %{buildroot}%{_prefix}/lib/steam ==> touch %{buildroot}%{_prefix}/lib/steam/*
So that is unlikely to work on 12.3 too.