Skip to content

Commit

Permalink
RPM spec: fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Altmann committed Mar 8, 2017
1 parent 4d91724 commit bd3c643
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packaging/redhat_fedora/opensips.spec
@@ -1,16 +1,16 @@
%if 0%{?rhel}
# copied from lm_sensors exclusive arch
%ifnarch alpha i386 i486 i586 i686 pentium3 pentium4 athlon x86_64
%global _without_snmpstats 1
%endif
# copied from lm_sensors exclusive arch
%ifnarch alpha i386 i486 i586 i686 pentium3 pentium4 athlon x86_64
%global _without_snmpstats 1
%endif
%endif

%if 0%{?el5:1}
%global _without_db_perlvdb 1
%global _without_db_perlvdb 1
%endif

%if 0%{?rhel} > 6 || 0%{?fedora} > 0
%global _with_cachedb_redis 1
%global _with_cachedb_redis 1
%endif

%global EXCLUDE_MODULES %{!?_with_cachedb_cassandra:cachedb_cassandra} %{!?_with_cachedb_couchbase:cachedb_couchbase} %{!?_with_cachedb_mongodb:cachedb_mongodb} %{!?_with_cachedb_redis:cachedb_redis} %{!?_with_db_oracle:db_oracle} %{!?_with_osp:osp} %{!?_with_sngtc:sngtc} %{?_without_snmpstats:snmpstats} %{?_without_db_perlvdb:db_perlvdb}
Expand All @@ -36,7 +36,7 @@ BuildRequires: postgresql-devel

Requires: m4
%if 0%{!?_without_snmpstats:1}
BuildRequires: lm_sensors-devel
BuildRequires: lm_sensors-devel
%endif
BuildRequires: net-snmp-devel
BuildRequires: unixODBC-devel
Expand Down

0 comments on commit bd3c643

Please sign in to comment.