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
... ...
@@ -1833,7 +1833,7 @@ fi
1833 1833
 
1834 1834
 %dir %{_libdir}/kamailio/kamctl/dbtextdb
1835 1835
 %{_libdir}/kamailio/kamctl/dbtextdb/dbtextdb.py
1836
-%if 0%{?rhel} > 8
1836
+%if 0%{?rhel} >= 8 || 0%{?fedora}
1837 1837
 %dir %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__
1838 1838
 %{_libdir}/kamailio/kamctl/dbtextdb/__pycache__/*.pyc
1839 1839
 %endif