From a4a058324bc73e952e1489040c7eb5dac2ff20c6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 04:16:52 +0000 Subject: [PATCH 01/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index f8e8c36..5117f6b 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.3 -Release: 8%{?dist} +Release: 9%{?dist} License: MPLv1.1 Source0: https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -291,6 +291,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 5.0.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Sun Aug 20 2017 Emmanuel Seyman - 5.0.3-8 - Tighten macro expansion (thanks to ppisar) - Drop Group tag From f0c8d3c95c7b5242d3c95cb316b5ccbf1170dbe4 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 7 Feb 2018 10:34:36 +0100 Subject: [PATCH 02/36] Update Python 2 dependency declarations to new packaging standards --- bugzilla.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bugzilla.spec b/bugzilla.spec index 5117f6b..cc2edd3 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.3 -Release: 9%{?dist} +Release: 10%{?dist} License: MPLv1.1 Source0: https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -42,7 +42,7 @@ BuildRequires: perl-generators BuildRequires: perl(File::Copy::Recursive) BuildRequires: perl(File::Which) BuildRequires: perl(Memoize) -BuildRequires: python-sphinx +BuildRequires: python2-sphinx BuildRequires: texlive-collection-latexrecommended BuildRequires: texlive-collection-basic BuildRequires: tex(fncychap.sty) @@ -70,7 +70,7 @@ Group: Applications/Publishing %package contrib Summary: Bugzilla contributed scripts Group: Applications/Publishing -BuildRequires: python +BuildRequires: python2 %{?perl_default_filter} @@ -291,6 +291,10 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Feb 07 2018 Iryna Shcherbina - 5.0.3-10 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Wed Feb 07 2018 Fedora Release Engineering - 5.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 652fac8187c97cc74342b7a154ccc96f79d232e5 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 18 Feb 2018 16:20:02 +0100 Subject: [PATCH 03/36] update to 5.0.4 --- .gitignore | 1 + bugzilla-1438957-concatenate-assets.patch | 12 ++++++++++++ bugzilla.spec | 18 ++++++++++++------ sources | 2 +- 4 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 bugzilla-1438957-concatenate-assets.patch diff --git a/.gitignore b/.gitignore index 771d696..c0922ac 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ bugzilla-3.6.1.tar.gz /bugzilla-4.4.11.tar.gz /bugzilla-5.0.2.tar.gz /bugzilla-5.0.3.tar.gz +/bugzilla-5.0.4.tar.gz diff --git a/bugzilla-1438957-concatenate-assets.patch b/bugzilla-1438957-concatenate-assets.patch new file mode 100644 index 0000000..a678976 --- /dev/null +++ b/bugzilla-1438957-concatenate-assets.patch @@ -0,0 +1,12 @@ +diff -up ./Bugzilla/Constants.pm.orig ./Bugzilla/Constants.pm +--- ./Bugzilla/Constants.pm.orig 2018-02-18 12:22:45.541837039 +0100 ++++ ./Bugzilla/Constants.pm 2018-02-18 12:22:53.538784733 +0100 +@@ -213,7 +213,7 @@ use constant LOCAL_FILE => 'bugzilla-up + # When true CSS and JavaScript assets will be concatanted and minified at + # run-time, to reduce the number of requests required to render a page. + # Setting this to a false value can help debugging. +-use constant CONCATENATE_ASSETS => 1; ++use constant CONCATENATE_ASSETS => 0; + + # These are unique values that are unlikely to match a string or a number, + # to be used in criteria for match() functions and other things. They start diff --git a/bugzilla.spec b/bugzilla.spec index cc2edd3..1cb5851 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -4,8 +4,8 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla -Version: 5.0.3 -Release: 10%{?dist} +Version: 5.0.4 +Release: 1%{?dist} License: MPLv1.1 Source0: https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -13,7 +13,7 @@ Source2: README.fedora.bugzilla Source3: bugzilla.cron-daily Patch0: bugzilla-rw-paths.patch Patch1: bugzilla-dnf.patch -Patch2: bugzilla-1301887-File-Slurp-Warnings.patch +Patch2: bugzilla-1438957-concatenate-assets.patch BuildArch: noarch Requires: patchutils @@ -71,6 +71,7 @@ Group: Applications/Publishing Summary: Bugzilla contributed scripts Group: Applications/Publishing BuildRequires: python2 +BuildRequires: python2-rpm-macros %{?perl_default_filter} @@ -177,9 +178,8 @@ rm -rf lib/CGI* rm -f js/yui/*/*.swf # Deal with changing /usr/local paths here instead of via patches -%{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python}|' contrib/*.py -%{__perl} -pi -e 's|/usr/local/bin/ruby\b|%{_bindir}/ruby|' contrib/*.rb -%{__perl} -pi -e 's|/usr/bin/env python|%{__python}|' contrib/bugzilla-submit/bugzilla-submit +%{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python2}|' contrib/*.py +%{__perl} -pi -e 's|/usr/bin/env python|%{__python2}|' contrib/bugzilla-submit/bugzilla-submit grep -rl '/usr/lib/sendmail\b' contrib docs \ | xargs %{__perl} -pi -e 's|/usr/lib/sendmail\b|%{_sbindir}/sendmail|' @@ -291,6 +291,12 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Sun Feb 18 2018 Emmanuel Seyman - 5.0.4-1 +- Update to 5.0.4 +- Remove backported File::Slurp patch, no longer needed +- use %%{__python2} instead of %%{__python} +- Disable the concatenation of assets (#1438957) + * Wed Feb 07 2018 Iryna Shcherbina - 5.0.3-10 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) diff --git a/sources b/sources index e160adf..6ed1eab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b78365742a85cd030c87af12c196e8e9 bugzilla-5.0.3.tar.gz +SHA512 (bugzilla-5.0.4.tar.gz) = 9a508c623406fe71c485f85091c0dec87f7f600190bb88e6b097afaeb94a0bfc32db664609debb2265f21f48734bd040e2f5ecbf40dba0071940f31e195c8dbc From 0a604167b563030a5e8ddabf51c1f7358a4f4e8e Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 18 Feb 2018 17:32:14 +0100 Subject: [PATCH 04/36] get rid of no longer used patch --- bugzilla-1301887-File-Slurp-Warnings.patch | 256 --------------------- 1 file changed, 256 deletions(-) delete mode 100644 bugzilla-1301887-File-Slurp-Warnings.patch diff --git a/bugzilla-1301887-File-Slurp-Warnings.patch b/bugzilla-1301887-File-Slurp-Warnings.patch deleted file mode 100644 index e983cc3..0000000 --- a/bugzilla-1301887-File-Slurp-Warnings.patch +++ /dev/null @@ -1,256 +0,0 @@ -diff -up ./Bugzilla/Config.pm.orig ./Bugzilla/Config.pm ---- ./Bugzilla/Config.pm.orig 2017-03-05 20:38:55.540137017 +0100 -+++ ./Bugzilla/Config.pm 2017-03-05 20:40:18.954614192 +0100 -@@ -16,10 +16,9 @@ use autodie qw(:default); - - use Bugzilla::Constants; - use Bugzilla::Hook; --use Bugzilla::Util qw(trick_taint); -+use Bugzilla::Util qw(trick_taint read_text write_text); - - use JSON::XS; --use File::Slurp; - use File::Temp; - use File::Basename; - -@@ -284,7 +283,7 @@ sub write_params { - my $param_file = bz_locations()->{'datadir'} . '/params.json'; - - my $json_data = JSON::XS->new->canonical->pretty->encode($param_data); -- write_file($param_file, { binmode => ':utf8', atomic => 1 }, \$json_data); -+ write_text($param_file, $json_data); - - # It's not common to edit parameters and loading - # Bugzilla::Install::Filesystem is slow. -@@ -301,8 +300,8 @@ sub read_param_file { - my $file = bz_locations()->{'datadir'} . '/params.json'; - - if (-e $file) { -- my $data; -- read_file($file, binmode => ':utf8', buf_ref => \$data); -+ my $data = read_text($file); -+ trick_taint($data); - - # If params.json has been manually edited and e.g. some quotes are - # missing, we don't want JSON::XS to leak the content of the file -diff -up ./Bugzilla/Install/Filesystem.pm.orig ./Bugzilla/Install/Filesystem.pm ---- ./Bugzilla/Install/Filesystem.pm.orig 2017-03-05 20:40:25.563572768 +0100 -+++ ./Bugzilla/Install/Filesystem.pm 2017-03-05 20:40:53.516397565 +0100 -@@ -31,7 +31,6 @@ use File::Path; - use File::Basename; - use File::Copy qw(move); - use File::Spec; --use File::Slurp; - use IO::File; - use POSIX (); - -@@ -536,7 +535,7 @@ sub update_filesystem { - - # Remove old assets htaccess file to force recreation with correct values. - if (-e "$assetsdir/.htaccess") { -- if (read_file("$assetsdir/.htaccess") =~ //) { -+ if (read_text("$assetsdir/.htaccess") =~ //) { - unlink("$assetsdir/.htaccess"); - } - } -diff -up ./Bugzilla/Install/Requirements.pm.orig ./Bugzilla/Install/Requirements.pm ---- ./Bugzilla/Install/Requirements.pm.orig 2017-03-05 20:41:00.420354292 +0100 -+++ ./Bugzilla/Install/Requirements.pm 2017-03-05 20:41:24.044206223 +0100 -@@ -156,11 +156,6 @@ sub REQUIRED_MODULES { - version => '1.0.1', - }, - { -- package => 'File-Slurp', -- module => 'File::Slurp', -- version => '9999.13', -- }, -- { - package => 'JSON-XS', - module => 'JSON::XS', - # 2.0 is the first version that will work with JSON::RPC. -diff -up ./Bugzilla/JobQueue.pm.orig ./Bugzilla/JobQueue.pm ---- ./Bugzilla/JobQueue.pm.orig 2017-03-05 20:41:33.460147206 +0100 -+++ ./Bugzilla/JobQueue.pm 2017-03-05 20:42:40.659726012 +0100 -@@ -14,8 +14,8 @@ use warnings; - use Bugzilla::Constants; - use Bugzilla::Error; - use Bugzilla::Install::Util qw(install_string); -+use Bugzilla::Util qw(read_text); - use File::Basename; --use File::Slurp; - use base qw(TheSchwartz); - use fields qw(_worker_pidfile); - -@@ -124,7 +124,7 @@ sub subprocess_worker { - # And poll the PID to detect when the working has finished. - # We do this instead of system() to allow for the INT signal to - # interrup us and trigger kill_worker(). -- my $pid = read_file($self->{_worker_pidfile}, err_mode => 'quiet'); -+ my $pid = read_text($self->{_worker_pidfile}, err_mode => 'quiet'); - if ($pid) { - sleep(3) while(kill(0, $pid)); - } -@@ -139,7 +139,7 @@ sub subprocess_worker { - sub kill_worker { - my $self = Bugzilla->job_queue(); - if ($self->{_worker_pidfile} && -e $self->{_worker_pidfile}) { -- my $worker_pid = read_file($self->{_worker_pidfile}); -+ my $worker_pid = read_text($self->{_worker_pidfile}); - if ($worker_pid && kill(0, $worker_pid)) { - $self->debug("Stopping worker process"); - system "$0 -f -p '" . $self->{_worker_pidfile} . "' stop"; -diff -up ./Bugzilla/Template.pm.orig ./Bugzilla/Template.pm ---- ./Bugzilla/Template.pm.orig 2017-03-05 20:42:47.460683385 +0100 -+++ ./Bugzilla/Template.pm 2017-03-05 20:46:35.942251308 +0100 -@@ -32,7 +32,6 @@ use Digest::MD5 qw(md5_hex); - use File::Basename qw(basename dirname); - use File::Find; - use File::Path qw(rmtree mkpath); --use File::Slurp; - use File::Spec; - use IO::Dir; - use List::MoreUtils qw(firstidx); -@@ -502,7 +501,7 @@ sub _concatenate_css { - next unless -e "$cgi_path/$files{$source}"; - my $file = $skins_path . '/' . md5_hex($source) . '.css'; - if (!-e $file) { -- my $content = read_file("$cgi_path/$files{$source}"); -+ my $content = read_text("$cgi_path/$files{$source}"); - - # minify - $content =~ s{/\*.*?\*/}{}sg; # comments -@@ -512,7 +511,7 @@ sub _concatenate_css { - # rewrite urls - $content =~ s{url\(([^\)]+)\)}{_css_url_rewrite($source, $1)}eig; - -- write_file($file, "/* $files{$source} */\n" . $content . "\n"); -+ write_text($file, "/* $files{$source} */\n" . $content . "\n"); - } - push @minified, $file; - } -@@ -522,9 +521,9 @@ sub _concatenate_css { - if (!-e $file) { - my $content = ''; - foreach my $source (@minified) { -- $content .= read_file($source); -+ $content .= read_text($source); - } -- write_file($file, $content); -+ write_text($file, $content); - } - - $file =~ s/^\Q$cgi_path\E\///o; -@@ -563,7 +562,7 @@ sub _concatenate_js { - next unless -e "$cgi_path/$files{$source}"; - my $file = $skins_path . '/' . md5_hex($source) . '.js'; - if (!-e $file) { -- my $content = read_file("$cgi_path/$files{$source}"); -+ my $content = read_text("$cgi_path/$files{$source}"); - - # minimal minification - $content =~ s#/\*.*?\*/##sg; # block comments -@@ -572,7 +571,7 @@ sub _concatenate_js { - $content =~ s#\n{2,}#\n#g; # blank lines - $content =~ s#(^\s+|\s+$)##g; # whitespace at the start/end of file - -- write_file($file, ";/* $files{$source} */\n" . $content . "\n"); -+ write_text($file, ";/* $files{$source} */\n" . $content . "\n"); - } - push @minified, $file; - } -@@ -582,9 +581,9 @@ sub _concatenate_js { - if (!-e $file) { - my $content = ''; - foreach my $source (@minified) { -- $content .= read_file($source); -+ $content .= read_text($source); - } -- write_file($file, $content); -+ write_text($file, $content); - } - - $file =~ s/^\Q$cgi_path\E\///o; -diff -up ./Bugzilla/Util.pm.orig ./Bugzilla/Util.pm ---- ./Bugzilla/Util.pm.orig 2017-03-05 20:46:54.370135805 +0100 -+++ ./Bugzilla/Util.pm 2017-03-05 20:48:12.190648042 +0100 -@@ -24,7 +24,7 @@ use parent qw(Exporter); - validate_email_syntax check_email_syntax clean_text - get_text template_var display_value disable_utf8 - detect_encoding email_filter -- join_activity_entries); -+ join_activity_entries read_text write_text); - - use Bugzilla::Constants; - use Bugzilla::RNG qw(irand); -@@ -39,6 +39,8 @@ use Scalar::Util qw(tainted blessed); - use Text::Wrap; - use Encode qw(encode decode resolve_alias); - use Encode::Guess; -+use File::Basename qw(dirname); -+use File::Temp qw(tempfile); - - sub trick_taint { - require Carp; -@@ -106,6 +108,27 @@ sub html_quote { - return $var; - } - -+sub read_text { -+ my ($filename) = @_; -+ open my $fh, '<:encoding(utf-8)', $filename; -+ local $/ = undef; -+ my $content = <$fh>; -+ close $fh; -+ return $content; -+} -+ -+sub write_text { -+ my ($filename, $content) = @_; -+ my ($tmp_fh, $tmp_filename) = tempfile('.tmp.XXXXXXXXXX', -+ DIR => dirname($filename), -+ UNLINK => 0, -+ ); -+ binmode $tmp_fh, ':encoding(utf-8)'; -+ print $tmp_fh $content; -+ close $tmp_fh; -+ rename $tmp_filename, $filename; -+} -+ - sub html_light_quote { - my ($text) = @_; - # admin/table.html.tmpl calls |FILTER html_light| many times. -diff -up ./docs/en/rst/installing/linux.rst.orig ./docs/en/rst/installing/linux.rst ---- ./docs/en/rst/installing/linux.rst.orig 2017-03-05 20:48:20.526595794 +0100 -+++ ./docs/en/rst/installing/linux.rst 2017-03-05 20:49:00.375346030 +0100 -@@ -49,7 +49,7 @@ graphviz patchutils gcc 'perl(Apache2::S - 'perl(Daemon::Generic)' 'perl(Date::Format)' 'perl(DateTime)' - 'perl(DateTime::TimeZone)' 'perl(DBI)' 'perl(Digest::SHA)' 'perl(Email::MIME)' - 'perl(Email::Reply)' 'perl(Email::Sender)' 'perl(Encode)' 'perl(Encode::Detect)' --'perl(File::MimeInfo::Magic)' 'perl(File::Slurp)' 'perl(GD)' 'perl(GD::Graph)' -+'perl(File::MimeInfo::Magic)' 'perl(GD)' 'perl(GD::Graph)' - 'perl(GD::Text)' 'perl(HTML::FormatText::WithLinks)' 'perl(HTML::Parser)' - 'perl(HTML::Scrubber)' 'perl(IO::Scalar)' 'perl(JSON::RPC)' 'perl(JSON::XS)' - 'perl(List::MoreUtils)' 'perl(LWP::UserAgent)' 'perl(Math::Random::ISAAC)' -diff -up ./docs/en/rst/installing/windows.rst.orig ./docs/en/rst/installing/windows.rst ---- ./docs/en/rst/installing/windows.rst.orig 2017-03-05 20:49:10.415283101 +0100 -+++ ./docs/en/rst/installing/windows.rst 2017-03-05 20:49:25.631187731 +0100 -@@ -85,7 +85,6 @@ Install the following mandatory modules - * URI - * List-MoreUtils - * Math-Random-ISAAC --* File-Slurp - * JSON-XS - * Win32 - * Win32-API -diff -up ./template/en/default/pages/release-notes.html.tmpl.orig ./template/en/default/pages/release-notes.html.tmpl ---- ./template/en/default/pages/release-notes.html.tmpl.orig 2017-03-05 20:49:34.287133477 +0100 -+++ ./template/en/default/pages/release-notes.html.tmpl 2017-03-05 20:49:52.223021059 +0100 -@@ -174,7 +174,7 @@ -

