From f5a664c5e679c63e2d7c8a513bde6c1a639504c0 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 11 Aug 2010 17:17:27 -0400 Subject: [PATCH 1/7] recompiling .py files against Python 2.7 (rhbz#623281) --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 0b19282..33488f2 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -6,7 +6,7 @@ URL: http://www.bugzilla.org/ Name: bugzilla Version: 3.6.1 Group: Applications/Publishing -Release: 1%{?dist} +Release: 2%{?dist} License: MPLv1.1 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -185,6 +185,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib %changelog +* Wed Aug 11 2010 David Malcolm - 3.6.1-2 +- recompiling .py files against Python 2.7 (rhbz#623281) + * Fri Jun 25 2010 Emmanuel Seyman - 3.6.1-1 - Update to 3.6.1 From 04c7f203bec90dc70bdf72d856a289c49cb5042e Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Wed, 18 Aug 2010 23:44:59 +0200 Subject: [PATCH 2/7] * Update to 3.6.2 (#623426) * Only run checksetup if /etc/bugzilla/localconfig does not exist (#610210) * Add bugzilla-contrib to Requires (#610198) --- .gitignore | 1 + bugzilla.spec | 12 +++++++++--- sources | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d9e78fa..33e8d46 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ bugzilla-3.6.1.tar.gz +/bugzilla-3.6.2.tar.gz diff --git a/bugzilla.spec b/bugzilla.spec index 33488f2..f11d3b9 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -4,9 +4,9 @@ Summary: Bug tracking system URL: http://www.bugzilla.org/ Name: bugzilla -Version: 3.6.1 +Version: 3.6.2 Group: Applications/Publishing -Release: 2%{?dist} +Release: 1%{?dist} License: MPLv1.1 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -29,6 +29,7 @@ Requires: perl(Email::MIME) >= 1.861 Requires: perl(Email::MIME::Encodings) >= 1.313 Requires: perl(Email::MIME::Modifier) >= 1.442 Requires: perl(URI) +Requires: bugzilla-contrib %package doc Summary: Bugzilla documentation @@ -139,7 +140,7 @@ rm -rf ${RPM_BUILD_ROOT} %post (pushd %{bzinstallprefix}/bugzilla > /dev/null -./checksetup.pl > /dev/null +[ -f /etc/bugzilla/localconfig ] || ./checksetup.pl > /dev/null popd > /dev/null) %files @@ -185,6 +186,11 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib %changelog +* Wed Aug 18 2010 Emmanuel Seyman - 3.6.2-1 +- Update to 3.6.2 (#623426) +- Only run checksetup if /etc/bugzilla/localconfig does not exist (#610210) +- Add bugzilla-contrib to Requires (#610198) + * Wed Aug 11 2010 David Malcolm - 3.6.1-2 - recompiling .py files against Python 2.7 (rhbz#623281) diff --git a/sources b/sources index b82e8e4..e1881b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -74045f64fa7698f61ef24ef44b2e2074 bugzilla-3.6.1.tar.gz +c8bd9b81969cce1a0199a739b48bda06 bugzilla-3.6.2.tar.gz From 4c6bbbae433096928488a44ace577ac5298ee28a Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Wed, 3 Nov 2010 23:28:57 +0100 Subject: [PATCH 3/7] Update to 3.6.3 (#649406) Fix webdot alias in /etc/httpd/conf.d/bugzilla (#630255) Do not apply graphs patch (upstreamed) --- .gitignore | 1 + bugzilla-httpd-conf | 2 +- bugzilla-rw-paths.patch | 6 +++--- bugzilla.spec | 9 +++++++-- sources | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 33e8d46..5b5bfb8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ bugzilla-3.6.1.tar.gz /bugzilla-3.6.2.tar.gz +/bugzilla-3.6.3.tar.gz diff --git a/bugzilla-httpd-conf b/bugzilla-httpd-conf index bf195de..0373cb4 100644 --- a/bugzilla-httpd-conf +++ b/bugzilla-httpd-conf @@ -1,4 +1,4 @@ -Alias /bugzilla/var/lib/bugzilla/data/webdot /var/lib/bugzilla/data/webdot +Alias /var/lib/bugzilla/data/webdot /var/lib/bugzilla/data/webdot Alias /bugzilla /usr/share/bugzilla diff --git a/bugzilla-rw-paths.patch b/bugzilla-rw-paths.patch index a6a9c59..44d157a 100644 --- a/bugzilla-rw-paths.patch +++ b/bugzilla-rw-paths.patch @@ -1,6 +1,6 @@ --- bugzilla-3.4/Bugzilla/Constants.pm 2009-02-03 10:02:53.000000000 +0000 +++ bugzilla-3.4-rw/Bugzilla/Constants.pm 2009-02-18 17:59:52.000000000 +0000 -@@ -499,9 +499,9 @@ sub bz_locations { +@@ -539,9 +539,9 @@ 'cgi_path' => $libpath, 'templatedir' => "$libpath/template", 'project' => $project, @@ -11,9 +11,9 @@ + 'datadir' => "/var/lib/bugzilla/$datadir", + 'attachdir' => "/var/lib/bugzilla/$datadir/attachments", 'skinsdir' => "$libpath/skins", + 'graphsdir' => "$libpath/graphs", # $webdotdir must be in the web server's tree somewhere. Even if you use a - # local dot, we output images to there. Also, if $webdotdir is -@@ -509,7 +509,7 @@ sub bz_locations { +@@ -550,7 +550,7 @@ # change showdependencygraph.cgi to set image_url to the correct # location. # The script should really generate these graphs directly... diff --git a/bugzilla.spec b/bugzilla.spec index f11d3b9..cbfa981 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -4,7 +4,7 @@ Summary: Bug tracking system URL: http://www.bugzilla.org/ Name: bugzilla -Version: 3.6.2 +Version: 3.6.3 Group: Applications/Publishing Release: 1%{?dist} License: MPLv1.1 @@ -62,7 +62,7 @@ Contributed scripts and functions for Bugzilla %prep %setup -q -n %{name}-%{version} %patch0 -p1 -%patch1 -p0 +# patch1 -p0 rm -f Bugzilla/Constants.pm.orig # Remove bundled libs rm -rf lib @@ -186,6 +186,11 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib %changelog +* Wed Nov 03 2010 Emmanuel Seyman - 3.6.3-1 +- Update to 3.6.3 (#649406) +- Fix webdot alias in /etc/httpd/conf.d/bugzilla (#630255) +- Do not apply graphs patch (upstreamed) + * Wed Aug 18 2010 Emmanuel Seyman - 3.6.2-1 - Update to 3.6.2 (#623426) - Only run checksetup if /etc/bugzilla/localconfig does not exist (#610210) diff --git a/sources b/sources index e1881b5..454502e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c8bd9b81969cce1a0199a739b48bda06 bugzilla-3.6.2.tar.gz +c57031f0d9141239622935c1a50546aa bugzilla-3.6.3.tar.gz From 93814173c0858cae96446624b428fc5c64fcadc8 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Tue, 25 Jan 2011 10:17:22 +0100 Subject: [PATCH 4/7] Update to 3.6.4 --- .gitignore | 1 + bugzilla.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 5b5bfb8..e40fcb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bugzilla-3.6.1.tar.gz /bugzilla-3.6.2.tar.gz /bugzilla-3.6.3.tar.gz +/bugzilla-3.6.4.tar.gz diff --git a/bugzilla.spec b/bugzilla.spec index cbfa981..d61f91b 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -4,7 +4,7 @@ Summary: Bug tracking system URL: http://www.bugzilla.org/ Name: bugzilla -Version: 3.6.3 +Version: 3.6.4 Group: Applications/Publishing Release: 1%{?dist} License: MPLv1.1 @@ -17,17 +17,17 @@ Patch1: bugzilla-graphs-dir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: webserver, patchutils, perl(SOAP::Lite), which -Requires: perl(CGI) >= 3.33 -Requires: perl(Digest::SHA) +Requires: perl(CGI) >= 3.51 Requires: perl(Date::Format) >= 2.21 Requires: perl(DateTime) >= 0.28 Requires: perl(DateTime::TimeZone) >= 0.71 Requires: perl(DBI) >= 1.41 -Requires: perl(Template) >= 2.22 +Requires: perl(Digest::SHA) Requires: perl(Email::Send) >= 2.00 Requires: perl(Email::MIME) >= 1.861 Requires: perl(Email::MIME::Encodings) >= 1.313 Requires: perl(Email::MIME::Modifier) >= 1.442 +Requires: perl(Template) >= 2.22 Requires: perl(URI) Requires: bugzilla-contrib @@ -186,6 +186,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib %changelog +* Tue Jan 25 2011 Emmanuel Seyman - 3.6.4-1 +- Update to 3.6.4 + * Wed Nov 03 2010 Emmanuel Seyman - 3.6.3-1 - Update to 3.6.3 (#649406) - Fix webdot alias in /etc/httpd/conf.d/bugzilla (#630255) diff --git a/sources b/sources index 454502e..ae3a903 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c57031f0d9141239622935c1a50546aa bugzilla-3.6.3.tar.gz +1bb7980c50c51590d7c2341bc03d5151 bugzilla-3.6.4.tar.gz From b023613f7ac9706b2bcf8e7742bf1f579e73b4c9 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Mon, 7 Mar 2011 01:54:56 +0100 Subject: [PATCH 5/7] Put contrib/recode.pl in the main package so that it no longer depends on python and ruby Remove the contents of the lib/ directory, not the directory itself. Remove unused patch --- bugzilla-graphs-dir.patch | 104 -------------------------------------- bugzilla.spec | 34 ++++++++++--- 2 files changed, 28 insertions(+), 110 deletions(-) delete mode 100644 bugzilla-graphs-dir.patch diff --git a/bugzilla-graphs-dir.patch b/bugzilla-graphs-dir.patch deleted file mode 100644 index fc433c5..0000000 --- a/bugzilla-graphs-dir.patch +++ /dev/null @@ -1,104 +0,0 @@ -Index: collectstats.pl -=================================================================== -RCS file: /cvsroot/mozilla/webtools/bugzilla/collectstats.pl,v -retrieving revision 1.71 -diff -u -r1.71 collectstats.pl ---- collectstats.pl 6 Sep 2009 22:45:51 -0000 1.71 -+++ collectstats.pl 16 May 2010 09:22:28 -0000 -@@ -51,7 +51,7 @@ - - # Tidy up after graphing module - my $cwd = Cwd::getcwd(); --if (chdir("graphs")) { -+if (chdir(bz_locations()->{'graphdir'})) { - unlink <./*.gif>; - unlink <./*.png>; - # chdir("..") doesn't work if graphs is a symlink, see bug 429378 -Index: reports.cgi -=================================================================== -RCS file: /cvsroot/mozilla/webtools/bugzilla/reports.cgi,v -retrieving revision 1.95 -diff -u -r1.95 reports.cgi ---- reports.cgi 24 Oct 2009 05:21:06 -0000 1.95 -+++ reports.cgi 16 May 2010 09:22:28 -0000 -@@ -45,6 +45,8 @@ - use Bugzilla::Error; - use Bugzilla::Status; - -+use File::Basename; -+ - # If we're using bug groups for products, we should apply those restrictions - # to viewing reports, as well. Time to check the login in that case. - my $user = Bugzilla->login(); -@@ -54,8 +56,8 @@ - } - - my $dir = bz_locations()->{'datadir'} . "/mining"; --my $graph_url = 'graphs'; --my $graph_dir = bz_locations()->{'libpath'} . '/' .$graph_url; -+my $graph_dir = bz_locations()->{'graphdir'}; -+my $graph_url = basename($graph_dir); - - Bugzilla->switch_to_shadow_db(); - -Index: Bugzilla/Constants.pm -=================================================================== -RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Constants.pm,v -retrieving revision 1.126.2.5 -diff -u -r1.126.2.5 Constants.pm ---- Bugzilla/Constants.pm 13 Apr 2010 04:56:24 -0000 1.126.2.5 -+++ Bugzilla/Constants.pm 16 May 2010 09:22:29 -0000 -@@ -551,6 +551,7 @@ - # The script should really generate these graphs directly... - 'webdotdir' => "/var/lib/bugzilla/$datadir/webdot", - 'extensionsdir' => "$libpath/extensions", -+ 'graphdir' => "$libpath/graphs", - }; - } - -Index: Bugzilla/Install/Filesystem.pm -=================================================================== -RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Filesystem.pm,v -retrieving revision 1.47.2.1 -diff -u -r1.47.2.1 Filesystem.pm ---- Bugzilla/Install/Filesystem.pm 20 Feb 2010 20:20:55 -0000 1.47.2.1 -+++ Bugzilla/Install/Filesystem.pm 16 May 2010 09:22:29 -0000 -@@ -69,6 +69,7 @@ - my $attachdir = bz_locations()->{'attachdir'}; - my $extensionsdir = bz_locations()->{'extensionsdir'}; - my $webdotdir = bz_locations()->{'webdotdir'}; -+ my $graphdir = bz_locations()->{'graphdir'}; - my $templatedir = bz_locations()->{'templatedir'}; - my $libdir = bz_locations()->{'libpath'}; - my $extlib = bz_locations()->{'ext_libpath'}; -@@ -162,7 +163,7 @@ - dirs => $ws_dir_writeable }, - $webdotdir => { files => $ws_writeable, - dirs => $ws_dir_writeable }, -- graphs => { files => $ws_writeable, -+ $graphdir => { files => $ws_writeable, - dirs => $ws_dir_writeable }, - - # Readable directories -@@ -212,7 +213,7 @@ - "$datadir/extensions" => $ws_dir_readable, - $attachdir => $ws_dir_writeable, - $extensionsdir => $ws_dir_readable, -- graphs => $ws_dir_writeable, -+ $graphdir => $ws_dir_writeable, - $webdotdir => $ws_dir_writeable, - "$skinsdir/custom" => $ws_dir_readable, - "$skinsdir/contrib" => $ws_dir_readable, -@@ -342,10 +343,11 @@ - my %files = %{$fs->{create_files}}; - - my $datadir = bz_locations->{'datadir'}; -+ my $graphdir = bz_locations->{'graphdir'}; - # If the graphs/ directory doesn't exist, we're upgrading from - # a version old enough that we need to update the $datadir/mining - # format. -- if (-d "$datadir/mining" && !-d 'graphs') { -+ if (-d "$datadir/mining" && !-d $graphdir) { - _update_old_charts($datadir); - } - diff --git a/bugzilla.spec b/bugzilla.spec index d61f91b..45a1631 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -6,13 +6,12 @@ URL: http://www.bugzilla.org/ Name: bugzilla Version: 3.6.4 Group: Applications/Publishing -Release: 1%{?dist} +Release: 2%{?dist} License: MPLv1.1 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf Source2: README.fedora.bugzilla Patch0: bugzilla-rw-paths.patch -Patch1: bugzilla-graphs-dir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -29,7 +28,6 @@ Requires: perl(Email::MIME::Encodings) >= 1.313 Requires: perl(Email::MIME::Modifier) >= 1.442 Requires: perl(Template) >= 2.22 Requires: perl(URI) -Requires: bugzilla-contrib %package doc Summary: Bugzilla documentation @@ -62,10 +60,9 @@ Contributed scripts and functions for Bugzilla %prep %setup -q -n %{name}-%{version} %patch0 -p1 -# patch1 -p0 rm -f Bugzilla/Constants.pm.orig # Remove bundled libs -rm -rf lib +rm -rf lib/CGI* # Filter unwanted Requires found by /usr/lib/rpm/perldeps.pl: # create a wrapper script which runs the original perl_requires @@ -155,11 +152,13 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/extensions %{bzinstallprefix}/bugzilla/images %{bzinstallprefix}/bugzilla/js +%{bzinstallprefix}/bugzilla/lib %{bzinstallprefix}/bugzilla/skins %{bzinstallprefix}/bugzilla/t %{bzinstallprefix}/bugzilla/template %{bzinstallprefix}/bugzilla/cron.daily %{bzinstallprefix}/bugzilla/cron.whine +%{bzinstallprefix}/bugzilla/contrib/recode.pl %ghost %{bzinstallprefix}/bugzilla/bugzilla-req %ghost %{bzinstallprefix}/bugzilla/bugzilla-prov %config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf @@ -183,9 +182,32 @@ popd > /dev/null) %files contrib %defattr(-,root,root,-) -%{bzinstallprefix}/bugzilla/contrib +%{bzinstallprefix}/bugzilla/contrib/bugzilla_ldapsync.rb +%{bzinstallprefix}/bugzilla/contrib/bugzilla-queue +%{bzinstallprefix}/bugzilla/contrib/bugzilla-submit +%{bzinstallprefix}/bugzilla/contrib/bzdbcopy.pl +%{bzinstallprefix}/bugzilla/contrib/bz_webservice_demo.pl +%{bzinstallprefix}/bugzilla/contrib/cmdline +%{bzinstallprefix}/bugzilla/contrib/console.pl +%{bzinstallprefix}/bugzilla/contrib/cvs-update.pl +%{bzinstallprefix}/bugzilla/contrib/extension-convert.pl +%{bzinstallprefix}/bugzilla/contrib/fixperms.pl +%{bzinstallprefix}/bugzilla/contrib/jb2bz.py* +%{bzinstallprefix}/bugzilla/contrib/merge-users.pl +%{bzinstallprefix}/bugzilla/contrib/mysqld-watcher.pl +%{bzinstallprefix}/bugzilla/contrib/README +%{bzinstallprefix}/bugzilla/contrib/sendbugmail.pl +%{bzinstallprefix}/bugzilla/contrib/sendunsentbugmail.pl +%{bzinstallprefix}/bugzilla/contrib/syncLDAP.pl +%{bzinstallprefix}/bugzilla/contrib/yp_nomail.sh %changelog +* Mon Mar 07 2011 Emmanuel Seyman - 3.6.4-2 +- Put contrib/recode.pl in the main package so that it no longer depends on + python and ruby +- Remove the contents of the lib/ directory, not the directory itself. +- Remove unused patch + * Tue Jan 25 2011 Emmanuel Seyman - 3.6.4-1 - Update to 3.6.4 From 510379ebfe564bb925a7201799ef4cd4af2d0237 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 1 May 2011 18:31:28 +0200 Subject: [PATCH 6/7] Update to 3.6.5 and patch the installation procedure to recommend yum --- .gitignore | 1 + bugzilla-yum.patch | 20 ++++++++++++++++++++ bugzilla.spec | 10 ++++++++-- sources | 2 +- 4 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 bugzilla-yum.patch diff --git a/.gitignore b/.gitignore index e40fcb6..134cb6b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ bugzilla-3.6.1.tar.gz /bugzilla-3.6.2.tar.gz /bugzilla-3.6.3.tar.gz /bugzilla-3.6.4.tar.gz +/bugzilla-3.6.5.tar.gz diff --git a/bugzilla-yum.patch b/bugzilla-yum.patch new file mode 100644 index 0000000..df3d527 --- /dev/null +++ b/bugzilla-yum.patch @@ -0,0 +1,20 @@ +--- bugzilla-3.6.5/Bugzilla/Install/Requirements.pm.orig 2011-01-24 23:05:19.000000000 +0100 ++++ bugzilla-3.6.5/Bugzilla/Install/Requirements.pm 2011-05-01 18:06:34.000000000 +0200 +@@ -483,7 +483,7 @@ + if ($output && $check_results->{any_missing} && !ON_WINDOWS + && !$check_results->{hide_all}) + { +- print install_string('install_all', { perl => $^X }); ++ # print install_string('install_all', { perl => $^X }); + } + if (!$check_results->{pass}) { + print colored(install_string('installation_failed'), 'red') . "\n\n"; +@@ -599,7 +599,7 @@ + $package = $module->{package}; + } + else { +- $command = "$^X install-module.pl \%s"; ++ $command = "yum install \"perl(\%s)\""; + # Non-Windows installations need to use module names, because + # CPAN doesn't understand package names. + $package = $module->{module}; diff --git a/bugzilla.spec b/bugzilla.spec index 45a1631..1b7b927 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -4,14 +4,15 @@ Summary: Bug tracking system URL: http://www.bugzilla.org/ Name: bugzilla -Version: 3.6.4 +Version: 3.6.5 Group: Applications/Publishing -Release: 2%{?dist} +Release: 1%{?dist} License: MPLv1.1 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf Source2: README.fedora.bugzilla Patch0: bugzilla-rw-paths.patch +Patch1: bugzilla-yum.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -60,6 +61,7 @@ Contributed scripts and functions for Bugzilla %prep %setup -q -n %{name}-%{version} %patch0 -p1 +%patch1 -p1 rm -f Bugzilla/Constants.pm.orig # Remove bundled libs rm -rf lib/CGI* @@ -202,6 +204,10 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/yp_nomail.sh %changelog +* Sun May 01 2011 Emmanuel Seyman - 3.6.5-1 +- Update to 3.6.5 +- Patch the installation procedure to recommend yum + * Mon Mar 07 2011 Emmanuel Seyman - 3.6.4-2 - Put contrib/recode.pl in the main package so that it no longer depends on python and ruby diff --git a/sources b/sources index ae3a903..2a9243d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1bb7980c50c51590d7c2341bc03d5151 bugzilla-3.6.4.tar.gz +0793082d83d734ae65c8bcf56659f1fd bugzilla-3.6.5.tar.gz From 193fca463be0c866a0c2e3143f971e77e267a79b Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Fri, 5 Aug 2011 17:57:35 +0200 Subject: [PATCH 7/7] Update to 3.6.6, move graphs to /var/lib/bugzilla/graphs. --- .gitignore | 1 + bugzilla-rw-paths.patch | 12 +++++++----- bugzilla.spec | 6 +++++- sources | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 134cb6b..814aead 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ bugzilla-3.6.1.tar.gz /bugzilla-3.6.3.tar.gz /bugzilla-3.6.4.tar.gz /bugzilla-3.6.5.tar.gz +/bugzilla-3.6.6.tar.gz diff --git a/bugzilla-rw-paths.patch b/bugzilla-rw-paths.patch index 44d157a..8c9bfe1 100644 --- a/bugzilla-rw-paths.patch +++ b/bugzilla-rw-paths.patch @@ -1,6 +1,6 @@ ---- bugzilla-3.4/Bugzilla/Constants.pm 2009-02-03 10:02:53.000000000 +0000 -+++ bugzilla-3.4-rw/Bugzilla/Constants.pm 2009-02-18 17:59:52.000000000 +0000 -@@ -539,9 +539,9 @@ +--- bugzilla-3.6.6/Bugzilla/Constants.pm 2011-08-05 15:42:01.768441860 +0200 ++++ bugzilla-3.6.6-rw/Bugzilla/Constants.pm 2011-08-05 15:44:50.342628808 +0200 +@@ -539,18 +539,18 @@ sub bz_locations { 'cgi_path' => $libpath, 'templatedir' => "$libpath/template", 'project' => $project, @@ -11,9 +11,11 @@ + 'datadir' => "/var/lib/bugzilla/$datadir", + 'attachdir' => "/var/lib/bugzilla/$datadir/attachments", 'skinsdir' => "$libpath/skins", - 'graphsdir' => "$libpath/graphs", +- 'graphsdir' => "$libpath/graphs", ++ 'graphsdir' => "/var/lib/bugzilla/graphs", # $webdotdir must be in the web server's tree somewhere. Even if you use a -@@ -550,7 +550,7 @@ + # local dot, we output images to there. Also, if $webdotdir is + # not relative to the bugzilla root directory, you'll need to # change showdependencygraph.cgi to set image_url to the correct # location. # The script should really generate these graphs directly... diff --git a/bugzilla.spec b/bugzilla.spec index 1b7b927..7673596 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -4,7 +4,7 @@ Summary: Bug tracking system URL: http://www.bugzilla.org/ Name: bugzilla -Version: 3.6.5 +Version: 3.6.6 Group: Applications/Publishing Release: 1%{?dist} License: MPLv1.1 @@ -204,6 +204,10 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/yp_nomail.sh %changelog +* Fri Aug 05 2011 Emmanuel Seyman - 3.6.6-1 +- Update to 3.6.6 +- Move graphs to /var/lib/bugzilla/graphs. + * Sun May 01 2011 Emmanuel Seyman - 3.6.5-1 - Update to 3.6.5 - Patch the installation procedure to recommend yum diff --git a/sources b/sources index 2a9243d..4671bb8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0793082d83d734ae65c8bcf56659f1fd bugzilla-3.6.5.tar.gz +c6f4f2128a6443b35b277ed19df03647 bugzilla-3.6.6.tar.gz