Bug #2378

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

Added by Olivier LI KIANG CHEONG over 3 years ago. Updated 6 months ago.

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

100%

Category:Packaging
Target version:2.4.0~alpha7
Pull Request: How to reproduce:

Reproduced: Found in version(s):

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 3 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 3 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 3 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 3 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 3 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 3 years ago

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

Applied in changeset commit:1c180f8f04ecb6ad427a0d9c5df9dccb257c03fd.

#3 Updated by Jonathan CLARKE over 3 years ago

  • Description updated (diff)

#4 Updated by Jonathan CLARKE over 3 years ago

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

#5 Updated by Nicolas PERRON over 2 years ago

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

#6 Updated by Benoît PECCATTE 6 months ago

  • Project changed from packages to Rudder
  • Category set to Packaging

Also available in: Atom PDF