[libssh2/private-kdudka-use-cmake] fixup! libssh2.spec: use git to apply patches in %prep

Kamil Dudka kdudka at fedoraproject.org
Mon Dec 8 13:22:17 UTC 2014


commit e87973277ac0edd0a5e3846519c21379407cf666
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Mon Dec 8 14:19:12 2014 +0100

    fixup! libssh2.spec: use git to apply patches in %prep
    
    get the package built in mock

 libssh2.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libssh2.spec b/libssh2.spec
index 9b710ef..80e90ca 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -34,6 +34,7 @@ Patch11:	0011-channel_receive_window_adjust-store-windows-size-alw.patch
 Patch12:	0012-libssh2_agent_init-init-fd-to-LIBSSH2_INVALID_SOCKET.patch
 Patch13:	libssh2-1.4.3-cmake.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildRequires:	git
 BuildRequires:	openssl-devel
 BuildRequires:	zlib-devel
 BuildRequires:	/usr/bin/man
@@ -85,6 +86,8 @@ find -name Makefile.in -delete
 
 # use git to apply patches
 git init
+git config user.email 'buildsys at fedoraproject.org'
+git config user.name 'Fedora Koji Build System'
 git add --all
 git commit -m init
 git branch init


More information about the scm-commits mailing list