Description of problem: Spec file fails to build RPM. Version-Release number of selected component (if applicable): colorscheme-0.3-3.fc5.src.rpm How reproducible: 100% Steps to Reproduce: 1. install source rpm and use rpmbuild -bb or rpmbuild --rebuild on source rpm Actual results: RPM build fails. Expected results: RPM build should complete. Additional info: Patch attached ...
Created attachment 127549 [details] Patch to fix colorscheme spec file
The first part of the patch is trivial. By default, the %fedora macro is not defined outside the FE buildsys. But the second part is weird: > -%files -f %{name}.lang > +%files -f %{name}.%{lang} What do you try to achieve there? You just change a file name in a weird way, the name of the filelist containing message object files. The %lang macro is normal used for flagging language-specific files with the locale id, like %lang(en) %_datadir/helo/foo.txt %lang(de) %_datadir/helo/bar.txt I haven't seen your usage before.
Hi Michael, Er ... maybe I'm wrong then :) I think I got two things confused .. ignore the second part of the patch... P.
Fixed in 0.3.91-1, thanks.