BR: gcc, use %make_build %make_install

explicitly disable fltk support (FTBFS)
This commit is contained in:
Rex Dieter 2018-03-07 11:25:32 -06:00
parent 4ecf02798a
commit b7a9bf6f15

View File

@ -1,7 +1,7 @@
Name: pinentry
Version: 1.1.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Collection of simple PIN or passphrase entry dialogs
License: GPLv2+
@ -12,6 +12,7 @@ Source1: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2.sig
# borrowed from opensuse
Source10: pinentry-wrapper
BuildRequires: gcc
BuildRequires: gcr-devel
BuildRequires: gtk2-devel
BuildRequires: libcap-devel
@ -84,17 +85,18 @@ This package contains the emacs based version of the PIN entry dialog.
--disable-rpath \
--disable-dependency-tracking \
--without-libcap \
--disable-pinentry-fltk \
--enable-pinentry-gnome3 \
--enable-pinentry-gtk2 \
--enable-pinentry-qt5 \
--enable-pinentry-emacs \
--enable-libsecret
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
# Symlink for Backward compatibility
ln -s pinentry-gtk-2 $RPM_BUILD_ROOT%{_bindir}/pinentry-gtk
@ -140,6 +142,10 @@ fi
%{_bindir}/pinentry-emacs
%changelog
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-3
- BR: gcc, use %%make_build %%make_install
- explicitly disable fltk support (FTBFS)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild