Module: kamailio
Branch: 5.4
Commit: ddf1cbc422d3f5af12ec2b206d8df2116c17d24a
URL:
https://github.com/kamailio/kamailio/commit/ddf1cbc422d3f5af12ec2b206d8df21…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2022-08-16T22:40:33+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/ddf1cbc422d3f5af12ec2b206d8df21…
Patch:
https://github.com/kamailio/kamailio/commit/ddf1cbc422d3f5af12ec2b206d8df21…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 0054587e22..20d6588e80 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -1809,7 +1809,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