Compare commits

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

3 commits

Author SHA1 Message Date
Emmanuel Seyman
fefbbd93fc Add more build-requires && filter out optional modules
Check for perl(JSON::RPC::Legacy::Server::CGI) instead of perl(JSON::RPC)
Update to 5.0.3, dropping backported patch
2016-11-27 14:07:00 +01:00
Emmanuel Seyman
27ac7e4dc2 Update to 5.0.3, dropping backported patch 2016-05-16 23:09:52 +02:00
Emmanuel Seyman
9593268293 backport patch to prevent email address encoding 2016-05-01 19:01:30 +02:00
4 changed files with 63 additions and 7 deletions

1
.gitignore vendored
View file

@ -25,3 +25,4 @@ bugzilla-3.6.1.tar.gz
/bugzilla-4.4.10.tar.gz
/bugzilla-4.4.11.tar.gz
/bugzilla-5.0.2.tar.gz
/bugzilla-5.0.3.tar.gz

View file

@ -1,5 +1,14 @@
--- bugzilla-4.01/Bugzilla/Install/Requirements.pm 2011-05-01 17:09:35.000000000 +0200
+++ bugzilla-4.01-yum/Bugzilla/Install/Requirements.pm 2011-05-01 17:11:28.000000000 +0200
--- 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 {
},
{
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})

View file

@ -4,7 +4,7 @@
Summary: Bug tracking system
URL: https://www.bugzilla.org/
Name: bugzilla
Version: 5.0.2
Version: 5.0.3
Group: Applications/Publishing
Release: 2%{?dist}
License: MPLv1.1
@ -42,12 +42,16 @@ BuildRequires: python-sphinx
BuildRequires: texlive-collection-fontsrecommended
BuildRequires: texlive-collection-latexrecommended
BuildRequires: texlive-collection-basic
BuildRequires: texlive-upquote
BuildRequires: tex-framed
BuildRequires: tex-multirow
BuildRequires: tex-threeparttable
BuildRequires: tex-titlesec
BuildRequires: tex-wrapfig
%if 0%{?fedora}
BuildRequires: texlive-capt-of.noarch
BuildRequires: texlive-eqparbox.noarch
BuildRequires: texlive-upquote
%endif
%package doc
Summary: Bugzilla documentation
@ -71,20 +75,50 @@ BuildRequires: python
# mod_perl modules
%global __requires_exclude %__requires_exclude|^perl\\(Apache2::
%global __requires_exclude %__requires_exclude|^perl\\(ModPerl::
# installation of optional modules
%global __requires_exclude %__requires_exclude|^perl\\(Config\\)$
%global __requires_exclude %__requires_exclude|^perl\\(CPAN\\)$
# authentification modules
%global __requires_exclude %__requires_exclude|^perl\\(Authen::Radius\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Net::LDAP\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Net::LDAP
# database modules
%global __requires_exclude %__requires_exclude|^perl\\(DBD::Oracle\\)$
%global __requires_exclude %__requires_exclude|^perl\\(DBD::Pg\\)$
%global __requires_exclude %__requires_exclude|^perl\\(DBI::db\\)$
%global __requires_exclude %__requires_exclude|^perl\\(DBI::st\\)$
# graphical reports and charts
%global __requires_exclude %__requires_exclude|^perl\\(Chart::Lines\\)$
%global __requires_exclude %__requires_exclude|^perl\\(GD::Graph\\)$
%global __requires_exclude %__requires_exclude|^perl\\(GD::Graph\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Template::Plugin::GD::Image\\)$
# inbound email modules
%global __requires_exclude %__requires_exclude|^perl\\(Email::MIME::Attachment::Stripper\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Email::Reply\\)$
%global __requires_exclude %__requires_exclude|^perl\\(HTML::FormatText::WithLinks\\)$
# automatic charset detection for text attachments
%global __requires_exclude %__requires_exclude|^perl\\(Encode
# sniff MIME type of attachments
%global __requires_exclude %__requires_exclude|^perl\\(File::MimeInfo::Magic\\)$
%global __requires_exclude %__requires_exclude|^perl\\(IO::Scalar\\)$
# mail queueing
%global __requires_exclude %__requires_exclude|^perl\\(TheSchwartz\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Daemon::Generic\\)$
# smtp security
%global __requires_exclude %__requires_exclude|^perl\\(Authen::SASL\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Net::SMTP::SSL\\)$
# bug moving modules
%global __requires_exclude %__requires_exclude|^perl\\(MIME::Parser\\)$
%global __requires_exclude %__requires_exclude|^perl\\(XML::Twig\\)$
# update notifications
%global __requires_exclude %__requires_exclude|^perl\\(LWP::UserAgent\\)$
# use html in product and group descriptions
%global __requires_exclude %__requires_exclude|^perl\\(HTML::Parser\\)$
%global __requires_exclude %__requires_exclude|^perl\\(HTML::Scrubber\\)$
# memcached support
%global __requires_exclude %__requires_exclude|^perl\\(Cache::Memcached\\)$
# documentation
%global __requires_exclude %__requires_exclude|^perl\\(File::Copy::Recursive\\)$
%global __requires_exclude %__requires_exclude|^perl\\(File::Which\\)$
# xml-rpc and json-rpc modules
%global __requires_exclude %__requires_exclude|^perl\\(XMLRPC::
%global __requires_exclude %__requires_exclude|^perl\\(HTTP::Message\\)$
@ -130,6 +164,7 @@ if [ -f Bugzilla/Install/Requirements.pm.orig ]; then
: ERROR: Patch1 did not apply cleanly
exit 1
fi
# Remove bundled libs
rm -rf lib/CGI*
# Remove bundled binary files
@ -248,11 +283,22 @@ popd > /dev/null)
%{bzinstallprefix}/bugzilla/contrib/Bugzilla.pm
%changelog
* Sun Nov 27 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 5.0.3-2
- Check for perl(JSON::RPC::Legacy::Server::CGI) instead of perl(JSON::RPC)
- Add build requirements for texlive sub-packages
- Filter out more optional dependencies
* Mon May 16 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 5.0.3-1
- Update to 5.0.3, dropping backported patch
* Sun May 01 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 5.0.2-3
- backport patch to prevent email address encoding
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Jan 16 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 5.0.2-1
- Update to 5.0.2, with thnaks to Tuomo Soini (#1275609)
- Update to 5.0.2, with thanks to Tuomo Soini (#1275609)
- Use dnf instead of yum when advising to install perl modules
- Change documentation URL to bugzilla.readthedocs.org

View file

@ -1 +1 @@
84e6a070d425846d55a1f926e883957e bugzilla-5.0.2.tar.gz
b78365742a85cd030c87af12c196e8e9 bugzilla-5.0.3.tar.gz