diff --git a/pinentry.spec b/pinentry.spec index 987edec..205dff2 100644 --- a/pinentry.spec +++ b/pinentry.spec @@ -113,6 +113,7 @@ autoreconf -fiv --disable-pinentry-gtk2 \ %endif --enable-pinentry-qt6 \ + --disable-pinentry-qt5 \ --enable-pinentry-emacs \ --enable-pinentry-tty \ --enable-libsecret @@ -128,6 +129,7 @@ autoreconf -fiv ln -s pinentry-gtk-2 $RPM_BUILD_ROOT%{_bindir}/pinentry-gtk %endif ln -s pinentry-qt $RPM_BUILD_ROOT%{_bindir}/pinentry-qt4 +ln -s pinentry-qt $RPM_BUILD_ROOT%{_bindir}/pinentry-qt5 install -p -m755 -D %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/pinentry @@ -135,7 +137,6 @@ install -p -m755 -D %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/pinentry rm -fv $RPM_BUILD_ROOT%{_infodir}/dir desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnupg.pinentry-qt.desktop -desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnupg.pinentry-qt5.desktop %files %license COPYING @@ -160,7 +161,6 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnupg.pinentry-q %{_bindir}/pinentry-qt4 %{_bindir}/pinentry-qt5 %{_datadir}/applications/org.gnupg.pinentry-qt.desktop -%{_datadir}/applications/org.gnupg.pinentry-qt5.desktop %files emacs %{_bindir}/pinentry-emacs