[sr-dev] git:5.6:6ea663dd: pkg/kamailio/obs: fixed packaging for RHEL 7 and RHEL 6 based dists [skip ci]
Sergey Safarov
s.safarov at gmail.com
Tue Aug 16 15:25:31 CEST 2022
Module: kamailio
Branch: 5.6
Commit: 6ea663dd3d65aecc298ceab1b5e0f486d77bb0b4
URL: https://github.com/kamailio/kamailio/commit/6ea663dd3d65aecc298ceab1b5e0f486d77bb0b4
Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Sergey Safarov <s.safarov at gmail.com>
Date: 2022-08-16T16:24:58+03:00
pkg/kamailio/obs: fixed packaging for RHEL 7 and RHEL 6 based dists [skip ci]
(cherry picked from commit 4a6aa75dd1de4e33ba6ac3f1d770a1beed61e157)
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff: https://github.com/kamailio/kamailio/commit/6ea663dd3d65aecc298ceab1b5e0f486d77bb0b4.diff
Patch: https://github.com/kamailio/kamailio/commit/6ea663dd3d65aecc298ceab1b5e0f486d77bb0b4.patch
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 735db8de2ac..7e31bb152f8 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -1833,8 +1833,14 @@ fi
%dir %{_libdir}/kamailio/kamctl/dbtextdb
%{_libdir}/kamailio/kamctl/dbtextdb/dbtextdb.py
+%if 0%{?rhel} > 8
%dir %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__
%{_libdir}/kamailio/kamctl/dbtextdb/__pycache__/*.pyc
+%endif
+%if 0%{?rhel} == 6 || 0%{?rhel} == 7
+%{_libdir}/kamailio/kamctl/dbtextdb/dbtextdb.pyc
+%{_libdir}/kamailio/kamctl/dbtextdb/dbtextdb.pyo
+%endif
%{_mandir}/man5/*
%{_mandir}/man8/*
More information about the sr-dev
mailing list