public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bugzilla] epel10: Fix broken dependencies and remove a non-longer used patch
@ 2026-10-21 6:00 Emmanuel Seyman
0 siblings, 0 replies; only message in thread
From: Emmanuel Seyman @ 2026-10-21 6:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bugzilla
Branch : epel10
Commit : 780f1060a8fa4901d8d8d16a85a6ddb7ff1b4166
Author : Emmanuel Seyman <emmanuel.seyman@club-internet.fr>
Date : 2011-02-14T01:44:58+01:00
Stats : +10/-108 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/bugzilla/c/780f1060a8fa4901d8d8d16a85a6ddb7ff1b4166?branch=epel10
Log:
Fix broken dependencies and remove a non-longer used patch
---
diff --git a/bugzilla-graphs-dir.patch b/bugzilla-graphs-dir.patch
deleted file mode 100644
index fc433c5..0000000
--- a/bugzilla-graphs-dir.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-Index: collectstats.pl
-===================================================================
-RCS file: /cvsroot/mozilla/webtools/bugzilla/collectstats.pl,v
-retrieving revision 1.71
-diff -u -r1.71 collectstats.pl
---- collectstats.pl 6 Sep 2009 22:45:51 -0000 1.71
-+++ collectstats.pl 16 May 2010 09:22:28 -0000
-@@ -51,7 +51,7 @@
-
- # Tidy up after graphing module
- my $cwd = Cwd::getcwd();
--if (chdir("graphs")) {
-+if (chdir(bz_locations()->{'graphdir'})) {
- unlink <./*.gif>;
- unlink <./*.png>;
- # chdir("..") doesn't work if graphs is a symlink, see bug 429378
-Index: reports.cgi
-===================================================================
-RCS file: /cvsroot/mozilla/webtools/bugzilla/reports.cgi,v
-retrieving revision 1.95
-diff -u -r1.95 reports.cgi
---- reports.cgi 24 Oct 2009 05:21:06 -0000 1.95
-+++ reports.cgi 16 May 2010 09:22:28 -0000
-@@ -45,6 +45,8 @@
- use Bugzilla::Error;
- use Bugzilla::Status;
-
-+use File::Basename;
-+
- # If we're using bug groups for products, we should apply those restrictions
- # to viewing reports, as well. Time to check the login in that case.
- my $user = Bugzilla->login();
-@@ -54,8 +56,8 @@
- }
-
- my $dir = bz_locations()->{'datadir'} . "/mining";
--my $graph_url = 'graphs';
--my $graph_dir = bz_locations()->{'libpath'} . '/' .$graph_url;
-+my $graph_dir = bz_locations()->{'graphdir'};
-+my $graph_url = basename($graph_dir);
-
- Bugzilla->switch_to_shadow_db();
-
-Index: Bugzilla/Constants.pm
-===================================================================
-RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Constants.pm,v
-retrieving revision 1.126.2.5
-diff -u -r1.126.2.5 Constants.pm
---- Bugzilla/Constants.pm 13 Apr 2010 04:56:24 -0000 1.126.2.5
-+++ Bugzilla/Constants.pm 16 May 2010 09:22:29 -0000
-@@ -551,6 +551,7 @@
- # The script should really generate these graphs directly...
- 'webdotdir' => "/var/lib/bugzilla/$datadir/webdot",
- 'extensionsdir' => "$libpath/extensions",
-+ 'graphdir' => "$libpath/graphs",
- };
- }
-
-Index: Bugzilla/Install/Filesystem.pm
-===================================================================
-RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Filesystem.pm,v
-retrieving revision 1.47.2.1
-diff -u -r1.47.2.1 Filesystem.pm
---- Bugzilla/Install/Filesystem.pm 20 Feb 2010 20:20:55 -0000 1.47.2.1
-+++ Bugzilla/Install/Filesystem.pm 16 May 2010 09:22:29 -0000
-@@ -69,6 +69,7 @@
- my $attachdir = bz_locations()->{'attachdir'};
- my $extensionsdir = bz_locations()->{'extensionsdir'};
- my $webdotdir = bz_locations()->{'webdotdir'};
-+ my $graphdir = bz_locations()->{'graphdir'};
- my $templatedir = bz_locations()->{'templatedir'};
- my $libdir = bz_locations()->{'libpath'};
- my $extlib = bz_locations()->{'ext_libpath'};
-@@ -162,7 +163,7 @@
- dirs => $ws_dir_writeable },
- $webdotdir => { files => $ws_writeable,
- dirs => $ws_dir_writeable },
-- graphs => { files => $ws_writeable,
-+ $graphdir => { files => $ws_writeable,
- dirs => $ws_dir_writeable },
-
- # Readable directories
-@@ -212,7 +213,7 @@
- "$datadir/extensions" => $ws_dir_readable,
- $attachdir => $ws_dir_writeable,
- $extensionsdir => $ws_dir_readable,
-- graphs => $ws_dir_writeable,
-+ $graphdir => $ws_dir_writeable,
- $webdotdir => $ws_dir_writeable,
- "$skinsdir/custom" => $ws_dir_readable,
- "$skinsdir/contrib" => $ws_dir_readable,
-@@ -342,10 +343,11 @@
- my %files = %{$fs->{create_files}};
-
- my $datadir = bz_locations->{'datadir'};
-+ my $graphdir = bz_locations->{'graphdir'};
- # If the graphs/ directory doesn't exist, we're upgrading from
- # a version old enough that we need to update the $datadir/mining
- # format.
-- if (-d "$datadir/mining" && !-d 'graphs') {
-+ if (-d "$datadir/mining" && !-d $graphdir) {
- _update_old_charts($datadir);
- }
-
diff --git a/bugzilla.spec b/bugzilla.spec
index 12ac564..6a536c9 100644
--- a/bugzilla.spec
+++ b/bugzilla.spec
@@ -6,13 +6,12 @@ URL: http://www.bugzilla.org/
Name: bugzilla
Version: 3.6.4
Group: Applications/Publishing
-Release: 4%{?dist}
+Release: 5%{?dist}
License: MPLv1.1
Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
Source1: bugzilla-httpd-conf
Source2: README.fedora.bugzilla
Patch0: bugzilla-rw-paths.patch
-Patch1: bugzilla-graphs-dir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -44,8 +43,11 @@ Summary: Bugzilla contributed scripts
Group: Applications/Publishing
BuildRequires: python
+# Fedora does not ship Oracle
+%filter_requires_in %{bzinstallprefix}/Bugzilla/DB/Oracle.pm
+
# Remove all optional modules from the requires stream
-%filter_from_requires /perl(Authen::Radius)/d; /perl(DBD::Pg)/d; /perl(DBD::Oracle)/d;
+%filter_from_requires /perl(Authen::Radius)/d; /perl(DBD::Pg)/d; /perl(DBI::db)/d;
%filter_from_requires /perl(sanitycheck.cgi)/d; /perl(Apache2::Const)/d;
%filter_from_requires /perl(Apache2::ServerUtil)/d; /perl(ModPerl::RegistryLoader)/d;
%filter_from_requires /perl(CPAN)/d; /perl(Net::LDAP)/d; /perl(Email::Reply)/d;
@@ -56,7 +58,7 @@ BuildRequires: python
# Remove extensions from the provides stream
%filter_from_provides /perl(Bugzilla::Extension::BmpConvert)/d; /perl(Bugzilla::Extension::Example)/d;
-%{?perl_default_filter}
+%filter_setup
%description
Bugzilla is a popular bug tracking system used by multiple open source projects
@@ -170,6 +172,10 @@ popd > /dev/null)
%{bzinstallprefix}/bugzilla/contrib
%changelog
+* Mon Feb 14 2011 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 3.6.4-5
+- Fix broken dependencies
+- Remove unused patch
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-21 6:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 6:00 [rpms/bugzilla] epel10: Fix broken dependencies and remove a non-longer used patch Emmanuel Seyman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox