Bug #2378

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

Added by Olivier LI KIANG CHEONG over 2 years ago. Updated over 1 year ago.

Status:Released Start date:2012-03-16
Priority:1 Due date:
Assignee:Matthieu CERDA % Done:

100%

Category:-
Target version:Rudder - 2.4.0~alpha7
Pull Request:

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
+

Associated revisions

Revision 1c180f8f
Added by Matthieu CERDA over 2 years ago

Fixes #2378: The rudder-reports package now has correct dependencies for the pgsl module of rsyslog on RHEL6 like machines

Revision a7a4a788
Added by Matthieu CERDA over 2 years ago

Fixes #2378: The rudder-reports package now has correct dependencies for the pgsl module of rsyslog on RHEL6 like machines - fix

Revision a69f8f86
Added by Matthieu CERDA over 2 years ago

Fixes #2378: The rudder-reports package now has correct dependencies for the pgsl module of rsyslog on RHEL6 like machines - fix... again (damn broken percents)

Revision eb80396f
Added by Matthieu CERDA over 2 years ago

Fixes #2378: The rudder-reports package now has correct dependencies for the pgsl module of rsyslog on RHEL6 like machines - fix... thanks to lkco for the check

History

#1 Updated by Matthieu CERDA over 2 years ago

  • Status changed from New to In progress
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Priority changed from N/A to 1
  • Target version set to 2.4.0~alpha7

#2 Updated by Matthieu CERDA over 2 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 0 to 100

#3 Updated by Jonathan CLARKE over 2 years ago

  • Description updated (diff)

#4 Updated by Jonathan CLARKE over 2 years ago

  • Tracker changed from User story (meta) to Bug
  • Status changed from Pending technical review to Released

#5 Updated by Nicolas PERRON over 1 year ago

  • Project changed from Rudder to packages
  • Category deleted (11)

Also available in: Atom PDF