Browse code

pkg/kamailio/obs: fixed rpm packaging on CentOS 8 and Fedora

(cherry picked from commit 44b3ccd71467b78d9e9a7184c9fd25bc5f616ac4)

Sergey Safarov authored on 16/08/2022 13:31:25
Showing 1 changed files
... ...
@@ -1809,7 +1809,7 @@ fi
1809 1809
 
1810 1810
 %dir %{_libdir}/kamailio/kamctl/dbtextdb
1811 1811
 %{_libdir}/kamailio/kamctl/dbtextdb/dbtextdb.py
1812
-%if 0%{?rhel} > 8
1812
+%if 0%{?rhel} >= 8 || 0%{?fedora}
1813 1813
 %dir %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__
1814 1814
 %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__/*.pyc
1815 1815
 %endif