diff --git a/bugzilla-5.0.6.tar.gz b/bugzilla-5.0.6.tar.gz deleted file mode 100644 index be44dfe..0000000 --- a/bugzilla-5.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dd41a4b0a3a1df0d193bc056f2e3711d7b5605718a00bf6e5d4177bf1be86f77 -size 3970724 diff --git a/bugzilla-5.2.tar.gz b/bugzilla-5.2.tar.gz new file mode 100644 index 0000000..4c39b96 --- /dev/null +++ b/bugzilla-5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a2d66352456695fcdd1d0d7a9afe62fc2a94cc6217ebccc2b9b474d5c047b74 +size 85692063 diff --git a/bugzilla.changes b/bugzilla.changes index 714439f..8cc2ddd 100644 --- a/bugzilla.changes +++ b/bugzilla.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Feb 18 11:32:32 UTC 2025 - ecsos + +- Update to 5.2 + - Improved Mobile Rendering + - Explicit MariaDB Support + - MySQL 8+ Support + - Demo Docker Configuration + + Other Enhancements and Changes + - Enhancements for Users + - Enhancements for Administrators and Developers + - WebService Changes + - Code Changes Which May Affect Customizations and Extensions + See for details: https://www.bugzilla.org/releases/5.2/ + ------------------------------------------------------------------- Sat Sep 28 12:02:42 UTC 2024 - ecsos diff --git a/bugzilla.spec b/bugzilla.spec index 46adc4d..426f437 100644 --- a/bugzilla.spec +++ b/bugzilla.spec @@ -1,7 +1,7 @@ # # spec file for package bugzilla # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,14 @@ Name: bugzilla -Version: 5.0.6 +Version: 5.2 Release: 0 Summary: Bug tracker for software development License: MPL-2.0 Group: Development/Tools/Other URL: http://bugzilla.org/ -Source: http://ftp.mozilla.org/pub/mozilla.org/webtools/%{name}-%{version}.tar.gz +#Source: http://ftp.mozilla.org/pub/mozilla.org/webtools/%%{name}-%%{version}.tar.gz +Source: https://ftp.mozilla.org/pub/webtools/bugzilla/5.2-branch/%{name}-%{version}.tar.gz Source2: http://downloads.sourceforge.net/project/bugzilla-de/5.0/5.0.4/%{name}-de-5.0.4-2.utf-8.tar.gz Source3: MPL-2.0.html Source4: %{name}.conf @@ -40,10 +41,11 @@ Requires: perl-Authen-SASL #Recommends: RadiusPerl Requires: perl-Cache-Memcached Requires: perl-Chart >= 2.4.1 +Requires: perl-DBD-MariaDB Requires: perl-DBD-Pg >= 2.7.0 Requires: perl-DBD-SQLite >= 1.29 -Requires: perl-DBD-mysql >= 4.001 Requires: perl-DBI >= 1.614 +Requires: perl-DBIx-Connector >= 0.56 Requires: perl-Daemon-Generic Requires: perl-DateTime >= 0.75 Requires: perl-DateTime-TimeZone >= 1.64 @@ -51,7 +53,7 @@ Requires: perl-Digest-SHA1 Requires: perl-Email-MIME >= 1.904 Requires: perl-Email-Reply Requires: perl-Email-Send >= 2.02 -Requires: perl-Email-Sender >= v1.300011 +Requires: perl-Email-Sender >= 2.600 Requires: perl-Encode >= 2.21 Requires: perl-Encode-Detect Requires: perl-File-Copy-Recursive @@ -71,22 +73,36 @@ Requires: perl-List-MoreUtils >= 0.32 Requires: perl-MIME-tools >= 5.406 Requires: perl-Math-Random-ISAAC >= 1.0.1 Requires: perl-Module-Pluggable +Requires: perl-Moo >= 2.003004 Requires: perl-Net-SMTP-SSL >= 1.01 Requires: perl-Object-Pluggable Requires: perl-PatchReader >= 0.9.6 Requires: perl-SOAP-Lite >= 0.712 Requires: perl-Template-GD Requires: perl-Template-Toolkit >= 2.24 -Requires: perl-Test-Taint >= 1.0.6 +Requires: perl-Test-Taint >= 1.06 Requires: perl-TheSchwartz >= 1.07 Requires: perl-TimeDate >= 2.23 Requires: perl-URI >= 1.55 Requires: perl-XML-Twig Requires: perl-XMLRPC-Lite >= 0.712 -Requires: perl-base >= 5.8.1 +Requires: perl-base >= 5.14 Requires: perl-ldap Requires: perl-libwww-perl -Requires: perl(CGI) >= 5.8.1 +Requires: perl(CGI) >= 3.51 +# This are packages as extra in upstream documentation but does not exists in suse +#Requires: perl-Apache2-SizeLimit >= 0.96 +#Requires: perl-Chart-Lines >= 2.41 +#Requires: perl-Date-Format >= 2.23 +#Requires: perl-Email-Adress-XS >= 1.05 +#Requires: perl-File-MimeInfo:Magic +#Requires: perl-IO-Scalar +#Requires: perl-Net-LDAP +#Requires: perl-LWP-UserAgent +#Requires: perl-MIME-Parser >= 5.406 +#Requires: perl-Template >= 3.008 +#Requires: perl-Template-Plugin-GD-Image +Recommends: perl-DBD-mysql >= 4.032 Recommends: perl-DBD-Oracle >= 1.19 BuildArch: noarch %{?systemd_requires} @@ -150,15 +166,17 @@ for file in `find -type f -perm /111`; do fi done # Hello bugzilla devs... -find . -type d "(" -name .bzr -o -name .git ")" \ +find . -type d "(" -name .bzr -o -name .git -o -name .github ")" \ -exec rm -Rf "{}" "+" -find . -type f "(" -name ".git*" -o -name ".bzr*" -o -name ".travis*" -o -name ".buildinfo*" ")" \ +find . -type f "(" -name ".git*" -o -name ".bzr*" -o -name ".travis*" -o -name ".buildinfo*" -o -name ".perltidyrc" -o -name ".readthedocs.yaml" ")" \ -exec rm -Rf "{}" "+" find . -type f -print0 | xargs -0r grep -l '^#!' | xargs -r chmod a+x find . -type f -print0 | xargs -0r grep -l '^#!' | \ xargs -r perl -i -pe 's{^#!%{_prefix}/local/}{#!%{_prefix}/}' "{}" "+" mkdir -p "%{buildroot}%{apache_serverroot}" cp -a . "%{buildroot}%{apache_serverroot}/%{name}" +# Remove docker files +rm -rf docker %if %{suse_version} >= 1600 # both occurences of /usr/bin/python3 are introduced by our patches, is there a more straightforward way? diff --git a/fix_whine_error.patch b/fix_whine_error.patch index fdc40e6..9e183d2 100644 --- a/fix_whine_error.patch +++ b/fix_whine_error.patch @@ -1,9 +1,9 @@ -diff --git a/whine.pl b/whine.pl -index 39c9aeed2e766824a900459c4364c6831ba82744..c81ca2022db3d8e6b32dfe1464569b17f6e75374 100755 ---- a/whine.pl -+++ b/whine.pl +Index: bugzilla-5.2/whine.pl +=================================================================== +--- bugzilla-5.2.orig/whine.pl ++++ bugzilla-5.2/whine.pl @@ -13,14 +13,13 @@ - use 5.10.1; + use 5.14.0; use strict; use warnings; - @@ -17,3 +17,4 @@ index 39c9aeed2e766824a900459c4364c6831ba82744..c81ca2022db3d8e6b32dfe1464569b17 +use Bugzilla::Mailer qw(MessageToMTA generate_email); use Bugzilla::Util; use Bugzilla::Group; +