I found that I couldn't use bugzilla by installing only bugzilla-2.10- 8.noarch.rpm since there are a lot of missing files from original bugzilla- 2.10. For example, there is no index.html and other html files. Moreover, there is no RelationSet.pm file. So, I need to install them from tarball of bugzilla original source. Could you update bugzilla-2.10-8.noarch.rpm to put all those extra files? Or if we need not only bugzilla package but also other packages, please mention so in the README file or somewhere? Thanks.
ok, i got bit, too. it's just spec file change. [grumble...] here's the patch: ---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<--- --- bugzilla.spec.or Tue Mar 13 23:48:45 2001 +++ bugzilla.spec Wed Mar 14 00:04:17 2001 @@ -1,7 +1,7 @@ Summary : A bug tracking system developed by mozilla.org. Name : bugzilla Version : 2.10 -Release : 8 +Release : 9 Copyright : MPL Group : Development/Tools Source : http://ftp.mozilla.org/pub/webtools/bugzilla-LATEST.tar.gz @@ -32,8 +32,12 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{prefix}/data mkdir -p $RPM_BUILD_ROOT/%{prefix}/shadow +install *.jpg $RPM_BUILD_ROOT/%{prefix} +install *.gif $RPM_BUILD_ROOT/%{prefix} install *.cgi $RPM_BUILD_ROOT/%{prefix} install *.pl $RPM_BUILD_ROOT/%{prefix} +install *.pm $RPM_BUILD_ROOT/%{prefix} +install *.html $RPM_BUILD_ROOT/%{prefix} install processmail $RPM_BUILD_ROOT/%{prefix} chmod 1777 $RPM_BUILD_ROOT/%{prefix}/shadow chmod 1777 $RPM_BUILD_ROOT/%{prefix}/data @@ -51,6 +55,10 @@ %doc README %changelog +* Wed Mar 14 2001 Alan Eldridge <alane> +- install html, gif, jpg files +- install missing RelationSet.pm + * Mon Aug 14 2000 Tim Powers <timp> - fixed bug #16147, dependancy problems. - patched all the files which looked for perl in /usr/bonsaitools/bin ---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<--- Please note that a lot of other textual things need to be changed as well. I'll submit a second patch for that.
ok, the remaining things need to be changed in defparam.pl, and that's gotta happen at install time, not build time. a reminder to edit the file in the %post section really should be enough.
I have added the suggested changes to the installation procedure, but I can't add text output in the %post section, it's against our policy (FYI text output from packages is a bad thing). Tim
*** Bug 41634 has been marked as a duplicate of this bug. ***
*** Bug 42172 has been marked as a duplicate of this bug. ***
Unltil rawhide is updated, you can get the fixed bugzilla packages here: http://people.redhat.com/timp/RPMS/bugzilla-2.12-2.noarch.rpm and http://people.redhat.com/timp/SRPMS/bugzilla-2.12-2.src.rpm Tim
Looks like this package isn't quite right, either; rpm -Uvh bugzilla-2.12-2.noarch.rpm error: failed dependencies: /usr/bonsaitools/bin/perl is needed by bugzilla-2.12-2 It's quite easy to get around this, of course, but still...