forked from pool/talloc
Verify source tar ball gpg signature.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=23
This commit is contained in:
committed by
Git OBS Bridge
parent
da6c58386d
commit
c62ddea769
10
talloc.spec
10
talloc.spec
@@ -27,6 +27,9 @@ 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
|
||||
@@ -45,6 +48,8 @@ Summary: Samba talloc Library
|
||||
License: LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
Source: http://download.samba.org/pub/talloc/talloc-%{version}.tar.gz
|
||||
Source1: http://download.samba.org/pub/talloc/talloc-%{version}.tar.asc
|
||||
Source2: samba-library-distribution-key.asc
|
||||
Source4: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -104,6 +109,11 @@ 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
|
||||
|
Reference in New Issue
Block a user