Required Perl Modules

- - [% INCLUDE req_table reqs = REQUIRED_MODULES -- new = ['File-Slurp','JSON-XS', 'Email-Sender'] -+ new = ['JSON-XS', 'Email-Sender'] - updated = ['DateTime', 'DateTime-TimeZone', - 'Template-Toolkit', 'URI'] %] - From b3295b46e88c50096d969791d8617522bb371d7e Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 18 Feb 2018 16:20:02 +0100 Subject: [PATCH 05/36] update to 5.0.4 --- .gitignore | 1 + bugzilla-1438957-concatenate-assets.patch | 12 ++++++++++++ bugzilla.spec | 12 ++++++++---- sources | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 bugzilla-1438957-concatenate-assets.patch diff --git a/.gitignore b/.gitignore index 771d696..c0922ac 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ bugzilla-3.6.1.tar.gz /bugzilla-4.4.11.tar.gz /bugzilla-5.0.2.tar.gz /bugzilla-5.0.3.tar.gz +/bugzilla-5.0.4.tar.gz diff --git a/bugzilla-1438957-concatenate-assets.patch b/bugzilla-1438957-concatenate-assets.patch new file mode 100644 index 0000000..a678976 --- /dev/null +++ b/bugzilla-1438957-concatenate-assets.patch @@ -0,0 +1,12 @@ +diff -up ./Bugzilla/Constants.pm.orig ./Bugzilla/Constants.pm +--- ./Bugzilla/Constants.pm.orig 2018-02-18 12:22:45.541837039 +0100 ++++ ./Bugzilla/Constants.pm 2018-02-18 12:22:53.538784733 +0100 +@@ -213,7 +213,7 @@ use constant LOCAL_FILE => 'bugzilla-up + # When true CSS and JavaScript assets will be concatanted and minified at + # run-time, to reduce the number of requests required to render a page. + # Setting this to a false value can help debugging. +-use constant CONCATENATE_ASSETS => 1; ++use constant CONCATENATE_ASSETS => 0; + + # These are unique values that are unlikely to match a string or a number, + # to be used in criteria for match() functions and other things. They start diff --git a/bugzilla.spec b/bugzilla.spec index f8e8c36..61cf810 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -4,8 +4,8 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla -Version: 5.0.3 -Release: 8%{?dist} +Version: 5.0.4 +Release: 1%{?dist} License: MPLv1.1 Source0: https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -13,7 +13,7 @@ Source2: README.fedora.bugzilla Source3: bugzilla.cron-daily Patch0: bugzilla-rw-paths.patch Patch1: bugzilla-dnf.patch -Patch2: bugzilla-1301887-File-Slurp-Warnings.patch +Patch2: bugzilla-1438957-concatenate-assets.patch BuildArch: noarch Requires: patchutils @@ -178,7 +178,6 @@ rm -f js/yui/*/*.swf # Deal with changing /usr/local paths here instead of via patches %{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python}|' contrib/*.py -%{__perl} -pi -e 's|/usr/local/bin/ruby\b|%{_bindir}/ruby|' contrib/*.rb %{__perl} -pi -e 's|/usr/bin/env python|%{__python}|' contrib/bugzilla-submit/bugzilla-submit grep -rl '/usr/lib/sendmail\b' contrib docs \ @@ -291,6 +290,11 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Sun Feb 18 2018 Emmanuel Seyman - 5.0.4-1 +- Update to 5.0.4 +- Remove backported File::Slurp patch, no longer needed +- Disable the concatenation of assets (#1438957) + * Sun Aug 20 2017 Emmanuel Seyman - 5.0.3-8 - Tighten macro expansion (thanks to ppisar) - Drop Group tag diff --git a/sources b/sources index e160adf..6ed1eab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b78365742a85cd030c87af12c196e8e9 bugzilla-5.0.3.tar.gz +SHA512 (bugzilla-5.0.4.tar.gz) = 9a508c623406fe71c485f85091c0dec87f7f600190bb88e6b097afaeb94a0bfc32db664609debb2265f21f48734bd040e2f5ecbf40dba0071940f31e195c8dbc From 4b89e8845408481cc211b663049d90b7ef10d1f8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 21:24:38 +0000 Subject: [PATCH 06/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 1cb5851..f273b03 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.4 -Release: 1%{?dist} +Release: 2%{?dist} License: MPLv1.1 Source0: https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -291,6 +291,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 5.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sun Feb 18 2018 Emmanuel Seyman - 5.0.4-1 - Update to 5.0.4 - Remove backported File::Slurp patch, no longer needed From 4907aa1e0854766d2ec35373bdb6ea0e1f282356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 15 Nov 2018 12:53:54 +0100 Subject: [PATCH 07/36] https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 --- bugzilla.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bugzilla.spec b/bugzilla.spec index f273b03..99ebaf1 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -1,3 +1,7 @@ +# This package depends on automagic byte compilation +# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 +%global _python_bytecompile_extra 1 + %define bzinstallprefix %{_datadir} %define bzdatadir %{_sharedstatedir}/bugzilla From 6367c03b4af3c52990f80d3791231765ed998a43 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:40 +0100 Subject: [PATCH 08/36] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- bugzilla.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/bugzilla.spec b/bugzilla.spec index 99ebaf1..ab69e1a 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -65,15 +65,12 @@ BuildRequires: tex(upquote.sty) %package doc Summary: Bugzilla documentation -Group: Documentation %package doc-build Summary: Tools to generate the Bugzilla documentation -Group: Applications/Publishing %package contrib Summary: Bugzilla contributed scripts -Group: Applications/Publishing BuildRequires: python2 BuildRequires: python2-rpm-macros From 782ff55adc22f532a4c6c15a926add1dca1989be Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 15:00:02 +0000 Subject: [PATCH 09/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index ab69e1a..77796f1 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.4 -Release: 2%{?dist} +Release: 3%{?dist} License: MPLv1.1 Source0: https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -292,6 +292,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 5.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Jul 12 2018 Fedora Release Engineering - 5.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 6373ec6d70256247592b093c6040533e68ee68f4 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Thu, 14 Feb 2019 21:37:49 +0100 Subject: [PATCH 10/36] Update to 5.0.6 --- .gitignore | 1 + bugzilla-dnf.patch | 53 +++++++++++++++++----------------- bugzilla-rw-paths.patch | 64 ++++++++++++++++++++--------------------- bugzilla.spec | 25 ++++++---------- sources | 2 +- 5 files changed, 69 insertions(+), 76 deletions(-) diff --git a/.gitignore b/.gitignore index c0922ac..182d354 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ bugzilla-3.6.1.tar.gz /bugzilla-5.0.2.tar.gz /bugzilla-5.0.3.tar.gz /bugzilla-5.0.4.tar.gz +/release-5.0.6.tar.gz diff --git a/bugzilla-dnf.patch b/bugzilla-dnf.patch index 8824d21..f7e28e8 100644 --- a/bugzilla-dnf.patch +++ b/bugzilla-dnf.patch @@ -1,29 +1,30 @@ ---- bugzilla-5.0.3/Bugzilla/Install/Requirements.pm.orig 2016-11-13 11:03:43.977035344 +0100 -+++ bugzilla-5.0.3/Bugzilla/Install/Requirements.pm 2016-11-13 11:16:26.115320528 +0100 -@@ -304,7 +304,7 @@ sub OPTIONAL_MODULES { +diff -up ./Bugzilla/Install/Requirements.pm.dnf ./Bugzilla/Install/Requirements.pm +--- ./Bugzilla/Install/Requirements.pm.dnf 2019-02-14 20:47:13.396609293 +0100 ++++ ./Bugzilla/Install/Requirements.pm 2019-02-14 20:49:04.733906799 +0100 +@@ -298,7 +298,7 @@ sub OPTIONAL_MODULES { }, { - package => 'JSON-RPC', -- module => 'JSON::RPC', -+ module => 'JSON::RPC::Legacy::Server::CGI', - version => 0, - feature => ['jsonrpc', 'rest'], + package => 'JSON-RPC', +- module => 'JSON::RPC', ++ module => 'JSON::RPC::Legacy::Server::CGI', + version => 0, + feature => ['jsonrpc', 'rest'], }, -@@ -648,7 +648,7 @@ - if ($output && $check_results->{any_missing} && !ON_ACTIVESTATE - && !$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'), COLOR_ERROR), -@@ -797,7 +797,7 @@ - $package = $module->{package}; - } - else { -- $command = "$^X install-module.pl \%s"; -+ $command = "dnf install \"perl(\%s)\""; - # Non-Windows installations need to use module names, because - # CPAN doesn't understand package names. - $package = $module->{module}; +@@ -657,7 +657,7 @@ sub print_module_instructions { + && !ON_ACTIVESTATE + && !$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'), COLOR_ERROR), "\n\n"; +@@ -811,7 +811,7 @@ sub install_command { + $package = $module->{package}; + } + else { +- $command = "$^X install-module.pl \%s"; ++ $command = "dnf install \"perl(\%s)\""; + + # Non-Windows installations need to use module names, because + # CPAN doesn't understand package names. diff --git a/bugzilla-rw-paths.patch b/bugzilla-rw-paths.patch index 3f60dea..98a5ec9 100644 --- a/bugzilla-rw-paths.patch +++ b/bugzilla-rw-paths.patch @@ -1,35 +1,35 @@ -diff -up bugzilla-5.0.1/Bugzilla/Constants.pm.rw-paths bugzilla-5.0.1/Bugzilla/Constants.pm ---- bugzilla-5.0.1/Bugzilla/Constants.pm.rw-paths 2015-09-10 21:36:29.000000000 +0300 -+++ bugzilla-5.0.1/Bugzilla/Constants.pm 2015-09-28 19:20:45.347013271 +0300 -@@ -670,7 +670,7 @@ sub _bz_locations { - $datadir = "data"; - } +diff -up ./Bugzilla/Constants.pm.rw-paths ./Bugzilla/Constants.pm +--- ./Bugzilla/Constants.pm.rw-paths 2019-02-14 20:42:11.280492600 +0100 ++++ ./Bugzilla/Constants.pm 2019-02-14 20:44:39.281581534 +0100 +@@ -700,7 +700,7 @@ sub _bz_locations { + $datadir = "data"; + } -- $datadir = "$libpath/$datadir"; -+ $datadir = "/var/lib/bugzilla/$datadir"; - # We have to return absolute paths for mod_perl. - # That means that if you modify these paths, they must be absolute paths. - return { -@@ -682,11 +682,11 @@ sub _bz_locations { - 'templatedir' => "$libpath/template", - 'template_cache' => "$datadir/template", - 'project' => $project, -- 'localconfig' => "$libpath/$localconfig", -+ 'localconfig' => "/etc/bugzilla/$localconfig", - 'datadir' => $datadir, - 'attachdir' => "$datadir/attachments", - 'skinsdir' => "$libpath/skins", -- 'graphsdir' => "$libpath/graphs", -+ 'graphsdir' => "/var/lib/bugzilla/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 - # not relative to the bugzilla root directory, you'll need to -@@ -695,7 +695,7 @@ sub _bz_locations { - # The script should really generate these graphs directly... - 'webdotdir' => "$datadir/webdot", - 'extensionsdir' => "$libpath/extensions", -- 'assetsdir' => "$datadir/assets", -+ 'assetsdir' => "$libpath/assets", - }; +- $datadir = "$libpath/$datadir"; ++ $datadir = "/var/lib/bugzilla/$datadir"; + + # We have to return absolute paths for mod_perl. + # That means that if you modify these paths, they must be absolute paths. +@@ -714,11 +714,11 @@ sub _bz_locations { + 'templatedir' => "$libpath/template", + 'template_cache' => "$datadir/template", + 'project' => $project, +- 'localconfig' => "$libpath/$localconfig", ++ 'localconfig' => "/etc/bugzilla/$localconfig", + 'datadir' => $datadir, + 'attachdir' => "$datadir/attachments", + 'skinsdir' => "$libpath/skins", +- 'graphsdir' => "$libpath/graphs", ++ 'graphsdir' => "/var/lib/bugzilla/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 +@@ -728,7 +728,7 @@ sub _bz_locations { + # The script should really generate these graphs directly... + 'webdotdir' => "$datadir/webdot", + 'extensionsdir' => "$libpath/extensions", +- 'assetsdir' => "$datadir/assets", ++ 'assetsdir' => "$libpath/assets", + }; } diff --git a/bugzilla.spec b/bugzilla.spec index 77796f1..28ec416 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -8,10 +8,10 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla -Version: 5.0.4 -Release: 3%{?dist} +Version: 5.0.6 +Release: 1%{?dist} License: MPLv1.1 -Source0: https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz +Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf Source2: README.fedora.bugzilla Source3: bugzilla.cron-daily @@ -160,24 +160,11 @@ Tools to generate the documentation distributed with Bugzilla Contributed scripts and functions for Bugzilla %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-release-%{version} %patch0 -p1 -if [ -f Bugzilla/Constants.pm.orig ]; then - : ERROR: Patch0 did not apply cleanly - exit 1 -fi %patch1 -p1 -if [ -f Bugzilla/Install/Requirements.pm.orig ]; then - : ERROR: Patch1 did not apply cleanly - exit 1 -fi %patch2 -p1 -# Remove bundled libs -rm -rf lib/CGI* -# Remove bundled binary files -rm -f js/yui/*/*.swf - # Deal with changing /usr/local paths here instead of via patches %{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python2}|' contrib/*.py %{__perl} -pi -e 's|/usr/bin/env python|%{__python2}|' contrib/bugzilla-submit/bugzilla-submit @@ -285,6 +272,7 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/merge-users.pl %{bzinstallprefix}/bugzilla/contrib/mysqld-watcher.pl %{bzinstallprefix}/bugzilla/contrib/new-yui.sh +%{bzinstallprefix}/bugzilla/contrib/perl-fmt %{bzinstallprefix}/bugzilla/contrib/recode.pl %{bzinstallprefix}/bugzilla/contrib/sendbugmail.pl %{bzinstallprefix}/bugzilla/contrib/sendunsentbugmail.pl @@ -292,6 +280,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Thu Feb 14 2019 Emmanuel Seyman - 5.0.6-1 +- Update to 5.0.6 + * Thu Jan 31 2019 Fedora Release Engineering - 5.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 6ed1eab..df32c14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bugzilla-5.0.4.tar.gz) = 9a508c623406fe71c485f85091c0dec87f7f600190bb88e6b097afaeb94a0bfc32db664609debb2265f21f48734bd040e2f5ecbf40dba0071940f31e195c8dbc +SHA512 (release-5.0.6.tar.gz) = 941087510e2c742ffd4f9c82f6d93253e04c4bde0b3a992d7bbec7672e02604d5cc8b63a12c86b0af8f7a5f7dd8e2ee4e0fa136b4b343fe4d03fd884796a4d2c From f3b000115f236e851a86485f70ee55037e14fd40 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 10 Mar 2019 11:45:38 +0100 Subject: [PATCH 11/36] Use python3 instead of python2 --- bugzilla.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bugzilla.spec b/bugzilla.spec index 28ec416..f301d2d 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 1%{?dist} +Release: 2%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -46,7 +46,7 @@ BuildRequires: perl-generators BuildRequires: perl(File::Copy::Recursive) BuildRequires: perl(File::Which) BuildRequires: perl(Memoize) -BuildRequires: python2-sphinx +BuildRequires: python3-sphinx BuildRequires: texlive-collection-latexrecommended BuildRequires: texlive-collection-basic BuildRequires: tex(fncychap.sty) @@ -166,8 +166,8 @@ Contributed scripts and functions for Bugzilla %patch2 -p1 # Deal with changing /usr/local paths here instead of via patches -%{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python2}|' contrib/*.py -%{__perl} -pi -e 's|/usr/bin/env python|%{__python2}|' contrib/bugzilla-submit/bugzilla-submit +%{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python3}|' contrib/*.py +%{__perl} -pi -e 's|/usr/bin/env python|%{__python3}|' contrib/bugzilla-submit/bugzilla-submit grep -rl '/usr/lib/sendmail\b' contrib docs \ | xargs %{__perl} -pi -e 's|/usr/lib/sendmail\b|%{_sbindir}/sendmail|' @@ -280,6 +280,10 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Sun Mar 10 2019 Emmanuel Seyman - 5.0.6-2 +- Use %%{__python3} instead of %%{__python2} +- Depend on python3-sphinx instead of python2-sphinx + * Thu Feb 14 2019 Emmanuel Seyman - 5.0.6-1 - Update to 5.0.6 From bb38698cbc4f92a05a8c4a69f594973ae498dcfd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 19:39:44 +0000 Subject: [PATCH 12/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index f301d2d..8883d4c 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 2%{?dist} +Release: 3%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -280,6 +280,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 5.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Mar 10 2019 Emmanuel Seyman - 5.0.6-2 - Use %%{__python3} instead of %%{__python2} - Depend on python3-sphinx instead of python2-sphinx From a3effd08610c28efab07adb78416e4b1c096329a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 4 Sep 2019 14:35:31 +0200 Subject: [PATCH 13/36] Drop unused build dependency on Python 2 --- bugzilla.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bugzilla.spec b/bugzilla.spec index 8883d4c..f8a5e01 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 3%{?dist} +Release: 4%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -71,8 +71,7 @@ Summary: Tools to generate the Bugzilla documentation %package contrib Summary: Bugzilla contributed scripts -BuildRequires: python2 -BuildRequires: python2-rpm-macros +BuildRequires: python3-devel %{?perl_default_filter} @@ -280,6 +279,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Sep 04 2019 Miro Hrončok - 5.0.6-4 +- Drop unused build dependency on Python 2 + * Wed Jul 24 2019 Fedora Release Engineering - 5.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 2e629944be9b9f83a23862d56cf64d0feed9cf4c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 13:23:12 +0000 Subject: [PATCH 14/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index f8a5e01..a6018f9 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 4%{?dist} +Release: 5%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -279,6 +279,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 5.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Sep 04 2019 Miro Hrončok - 5.0.6-4 - Drop unused build dependency on Python 2 From f386283cab61d6c3a2e5d32fa5a92e0ba9297569 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 24 Mar 2020 17:12:37 +0100 Subject: [PATCH 15/36] Add all perl dependencies needed for build --- bugzilla.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index a6018f9..596427b 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 5%{?dist} +Release: 6%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -43,9 +43,20 @@ Requires: which # for building docs BuildRequires: latexmk BuildRequires: perl-generators +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy::Recursive) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) BuildRequires: perl(File::Which) +BuildRequires: perl(lib) BuildRequires: perl(Memoize) +BuildRequires: perl(parent) +BuildRequires: perl(Pod::Simple) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) BuildRequires: python3-sphinx BuildRequires: texlive-collection-latexrecommended BuildRequires: texlive-collection-basic @@ -279,6 +290,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Tue Mar 24 2020 Jitka Plesnikova - 5.0.6-6 +- Add all perl dependencies needed for build + * Tue Jan 28 2020 Fedora Release Engineering - 5.0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 04b6f9dffde24e1d14414210ac4f3f59d75d3480 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 13:27:54 +0000 Subject: [PATCH 16/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 596427b..3a45d95 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 6%{?dist} +Release: 7%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -290,6 +290,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 5.0.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Mar 24 2020 Jitka Plesnikova - 5.0.6-6 - Add all perl dependencies needed for build From 688bb60ec79368c080968817260d1f19f76bdf77 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 00:16:58 +0000 Subject: [PATCH 17/36] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 3a45d95..904abff 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -9,7 +9,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 7%{?dist} +Release: 8%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -290,6 +290,10 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 5.0.6-8 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 5.0.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From f1620ad7fc28dfee4cb5136cf0a5750bb12e196b Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Tue, 29 Sep 2020 20:30:16 +0200 Subject: [PATCH 18/36] Remove bytecompilation macro and add upstream mail patch Remove bytecompilation macro and add upstream mail patch --- bugzilla-1855962-non-html-mail.patch | 19 +++++++++++++++++++ bugzilla.spec | 13 +++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 bugzilla-1855962-non-html-mail.patch diff --git a/bugzilla-1855962-non-html-mail.patch b/bugzilla-1855962-non-html-mail.patch new file mode 100644 index 0000000..0fd0637 --- /dev/null +++ b/bugzilla-1855962-non-html-mail.patch @@ -0,0 +1,19 @@ +diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm +index 18795d735..2075a71e1 100644 +--- a/Bugzilla/BugMail.pm ++++ b/Bugzilla/BugMail.pm +@@ -495,10 +495,10 @@ sub _generate_bugmail { + } + + my $email = Bugzilla::MIME->new($msg_header); +- if (scalar(@parts) == 1) { +- $email->content_type_set($parts[0]->content_type); +- } +- else { ++ ++ # If there's only one part, we don't need to set the overall content type ++ # because Email::MIME will automatically take it from that part (bug 1657496) ++ if (scalar(@parts) > 1) { + $email->content_type_set('multipart/alternative'); + + # Some mail clients need same encoding for each part, even empty ones. diff --git a/bugzilla.spec b/bugzilla.spec index 904abff..0dbbcd7 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -1,7 +1,3 @@ -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 - %define bzinstallprefix %{_datadir} %define bzdatadir %{_sharedstatedir}/bugzilla @@ -9,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 8%{?dist} +Release: 9%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -18,6 +14,8 @@ Source3: bugzilla.cron-daily Patch0: bugzilla-rw-paths.patch Patch1: bugzilla-dnf.patch Patch2: bugzilla-1438957-concatenate-assets.patch +# https://bug1657496.bmoattachments.org/attachment.cgi?id=9169528 +Patch3: bugzilla-1855962-non-html-mail.patch BuildArch: noarch Requires: patchutils @@ -290,13 +288,16 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Tue Sep 29 2020 Emmanuel Seyman - 5.0.6-9 +- Remove automagic Python bytecompilation macro +- Include upstream patch for text mails (#1855962) + * Sat Aug 01 2020 Fedora Release Engineering - 5.0.6-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 5.0.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - * Tue Mar 24 2020 Jitka Plesnikova - 5.0.6-6 - Add all perl dependencies needed for build From 978fff30d074432f26942c5c0c242943de103284 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Tue, 20 Oct 2020 21:26:14 +0200 Subject: [PATCH 19/36] Apply patch --- bugzilla.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/bugzilla.spec b/bugzilla.spec index 0dbbcd7..24211ac 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 9%{?dist} +Release: 10%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -172,13 +172,14 @@ Contributed scripts and functions for Bugzilla %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 # Deal with changing /usr/local paths here instead of via patches -%{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python3}|' contrib/*.py -%{__perl} -pi -e 's|/usr/bin/env python|%{__python3}|' contrib/bugzilla-submit/bugzilla-submit +/usr/bin/perl -pi -e 's|/usr/local/bin/python\b|%{__python3}|' contrib/*.py +/usr/bin/rm -rf contrib/bugzilla-submit grep -rl '/usr/lib/sendmail\b' contrib docs \ -| xargs %{__perl} -pi -e 's|/usr/lib/sendmail\b|%{_sbindir}/sendmail|' +| xargs /usr/bin/perl -pi -e 's|/usr/lib/sendmail\b|%{_sbindir}/sendmail|' %build # Build docs @@ -268,7 +269,6 @@ popd > /dev/null) %defattr(-,root,apache,-) %{bzinstallprefix}/bugzilla/contrib/bugzilla-queue.rhel %{bzinstallprefix}/bugzilla/contrib/bugzilla-queue.suse -%{bzinstallprefix}/bugzilla/contrib/bugzilla-submit %{bzinstallprefix}/bugzilla/contrib/bzdbcopy.pl %{bzinstallprefix}/bugzilla/contrib/bz_webservice_demo.pl %{bzinstallprefix}/bugzilla/contrib/cmdline @@ -288,6 +288,10 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Mon Oct 19 2020 Emmanuel Seyman - 5.0.6-10 +- Replace calls to %%{__perl} with /usr/bin/perl +- Remove contrib/bugzilla-submit (no longers works) (#1835451) + * Tue Sep 29 2020 Emmanuel Seyman - 5.0.6-9 - Remove automagic Python bytecompilation macro - Include upstream patch for text mails (#1855962) From 807cf7d7ba4d638f4c3da28ca5b56f471baa3ef2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 01:27:56 +0000 Subject: [PATCH 20/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 24211ac..e6f9f6a 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 10%{?dist} +Release: 11%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -288,6 +288,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 5.0.6-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Oct 19 2020 Emmanuel Seyman - 5.0.6-10 - Replace calls to %%{__perl} with /usr/bin/perl - Remove contrib/bugzilla-submit (no longers works) (#1835451) From 0bba40ef02fb5321a66f7e2b7f1a28c6bb18112e Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 14 Feb 2021 09:49:57 +0100 Subject: [PATCH 21/36] Add make to BuildRequires --- bugzilla.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index e6f9f6a..b8528cd 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 11%{?dist} +Release: 12%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -40,6 +40,7 @@ Requires: which # for building docs BuildRequires: latexmk +BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(constant) BuildRequires: perl(Cwd) @@ -288,6 +289,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Sun Feb 14 2021 Emmanuel Seyman - 5.0.6-12 +- Add make to BuildRequires + * Tue Jan 26 2021 Fedora Release Engineering - 5.0.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 1bc122b71d780338175d6a38ea710750285ea3bd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 13:59:30 +0000 Subject: [PATCH 22/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From deaa460bbaaa30be79da06e809608ee1f616b2b4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 18:56:51 +0000 Subject: [PATCH 23/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index b8528cd..4da0fef 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 12%{?dist} +Release: 13%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -289,6 +289,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 5.0.6-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Sun Feb 14 2021 Emmanuel Seyman - 5.0.6-12 - Add make to BuildRequires From 3fd8f2ba982bf872d8d897855f440c2bc5131f2f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 22:40:35 +0000 Subject: [PATCH 24/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 4da0fef..b6e42b3 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 13%{?dist} +Release: 14%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -289,6 +289,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 5.0.6-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jul 21 2021 Fedora Release Engineering - 5.0.6-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From ea9e67afcb1d517dc33e180f626c79714a1e8ea8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 22:21:06 +0000 Subject: [PATCH 25/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index b6e42b3..d50c3f5 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 14%{?dist} +Release: 15%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -289,6 +289,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 5.0.6-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jan 19 2022 Fedora Release Engineering - 5.0.6-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 18ce8733c536b5c44f0f3cf97234f78852c367e8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 23:15:56 +0000 Subject: [PATCH 26/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index d50c3f5..923333b 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 15%{?dist} +Release: 16%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -289,6 +289,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 5.0.6-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Jul 20 2022 Fedora Release Engineering - 5.0.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 8c3a898b84a6e7e034b6bd133c4815e4220db2e5 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 12 Feb 2023 19:12:45 +0100 Subject: [PATCH 27/36] Add missing buildrequirement on tgtermes.sty --- bugzilla.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 923333b..942ad22 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 16%{?dist} +Release: 17%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -62,6 +62,7 @@ BuildRequires: texlive-collection-basic BuildRequires: tex(fncychap.sty) BuildRequires: tex(framed.sty) BuildRequires: tex(multirow.sty) +BuildRequires: tex(tgtermes.sty) BuildRequires: tex(threeparttable.sty) BuildRequires: tex(titlesec.sty) BuildRequires: tex(wrapfig.sty) @@ -289,6 +290,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Sun Feb 12 2023 Emmanuel Seyman - 5.0.6-17 +- Add missing buildrequirement on tgtermes.sty (#2160038) + * Wed Jan 18 2023 Fedora Release Engineering - 5.0.6-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From a7a641dfd5ef847fd63aaf7894e5e2a28bd27fb0 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 7 May 2023 12:24:16 +0200 Subject: [PATCH 28/36] Patch to build against Sphinx 6.1.3 --- bugzilla-2180465-sphinx-build.patch | 11 +++++++++++ bugzilla.spec | 16 +++++++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 bugzilla-2180465-sphinx-build.patch diff --git a/bugzilla-2180465-sphinx-build.patch b/bugzilla-2180465-sphinx-build.patch new file mode 100644 index 0000000..f6bdebb --- /dev/null +++ b/bugzilla-2180465-sphinx-build.patch @@ -0,0 +1,11 @@ +diff -up ./docs/en/rst/conf.py.orig ./docs/en/rst/conf.py +--- ./docs/en/rst/conf.py.orig 2023-04-17 12:51:46.689758866 +0200 ++++ ./docs/en/rst/conf.py 2023-04-17 22:43:10.003583492 +0200 +@@ -391,5 +391,5 @@ if on_rtd: + else: + base_api_url = '../integrating/api/' + +-extlinks = {'bug': ('https://bugzilla.mozilla.org/show_bug.cgi?id=%s', 'bug '), +- 'api': (base_api_url + '%s', '')} ++extlinks = {'bug': ('https://bugzilla.mozilla.org/show_bug.cgi?id=%s', 'bug %s'), ++ 'api': (base_api_url + '%s', '%s')} diff --git a/bugzilla.spec b/bugzilla.spec index 942ad22..def372d 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 17%{?dist} +Release: 18%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -16,6 +16,7 @@ Patch1: bugzilla-dnf.patch Patch2: bugzilla-1438957-concatenate-assets.patch # https://bug1657496.bmoattachments.org/attachment.cgi?id=9169528 Patch3: bugzilla-1855962-non-html-mail.patch +Patch4: bugzilla-2180465-sphinx-build.patch BuildArch: noarch Requires: patchutils @@ -171,10 +172,11 @@ Contributed scripts and functions for Bugzilla %prep %setup -q -n %{name}-release-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 # Deal with changing /usr/local paths here instead of via patches /usr/bin/perl -pi -e 's|/usr/local/bin/python\b|%{__python3}|' contrib/*.py @@ -290,6 +292,10 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Sun May 07 2023 Emmanuel Seyman - 5.0.6-18 +- Patch to build against Sphinx 6.1.3 (#2180465) +- Use new patch syntax + * Sun Feb 12 2023 Emmanuel Seyman - 5.0.6-17 - Add missing buildrequirement on tgtermes.sty (#2160038) From 8f1c7811318b1bae905ff77e9636b557f9028f4b Mon Sep 17 00:00:00 2001 From: FAS Marie Loise Nolden Date: Sat, 27 May 2023 19:54:36 +0000 Subject: [PATCH 29/36] Update bugzilla.spec --- bugzilla.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/bugzilla.spec b/bugzilla.spec index def372d..7ba4723 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -67,13 +67,11 @@ BuildRequires: tex(tgtermes.sty) BuildRequires: tex(threeparttable.sty) BuildRequires: tex(titlesec.sty) BuildRequires: tex(wrapfig.sty) -%if 0%{?fedora} BuildRequires: tex(capt-of.sty) BuildRequires: tex(eqparbox.sty) BuildRequires: tex(needspace.sty) BuildRequires: tex(tabulary.sty) BuildRequires: tex(upquote.sty) -%endif %package doc Summary: Bugzilla documentation From 0ad697b1b87d3912d77a55b7ec5a6cd382fce545 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 15:02:48 +0000 Subject: [PATCH 30/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 7ba4723..31fdc89 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 18%{?dist} +Release: 19%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -290,6 +290,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 5.0.6-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sun May 07 2023 Emmanuel Seyman - 5.0.6-18 - Patch to build against Sphinx 6.1.3 (#2180465) - Use new patch syntax From 50da18f975ffc55839b91986c7f37772b3983373 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 14:48:23 +0000 Subject: [PATCH 31/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 31fdc89..f145355 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 19%{?dist} +Release: 20%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -290,6 +290,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 5.0.6-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Jul 19 2023 Fedora Release Engineering - 5.0.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From fcdfd48db8210e5db29ee2ebd464e43436da83d8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 23 Jan 2024 00:56:08 +0000 Subject: [PATCH 32/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index f145355..d18e957 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 20%{?dist} +Release: 21%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -290,6 +290,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Tue Jan 23 2024 Fedora Release Engineering - 5.0.6-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 5.0.6-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 49ccd136a545e92dd26126bec761fd749533434a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 18:42:27 +0000 Subject: [PATCH 33/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index d18e957..27b79a9 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 21%{?dist} +Release: 22%{?dist} License: MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf @@ -290,6 +290,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 5.0.6-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jan 23 2024 Fedora Release Engineering - 5.0.6-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 1f470af09a09f52e747a63a1f3cb34d001e9ae09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 28 Aug 2024 08:20:19 +0200 Subject: [PATCH 34/36] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- bugzilla.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bugzilla.spec b/bugzilla.spec index 27b79a9..f98c640 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,8 +5,9 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 22%{?dist} -License: MPLv1.1 +Release: 23%{?dist} +# Automatically converted from old format: MPLv1.1 - review is highly recommended. +License: LicenseRef-Callaway-MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source1: bugzilla-httpd-conf Source2: README.fedora.bugzilla @@ -290,6 +291,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Aug 28 2024 Miroslav Suchý - 5.0.6-23 +- convert license to SPDX + * Wed Jul 17 2024 Fedora Release Engineering - 5.0.6-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 6c0b734d1b8f33e0c9ec87298e9a6de9e52c9a2c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 13:00:24 +0000 Subject: [PATCH 35/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index f98c640..3088986 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 23%{?dist} +Release: 24%{?dist} # Automatically converted from old format: MPLv1.1 - review is highly recommended. License: LicenseRef-Callaway-MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz @@ -291,6 +291,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 5.0.6-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Aug 28 2024 Miroslav Suchý - 5.0.6-23 - convert license to SPDX From 8d879f23d369f8180c8503dd5f6e6345dac60dd5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:56:47 +0000 Subject: [PATCH 36/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- bugzilla.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bugzilla.spec b/bugzilla.spec index 3088986..41c4a86 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -5,7 +5,7 @@ Summary: Bug tracking system URL: https://www.bugzilla.org/ Name: bugzilla Version: 5.0.6 -Release: 24%{?dist} +Release: 25%{?dist} # Automatically converted from old format: MPLv1.1 - review is highly recommended. License: LicenseRef-Callaway-MPLv1.1 Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz @@ -291,6 +291,9 @@ popd > /dev/null) %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 5.0.6-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 5.0.6-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild