|
|
@ -38,7 +38,7 @@ Source2: https://keepassxc.org/keepassxc_master_signing_key.asc
|
|
|
|
# disabling the patch fixes the problem, therefore it has been disabled on
|
|
|
|
# disabling the patch fixes the problem, therefore it has been disabled on
|
|
|
|
# Fedora >= 38
|
|
|
|
# Fedora >= 38
|
|
|
|
|
|
|
|
|
|
|
|
%if (0%{?el} || 0%{?fedora} < 38)
|
|
|
|
%if (%{defined rhel} || (%{defined fedora} && 0%{?fedora} < 38))
|
|
|
|
Patch0: xcb.patch
|
|
|
|
Patch0: xcb.patch
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Patch1: appdata.patch
|
|
|
|
Patch1: appdata.patch
|
|
|
@ -46,7 +46,7 @@ Patch1: appdata.patch
|
|
|
|
BuildRequires: botan2-devel
|
|
|
|
BuildRequires: botan2-devel
|
|
|
|
BuildRequires: cmake >= 3.1
|
|
|
|
BuildRequires: cmake >= 3.1
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
%if 0%{?el8}
|
|
|
|
%if %{defined rhel}
|
|
|
|
BuildRequires: gcc-toolset-12-gcc-c++
|
|
|
|
BuildRequires: gcc-toolset-12-gcc-c++
|
|
|
|
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
|
|
|
|
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
|
|
|
|
%else
|
|
|
|
%else
|
|
|
@ -140,7 +140,7 @@ sed -i '/type="contribute"/d' ./share/linux/org.keepassxc.KeePassXC.appdata.xml
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%if 0%{?el8}
|
|
|
|
%if %{defined rhel}
|
|
|
|
. /opt/rh/gcc-toolset-12/enable
|
|
|
|
. /opt/rh/gcc-toolset-12/enable
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# -DWITH_XC_DOCS=OFF is needed on EL due missing rubygem-asciidoctor
|
|
|
|
# -DWITH_XC_DOCS=OFF is needed on EL due missing rubygem-asciidoctor
|
|
|
|