- Requires: dirmngr (#312831)

This commit is contained in:
Rex Dieter 2007-10-03 16:10:41 +00:00
parent 83804cdaf0
commit e89f33558a

View File

@ -1,5 +1,5 @@
## Keep an eye on http://bugzilla.redhat.com/175744, ## Keep an eye on http://bugzilla.redhat.com/175744
## in case these dirs go away or change ## in case these dirs go away or change
%if 0%{?fedora} > 3 || 0%{?rhel} > 4 %if 0%{?fedora} > 3 || 0%{?rhel} > 4
%define kde_scriptdir %{_sysconfdir}/kde %define kde_scriptdir %{_sysconfdir}/kde
@ -10,7 +10,7 @@
Summary: Utility for secure communication and data storage Summary: Utility for secure communication and data storage
Name: gnupg2 Name: gnupg2
Version: 2.0.7 Version: 2.0.7
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/System Group: Applications/System
@ -25,34 +25,32 @@ Source11: gpg-agent-shutdown.sh
Patch1: gnupg-1.9.16-testverbose.patch Patch1: gnupg-1.9.16-testverbose.patch
# ancient, deprecated BuildRequires: bzip2-devel
#Obsoletes: newpg < 0.9.5 BuildRequires: docbook-utils
BuildRequires: gettext
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
BuildRequires: libassuan-devel >= 1.0.3 BuildRequires: libassuan-devel >= 1.0.3
BuildRequires: libgcrypt-devel => 1.2.2 BuildRequires: libgcrypt-devel => 1.2.2
BuildRequires: libgpg-error-devel => 1.4 BuildRequires: libgpg-error-devel => 1.4
BuildRequires: libksba-devel >= 1.0.2 BuildRequires: libksba-devel >= 1.0.2
BuildRequires: gettext
BuildRequires: readline-devel ncurses-devel
BuildRequires: openldap-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
BuildRequires: pth-devel BuildRequires: openldap-devel
BuildRequires: zlib-devel %if 0%{?fedora} > 3 || 0%{?rhel} > 4
BuildRequires: bzip2-devel
Buildrequires: libusb-devel
BuildRequires: docbook-utils
%if 0%{?fedora} > 3
BuildRequires: pcsc-lite-libs BuildRequires: pcsc-lite-libs
%endif %endif
BuildRequires: pth-devel
BuildRequires: readline-devel ncurses-devel
BuildRequires: zlib-devel
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
Requires(hint): dirmngr
# sed/kill used in gpg-agent-(startup/shutdown).sh # sed/kill used in gpg-agent-(startup/shutdown).sh
Requires: fileutils util-linux Requires: fileutils util-linux
Requires: pinentry Requires: pinentry
# ancient, deprecated
#Obsoletes: newpg < 0.9.5
Provides: gpg Provides: gpg
Provides: openpgp Provides: openpgp
@ -94,18 +92,12 @@ dependency on other modules at run and build time.
sed -i -e 's/"libpcsclite\.so"/"%{pcsclib}"/' scd/{scdaemon,pcsc-wrapper}.c sed -i -e 's/"libpcsclite\.so"/"%{pcsclib}"/' scd/{scdaemon,pcsc-wrapper}.c
# need scratch gpg database for tests
mkdir -p $HOME/.gnupg
%build %build
%configure \ %configure \
--disable-rpath \ --disable-rpath \
--enable-selinux-support \ --enable-selinux-support
%ifarch x86_64
# --disable-optimization
%endif
# not smp-safe # not smp-safe
make make
@ -132,6 +124,8 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%check %check
# need scratch gpg database for tests
mkdir -p $HOME/.gnupg
# some gpg2 tests (still) FAIL on non i386 platforms # some gpg2 tests (still) FAIL on non i386 platforms
make -k check ||: make -k check ||:
@ -177,6 +171,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Oct 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.7-2
- Requires: dirmngr (#312831)
* Mon Sep 10 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.7-1 * Mon Sep 10 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.7-1
- gnupg-2.0.7 - gnupg-2.0.7