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
... ...
@@ -1786,7 +1786,7 @@ fi
1786 1786
 
1787 1787
 %dir %{_libdir}/kamailio/kamctl/dbtextdb
1788 1788
 %{_libdir}/kamailio/kamctl/dbtextdb/dbtextdb.py
1789
-%if 0%{?rhel} > 8
1789
+%if 0%{?rhel} >= 8 || 0%{?fedora}
1790 1790
 %dir %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__
1791 1791
 %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__/*.pyc
1792 1792
 %endif