Remove independent samba-doc package to replace it in the next step with

a link to samba.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=19
This commit is contained in:
Lars Müller
2013-04-29 13:40:26 +00:00
committed by Git OBS Bridge
parent 9482903fda
commit 0676bd26c0
3 changed files with 63 additions and 0 deletions

View File

@@ -31,6 +31,9 @@ BuildRequires: pkgconfig
%endif
BuildRequires: pytalloc-devel >= %{talloc_version}
BuildRequires: python-devel
%if 0%{?suse_version} > 1220
BuildRequires: gpg-offline
%endif
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
%define build_make_smp_mflags %{?_smp_mflags}
%else
@@ -43,6 +46,8 @@ 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
Source1: http://download.samba.org/pub/tevent/tevent-%{version}.tar.asc
Source2: http://ftp.samba.org/pub/samba/samba-pubkey.asc
Source4: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -106,6 +111,11 @@ Requires: %{libtevent_name} = %{version}
This package contains the python bindings for the Tevent library.
%prep
%if 0%{?suse_version} > 1220
gunzip -c %{S:0} >${RPM_SOURCE_DIR}/tevent-%{version}.tar
%gpg_verify %{S:1} --keyring=%{S:2}
rm ${RPM_SOURCE_DIR}/tevent-%{version}.tar
%endif
%setup -n tevent-%{version} -q
%build