Skip to content

Commit

Permalink
pkg/kamailio/obs: Defined missing RPM macros for RHEL/CentOS 6
Browse files Browse the repository at this point in the history
(cherry picked from commit d7c117b)
  • Loading branch information
sergey-safarov committed Apr 25, 2019
1 parent 35e98c5 commit d8e930a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/kamailio/obs/kamailio.spec
Expand Up @@ -179,6 +179,11 @@
%bcond_without xmlrpc
%endif

# Defining missing macros on RHEL/CentOS 6
%if 0%{?rhel} == 6
%define _rundir %{_localstatedir}/run
%endif

# redefine buggy openSUSE Leap _sharedstatedir macro. More info at https://bugzilla.redhat.com/show_bug.cgi?id=183370
%if 0%{?suse_version} == 1315
%define _sharedstatedir /var/lib
Expand Down

0 comments on commit d8e930a

Please sign in to comment.