Verify source tar ball gpg signature.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=43
This commit is contained in:
committed by
Git OBS Bridge
parent
7b7921c076
commit
e973865a64
9
tdb.spec
9
tdb.spec
@@ -26,6 +26,9 @@ Name: tdb
|
||||
%endif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
BuildRequires: libxslt
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: pkg-config
|
||||
@@ -41,6 +44,7 @@ License: GPL-3.0+
|
||||
Group: System/Libraries
|
||||
Source: http://download.samba.org/pub/tdb/tdb-%{version}.tar.gz
|
||||
Source1: http://download.samba.org/pub/tdb/tdb-%{version}.tar.asc
|
||||
Source2: samba-library-distribution-key.asc
|
||||
Source4: baselibs.conf
|
||||
Patch0: ignore-tdb1-run-transaction-expand.diff
|
||||
Patch1: build_pie.patch
|
||||
@@ -116,6 +120,11 @@ This package contains the python bindings for the Tdb library.
|
||||
|
||||
|
||||
%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 tdb-%{version} -q
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
%patch0 -p1
|
||||
|
Reference in New Issue
Block a user