diff --git a/keepassxc.spec b/keepassxc.spec index 2cb8632..4a6c522 100644 --- a/keepassxc.spec +++ b/keepassxc.spec @@ -54,6 +54,8 @@ BuildRequires: zlib-devel BuildRequires: rubygem-asciidoctor %endif +%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} + # KeePassXC bundles the ykcore code due to lack of support from Yubico and # stratification of version across various operating system distros. Additionally, # KeePassXC has modified the API of ykcore to make it more functional when using @@ -135,20 +137,21 @@ install -D -m 644 -p x-keepassxc.desktop \ #install appdata files -%find_lang keepassxc --with-qt +%find_lang %{name} --with-qt %check %ctest desktop-file-validate %{buildroot}%{_datadir}/applications/org.%{name}.KeePassXC.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{name}.KeePassXC.appdata.xml -%files +%files -f %{name}.lang %doc README.md %license COPYING LICENSE* %{_bindir}/keepassxc %{_bindir}/keepassxc-cli %{_bindir}/keepassxc-proxy -%{_datadir}/keepassxc +%dir %{_datadir}/keepassxc +%{_datadir}/keepassxc/wordlists %{_datadir}/applications/org.%{name}.KeePassXC.desktop %{_datadir}/metainfo/org.%{name}.KeePassXC.appdata.xml %{_datadir}/mimelnk @@ -167,6 +170,8 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{nam - 2.7.0 release - adds BuildRequires: botan2-devel - adds BuildRequires: pcsc-lite-devel +- adds Provides: bundled(ykcore) +- enforcing on the user system, Qt version to be the same one used to build KeepassXC - replaces BuildRequires: quazip-qt5-devel with BuildRequires: minizip-compat-devel * Tue Mar 08 2022 Jan Grulich - 2.6.6-6