Accepting request 330468 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/330468 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpg2?expand=0&rev=96
This commit is contained in:
13
gpg2.spec
13
gpg2.spec
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: gpg2
|
||||
Version: 2.1.7
|
||||
Version: 2.1.8
|
||||
Release: 0
|
||||
Summary: GnuPG 2
|
||||
License: GPL-3.0+
|
||||
@@ -27,6 +27,7 @@ Source: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2
|
||||
Source2: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2.sig
|
||||
# https://www.gnupg.org/signature_key.html
|
||||
Source3: %{name}.keyring
|
||||
Source99: %{name}.changes
|
||||
Patch4: gnupg-2.0.9-langinfo.patch
|
||||
Patch5: gnupg-2.0.18-files-are-digests.patch
|
||||
Patch6: gnupg-dont-fail-with-seahorse-agent.patch
|
||||
@@ -91,6 +92,7 @@ PIE="-fpie"
|
||||
%endif
|
||||
export CFLAGS="%{optflags} ${PIE}"
|
||||
export LDFLAGS=-pie
|
||||
date=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE99})
|
||||
%configure \
|
||||
--libexecdir=%{_libdir} \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
@@ -104,7 +106,8 @@ export LDFLAGS=-pie
|
||||
--enable-gpgtar \
|
||||
--enable-large-rsa \
|
||||
--enable-large-secmem \
|
||||
--with-gnu-ld
|
||||
--with-gnu-ld \
|
||||
--enable-build-timestamp=$date
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -140,7 +143,7 @@ install -m 755 tools/gpgsplit %{buildroot}/%{_bindir}
|
||||
%check
|
||||
%if ! 0%{?qemu_user_space_build}
|
||||
%ifnarch ppc64
|
||||
make check
|
||||
make %{?_smp_mflags} check
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@@ -155,8 +158,8 @@ make check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_infodir}/gnupg*
|
||||
%doc %{_mandir}/*/*.gz
|
||||
%{_infodir}/gnupg*
|
||||
%{_mandir}/*/*.gz
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_bindir}/*
|
||||
%{_libdir}/[^d]*
|
||||
|
Reference in New Issue
Block a user