Search
j0ke.net Open Build Service
>
Projects
>
internetx
>
syslog-ng
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
syslog-ng.spec
@@ -26,7 +26,7 @@ BuildRequires: byacc BuildRequires: pkgconfig BuildRequires: glib2-devel -%if 0%{?rhel} +%if 0%{?centos_version} || 0%{?rhel_version} BuildRequires: tcp_wrappers %else BuildRequires: tcp_wrappers-devel @@ -42,22 +42,22 @@ Provides: syslog-ng-vim = %{version}-%{release} Obsoletes: syslog-ng-vim < 2.0.8-1 -%if 0%{?rhel} < 5 +%if 0%{?rhel_version} < 5 || 0%{?centos_version} < 5 %define sysconfig_src %{SOURCE10} %define logrotated_src %{SOURCE11} %define logrotated_dst syslog %endif -%if 0%{?rhel} >= 5 +%if 0%{?rhel_version} >= 5 || 0%{?centos_version} >= 5 %define sysconfig_src %{SOURCE10} %define logrotated_src %{SOURCE12} %define logrotated_dst syslog %endif -%if 0%{?fedora} <= 7 +%if 0%{?fedora_version} <= 7 %define sysconfig_src %{SOURCE10} %define logrotated_src %{SOURCE11} %define logrotated_dst syslog %endif -%if 0%{?fedora} >= 8 +%if 0%{?fedora_version} >= 8 %define sysconfig_src %{SOURCE20} %define logrotated_src %{SOURCE21} %define logrotated_dst rsyslog