packages: libssh2/libssh2.spec, libssh2/libssh2-version.patch (NEW) - corre...

draenog draenog at pld-linux.org
Thu Apr 14 19:20:46 CEST 2011


Author: draenog                      Date: Thu Apr 14 17:20:45 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- correct version in pkgconfig file
- rel. 2

---- Files affected:
packages/libssh2:
   libssh2.spec (1.34 -> 1.35) , libssh2-version.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libssh2/libssh2.spec
diff -u packages/libssh2/libssh2.spec:1.34 packages/libssh2/libssh2.spec:1.35
--- packages/libssh2/libssh2.spec:1.34	Fri Apr  8 12:54:01 2011
+++ packages/libssh2/libssh2.spec	Thu Apr 14 19:20:40 2011
@@ -3,12 +3,14 @@
 Summary(pl.UTF-8):	Biblioteka implementująca protokół SSH2
 Name:		libssh2
 Version:	1.2.8
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 Source0:	http://www.libssh2.org/download/%{name}-%{version}.tar.gz
 # Source0-md5:	1b236563b75d1b1f0d483352dc5918cf
 URL:		http://libssh2.org/
+Patch0:		%{name}-version.patch
+BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	openssl-devel
 BuildRequires:	zlib-devel
@@ -110,9 +112,11 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 cp -f /usr/share/automake/config.sub .
+%{__autoconf}
 %configure \
 	--with-openssl=%{_prefix}
 # AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
@@ -156,6 +160,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2011/04/14 17:20:40  draenog
+- correct version in pkgconfig file
+- rel. 2
+
 Revision 1.34  2011/04/08 10:54:01  lisu
 - updated to 1.2.8
 

================================================================
Index: packages/libssh2/libssh2-version.patch
diff -u /dev/null packages/libssh2/libssh2-version.patch:1.1
--- /dev/null	Thu Apr 14 19:20:46 2011
+++ packages/libssh2/libssh2-version.patch	Thu Apr 14 19:20:40 2011
@@ -0,0 +1,12 @@
+--- configure.ac~	2011-03-15 10:34:41.000000000 +0000
++++ configure.ac	2011-04-14 18:13:19.365888483 +0100
+@@ -15,8 +15,8 @@
+ fi
+ 
+ dnl figure out the libssh2 version
+-VERSION=`$SED -ne 's/^#define LIBSSH2_VERSION *"\(.*\)"/\1/p' ${srcdir}/include/libssh2.h`
+ AM_INIT_AUTOMAKE
++VERSION=`$SED -ne 's/^#define LIBSSH2_VERSION *"\(.*\)"/\1/p' ${srcdir}/include/libssh2.h`
+ AC_MSG_CHECKING([libssh2 version])
+ AC_MSG_RESULT($VERSION)
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libssh2/libssh2.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list