From 2ad9ddd1af5515c8c3b1ad079bc0608072647920 Mon Sep 17 00:00:00 2001 From: David Juran Date: Tue, 15 Jul 2008 13:01:51 +0000 Subject: [PATCH] Adapted for EPEL --- libssh2.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libssh2.spec b/libssh2.spec index 4a0ba18..4e8aa2e 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -1,6 +1,6 @@ Name: libssh2 Version: 0.18 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A library implementing the SSH2 protocol Group: System Environment/Libraries @@ -11,6 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel BuildRequires: zlib-devel +BuildRequires: pkgconfig %description libssh2 is a library implementing the SSH2 protocol as defined by @@ -57,12 +58,12 @@ make %{?_smp_mflags} rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" -find %{buildroot} -name '*.la' -exec rm -f {} + +find %{buildroot} -name '*.la' -exec rm -f {} \; # clean things up a bit for packaging ( cd example && make clean ) rm -rf example/simple/.deps -find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} + +find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} \; %check (cd tests && make check) @@ -93,6 +94,9 @@ rm -rf %{buildroot} %{_libdir}/*.so %changelog +* Tue Jul 1 2008 - 0.18-8 +- Adapted for EPEL + * Mon Feb 18 2008 Fedora Release Engineering - 0.18-7 - Autorebuild for GCC 4.3