From 7c8c7a2b316208fbf8e1d7f15dd6049bf0aed67089d2aaa3b2a4a16e0f960857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Wed, 9 Oct 2013 12:53:15 +0000 Subject: [PATCH 1/2] Verify source tar ball gpg signature. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=96 --- cifs-utils.changes | 5 +++++ cifs-utils.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/cifs-utils.changes b/cifs-utils.changes index dd1da20..e00bb70 100644 --- a/cifs-utils.changes +++ b/cifs-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 9 12:16:57 UTC 2013 - lmuelle@suse.com + +- Verify source tar ball gpg signature. + ------------------------------------------------------------------- Tue Oct 8 15:02:44 UTC 2013 - lmuelle@suse.com diff --git a/cifs-utils.spec b/cifs-utils.spec index 11a5d15..7844374 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -73,6 +73,9 @@ BuildRequires: pkg-config BuildRequires: pkgconfig %endif Requires: keyutils +%if %suse_version > 1220 +BuildRequires: gpg-offline +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -89,6 +92,7 @@ on Microsoft Windows machines. This package contains the header file necessary for building ID mapping plugins for cifs-utils. %prep +%{?gpg_verify: %gpg_verify --keyring %{SOURCE6} %{SOURCE5}} %setup -q %build From 53b77da1e2087e84fbbfc5046891625c89327b4e0025fef5956729351530fc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Wed, 9 Oct 2013 12:54:45 +0000 Subject: [PATCH 2/2] Add missing colon behind Source6. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=97 --- cifs-utils.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cifs-utils.spec b/cifs-utils.spec index 7844374..886ecb3 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -25,7 +25,7 @@ Group: System/Filesystems Url: http://www.samba.org/linux-cifs/cifs-utils/ Source: ftp://ftp.samba.org/pub/linux-cifs/%{name}/%{name}-%{version}.tar.bz2 Source5: ftp://ftp.samba.org/pub/linux-cifs/%{name}/%{name}-%{version}.tar.bz2.asc -Source6 ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-pubkey_70F3B981.asc +Source6: ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-pubkey_70F3B981.asc %if "%{_vendor}" == "suse" %define NET_CFGDIR network %else