Description of problem: rpmbuild --rebuild xulrunner-1.9-0.beta5.6.el5.src.rpm produces a warning about wrong find -maxdepth syntax and later crashes because glob %{mandir}/man1/* can't find any files. There are indeed no files there to be found. The following fixes both problems: --- xulrunner.spec.orig 2008-04-28 09:20:30.000000000 +0200 +++ xulrunner.spec 2008-05-22 15:41:58.000000000 +0200 @@ -174,12 +174,12 @@ %{__install} -p -D -m 644 rh-default-prefs $RPM_BUILD_ROOT/${MOZ_APP_DIR}/defaults/pref/all-redhat.js %{__rm} rh-default-prefs -%{__install} -p -D -m 644 %{SOURCE23} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 +#%{__install} -p -D -m 644 %{SOURCE23} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 %{__rm} -f $RPM_BUILD_ROOT${MOZ_APP_DIR}/%{name}-config cd $RPM_BUILD_ROOT${MOZ_APP_DIR}/chrome -find . -name "*" -type d -maxdepth 1 -exec %{__rm} -rf {} \; +find . -maxdepth 1 -name "*" -type d -exec %{__rm} -rf {} \; cd - # system extensions and plugins support @@ -318,7 +318,7 @@ %files %defattr(-,root,root,-) %{_bindir}/xulrunner -%{_mandir}/man1/* +#%{_mandir}/man1/* %{_libdir}/mozilla %{_datadir}/mozilla %dir /etc/gre.d
Is this still an issue with the current release of xulrunner on your computer?
Reporter, could you please reply to the previous question? If you won't reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.
(In reply to comment #1) No; 1.9-1.el5 builds correctly without patching.
Thanks