SHA256
1
0
forked from pool/talloc

Accepting request 231184 from home:dirkmueller:branches:network:samba:STABLE

- remove dependency on gpg-offline to reduce rebuild times 
  signature checking is implemented already in source validator

OBS-URL: https://build.opensuse.org/request/show/231184
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=27
This commit is contained in:
David Disseldorp
2014-04-27 20:36:48 +00:00
committed by Git OBS Bridge
parent a0900c7895
commit 1915130800
7 changed files with 77 additions and 70 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package talloc
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -27,9 +27,6 @@ Name: talloc
BuildRequires: autoconf
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
%if 0%{?suse_version} > 1220
BuildRequires: gpg-offline
%endif
BuildRequires: libxslt
%if 0%{?suse_version} > 1020
BuildRequires: pkg-config
@@ -47,10 +44,16 @@ PreReq: /sbin/ldconfig
Summary: Samba talloc Library
License: LGPL-3.0+
Group: System/Libraries
Source: http://download.samba.org/pub/talloc/talloc-%{version}.tar.gz
# Unfortunately upstream is mindboggingly stupid here by gpg signing the
# uncompressed tarball, but not publishing the uncompressed tarball but
# only a compressed one. so we need to unpack it manually so that
# gpg verification works, but then we can't have download verification
# http://download.samba.org/pub/talloc/talloc-%{version}.tar
Source: talloc-%{version}.tar
Source1: http://download.samba.org/pub/talloc/talloc-%{version}.tar.asc
Source2: samba-library-distribution-pubkey_13084025.asc
Source4: baselibs.conf
Source50: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -109,11 +112,6 @@ Libraries and Header Files to Develop Programs with pytalloc Support
%prep
%if 0%{?suse_version} > 1220
gzip -dc %{SOURCE0} >${RPM_SOURCE_DIR}/%{name}-%{version}.tar
%{?gpg_verify: %gpg_verify --keyring %{SOURCE2} %{SOURCE1}}
rm ${RPM_SOURCE_DIR}/%{name}-%{version}.tar
%endif
%setup -n talloc-%{version} -q
%build