public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel.seyman@club-internet.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/bugzilla] epel10: Fix broken dependencies and remove a non-longer used patch
Date: Wed, 21 Oct 2026 06:00:44 GMT	[thread overview]
Message-ID: <179256244488.1.9789015497135285143.rpms-bugzilla-780f1060a8fa@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-21  6:00 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=179256244488.1.9789015497135285143.rpms-bugzilla-780f1060a8fa@fedoraproject.org \
    --to=emmanuel.seyman@club-internet.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