Bug 447934 - src.rpm doesn't build
Summary: src.rpm doesn't build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xulrunner
Version: 5.2
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Gecko Maintainer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-22 14:44 UTC by Zenon Panoussis
Modified: 2008-09-15 09:37 UTC (History)
0 users

Fixed In Version: 1.9-1.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-15 09:37:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zenon Panoussis 2008-05-22 14:44:07 UTC
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

Comment 1 Matěj Cepl 2008-07-29 23:51:55 UTC
Is this still an issue with the current release of xulrunner on your computer?

Comment 2 Matěj Cepl 2008-09-12 22:03:40 UTC
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.

Comment 3 Zenon Panoussis 2008-09-14 08:42:16 UTC
(In reply to comment #1)

No; 1.9-1.el5 builds correctly without patching.

Comment 4 Matěj Cepl 2008-09-15 09:37:33 UTC
Thanks


Note You need to log in before you can comment on or make changes to this bug.