Module: kamailio
Branch: 5.5
Commit: d0e9b871ab46868ab971b1fcd02f47d756363c03
URL:
https://github.com/kamailio/kamailio/commit/d0e9b871ab46868ab971b1fcd02f47d…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2022-08-16T20:51:48+03:00
pkg/kamailio/obs: fixed rpm packaging on CentOS 8 and Fedora
(cherry picked from commit 44b3ccd71467b78d9e9a7184c9fd25bc5f616ac4)
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/d0e9b871ab46868ab971b1fcd02f47d…
Patch:
https://github.com/kamailio/kamailio/commit/d0e9b871ab46868ab971b1fcd02f47d…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index c76b3c95cf..4a26128e8c 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -1786,7 +1786,7 @@ fi
%dir %{_libdir}/kamailio/kamctl/dbtextdb
%{_libdir}/kamailio/kamctl/dbtextdb/dbtextdb.py
-%if 0%{?rhel} > 8
+%if 0%{?rhel} >= 8 || 0%{?fedora}
%dir %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__
%{_libdir}/kamailio/kamctl/dbtextdb/__pycache__/*.pyc
%endif