|
|
|
@ -57,10 +57,10 @@ BuildRequires: libyubikey-devel
|
|
|
|
|
%if 0%{?el8}
|
|
|
|
|
BuildRequires: minizip1.2-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} >= 38
|
|
|
|
|
%if (%{defined fedora} && 0%{?fedora} >= 38)
|
|
|
|
|
BuildRequires: minizip-compat-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if (0%{?el9}) || (0%{?fedora} < 38)
|
|
|
|
|
%if (0%{?el9}) || (%{defined fedora} && 0%{?fedora} < 38)
|
|
|
|
|
BuildRequires: minizip-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: pcsc-lite-devel
|
|
|
|
@ -118,7 +118,7 @@ information can be considered as quite safe.
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
# Older version of appstream-util can't parse some url types
|
|
|
|
|
%if (0%{?fedora} < 36) || (0%{?el} <= 9)
|
|
|
|
|
%if (%{defined fedora} && 0%{?fedora} < 36) || (%{defined rhel} && 0%{?rhel} <= 9)
|
|
|
|
|
sed -i '/type="vcs-browser"/d' ./share/linux/org.keepassxc.KeePassXC.appdata.xml
|
|
|
|
|
sed -i '/type="contribute"/d' ./share/linux/org.keepassxc.KeePassXC.appdata.xml
|
|
|
|
|
%endif
|
|
|
|
|