public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/bugzilla] epel10: Remove bytecompilation macro and add upstream mail patch
Date: Wed, 21 Oct 2026 06:01:24 GMT [thread overview]
Message-ID: <179256248449.1.1909954594141827123.rpms-bugzilla-f1620ad7fc28@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bugzilla
Branch : epel10
Commit : f1620ad7fc28dfee4cb5136cf0a5750bb12e196b
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date : 2020-09-29T20:32:45+02:00
Stats : +26/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bugzilla/c/f1620ad7fc28dfee4cb5136cf0a5750bb12e196b?branch=epel10
Log:
Remove bytecompilation macro and add upstream mail patch
Remove bytecompilation macro and add upstream 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 <emmanuel@seyman.fr> - 5.0.6-9
+- Remove automagic Python bytecompilation macro
+- Include upstream patch for text mails (#1855962)
+
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-8
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
* Tue Mar 24 2020 Jitka Plesnikova <jplesnik@redhat.com> - 5.0.6-6
- Add all perl dependencies needed for build
reply other threads:[~2026-10-21 6:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179256248449.1.1909954594141827123.rpms-bugzilla-f1620ad7fc28@fedoraproject.org \
--to=emmanuel@seyman.fr \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox