Accepting request 148131 from devel:libraries:c_c++

- Break build loop and make GPG signature verification optional. (forwarded request 148130 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/148131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=78
This commit is contained in:
Stephan Kulow 2013-01-12 13:50:30 +00:00 committed by Git OBS Bridge
commit 35c558036f
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 11 21:34:38 CET 2013 - sbrabec@suse.cz
- Break build loop and make GPG signature verification optional.
-------------------------------------------------------------------
Tue Nov 27 20:05:00 CET 2012 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package curl
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,7 +33,10 @@ Source3: baselibs.conf
Source4: %{name}.keyring
Patch: libcurl-ocloexec.patch
Patch1: dont-mess-with-rpmoptflags.diff
# Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc".
%if 0%{?VERIFY_SIG}
BuildRequires: gpg-offline
%endif
BuildRequires: libidn-devel
BuildRequires: libtool
BuildRequires: lzma
@ -89,7 +92,9 @@ DICT, TELNET, LDAP, or FILE). The command is designed to work without
user interaction or any kind of interactivity.
%prep
%if 0%{?VERIFY_SIG}
%gpg_verify %{S:2}
%endif
%setup -q
%patch
%patch1