Project

General

Profile

Actions

Bug #2378

closed

rudder-reports.spec compatibility for centos6 : bad require for rsyslog module pgsql

Added by Olivier LI KIANG CHEONG about 12 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hi,
on centos6, the package for rsyslog module pgsql is rsyslog-pgsql. This patch fix the issue.

--- SPECS/rudder-reports.spec.ori       2012-03-16 18:08:28.599471684 +0100
+++ SPECS/rudder-reports.spec   2012-03-16 18:05:22.482720662 +0100
@@ -53,7 +53,18 @@
 #BuildRequires: gcc
 Requires: postgresql-server >= 8
 Requires: rsyslog >= 4
+%if 0%{?sles_version} == 10
+Requires: rsyslog-module-pgsql >= 4
+%endif
+
+%if 0%{?sles_version} == 11
 Requires: rsyslog-module-pgsql >= 4
+%endif
+
+%if 0%{?el6}
+Requires: rsyslog-pgsql >= 4
+%endif
+
Actions

Also available in: Atom PDF