Do not build Qt5 pinentry

This commit is contained in:
Jakub Jelen 2024-03-19 10:06:50 +01:00
parent 13e793a6cd
commit 8d846c80f2

View File

@ -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