Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Emmanuel Seyman
5de8198759 Apply patch 2020-10-20 21:36:22 +02:00

View file

@ -5,7 +5,7 @@ Summary: Bug tracking system
URL: https://www.bugzilla.org/ URL: https://www.bugzilla.org/
Name: bugzilla Name: bugzilla
Version: 5.0.6 Version: 5.0.6
Release: 9%{?dist} Release: 10%{?dist}
License: MPLv1.1 License: MPLv1.1
Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz Source0: https://github.com/bugzilla/bugzilla/archive/release-%{version}.tar.gz
Source1: bugzilla-httpd-conf Source1: bugzilla-httpd-conf
@ -172,13 +172,14 @@ Contributed scripts and functions for Bugzilla
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1
# Deal with changing /usr/local paths here instead of via patches # Deal with changing /usr/local paths here instead of via patches
%{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python3}|' contrib/*.py /usr/bin/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/rm -rf contrib/bugzilla-submit
grep -rl '/usr/lib/sendmail\b' contrib docs \ 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
# Build docs # Build docs
@ -268,7 +269,6 @@ popd > /dev/null)
%defattr(-,root,apache,-) %defattr(-,root,apache,-)
%{bzinstallprefix}/bugzilla/contrib/bugzilla-queue.rhel %{bzinstallprefix}/bugzilla/contrib/bugzilla-queue.rhel
%{bzinstallprefix}/bugzilla/contrib/bugzilla-queue.suse %{bzinstallprefix}/bugzilla/contrib/bugzilla-queue.suse
%{bzinstallprefix}/bugzilla/contrib/bugzilla-submit
%{bzinstallprefix}/bugzilla/contrib/bzdbcopy.pl %{bzinstallprefix}/bugzilla/contrib/bzdbcopy.pl
%{bzinstallprefix}/bugzilla/contrib/bz_webservice_demo.pl %{bzinstallprefix}/bugzilla/contrib/bz_webservice_demo.pl
%{bzinstallprefix}/bugzilla/contrib/cmdline %{bzinstallprefix}/bugzilla/contrib/cmdline
@ -288,6 +288,10 @@ popd > /dev/null)
%{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm %{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm
%changelog %changelog
* Mon Oct 19 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 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 <emmanuel@seyman.fr> - 5.0.6-9 * Tue Sep 29 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 5.0.6-9
- Remove automagic Python bytecompilation macro - Remove automagic Python bytecompilation macro
- Include upstream patch for text mails (#1855962) - Include upstream patch for text mails (#1855962)