Bug #2378
rudder-reports.spec compatibility for centos6 : bad require for rsyslog module pgsql
| Status: | Released | Start date: | 2012-03-16 | |
|---|---|---|---|---|
| Priority: | 1 | Due date: | ||
| Assignee: | % 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
Fixes #2378: The rudder-reports package now has correct dependencies for the pgsl module of rsyslog on RHEL6 like machines
Fixes #2378: The rudder-reports package now has correct dependencies for the pgsl module of rsyslog on RHEL6 like machines - fix
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)
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 about 1 year 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 about 1 year ago
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
Applied in changeset 1c180f8f04ecb6ad427a0d9c5df9dccb257c03fd.
#3
Updated by Jonathan CLARKE about 1 year ago
- Description updated (diff)
#4
Updated by Jonathan CLARKE about 1 year ago
- Tracker changed from User story (meta) to Bug
- Status changed from Pending technical review to Released
#5
Updated by Nicolas PERRON 3 months ago
- Project changed from Rudder to packages
- Category deleted (
11)