Remove dependency on gpg-offline as signature checking is implemented in the

source validator.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=40
This commit is contained in:
Lars Müller 2014-10-28 15:54:31 +00:00 committed by Git OBS Bridge
parent 646017d8c9
commit a75b1814ed
6 changed files with 19 additions and 13 deletions

2
.gitattributes vendored
View File

@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
tevent-0.9.22.tar filter=lfs diff=lfs merge=lfs -text

3
tevent-0.9.22.tar Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:001ff1f90d8fbcf5c2f988772b21377d6ef2a7ff6630af63fb1c5a95cd9b192b
size 2324480

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:544f1d02a105a1e8799374137e5170be3451afcc88e3a2801bce44cde988de57
size 553674

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 28 15:45:11 UTC 2014 - lmuelle@suse.com
- Remove dependency on gpg-offline as signature checking is implemented in the
source validator.
-------------------------------------------------------------------
Sun Oct 5 17:40:34 UTC 2014 - lmuelle@suse.com

View File

@ -22,9 +22,6 @@
Name: tevent
BuildRequires: doxygen
%if 0%{?suse_version} > 1220
BuildRequires: gpg-offline
%endif
#!BuildIgnore: libtalloc
BuildRequires: libtalloc-devel >= %{talloc_version}
%if 0%{?suse_version} > 1020
@ -45,9 +42,15 @@ Release: 0
Summary: An event system based on the talloc memory management library
License: GPL-3.0+
Group: System/Libraries
Source: http://download.samba.org/pub/tevent/tevent-%{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/tevent/tevent-%{version}.tar.gz
Source: tevent-%{version}.tar
Source1: http://download.samba.org/pub/tevent/tevent-%{version}.tar.asc
Source2: samba-library-distribution-pubkey_13084025.asc
Source2: tevent.keyring
Source4: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -112,11 +115,6 @@ PreReq: /sbin/ldconfig
This package contains the python bindings for the Tevent 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 tevent-%{version} -q
%build