diff options
author | Paul Howarth <paul@city-fan.org> | 2013-04-09 16:47:40 +0100 |
---|---|---|
committer | Paul Howarth <paul@city-fan.org> | 2013-04-09 16:47:40 +0100 |
commit | 10b73a08d728c74fe7ac4b99bef00fd1ab4f80ec (patch) | |
tree | 89e7657a9f510b33e7ff2b3c5af8ff6725a4276a | |
parent | Add three patches from upstream git required for qemu ssh block driver. (diff) | |
download | libssh2-freefilesync-10b73a08d728c74fe7ac4b99bef00fd1ab4f80ec.tar.gz libssh2-freefilesync-10b73a08d728c74fe7ac4b99bef00fd1ab4f80ec.tar.bz2 libssh2-freefilesync-10b73a08d728c74fe7ac4b99bef00fd1ab4f80ec.zip |
Revert 'Modernize the spec file' so as to retain EL-5 spec compatibility
-rw-r--r-- | libssh2.spec | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libssh2.spec b/libssh2.spec index 8c936f9..c98e659 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -12,17 +12,17 @@ Name: libssh2 Version: 1.4.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A library implementing the SSH2 protocol +Group: System Environment/Libraries License: BSD URL: http://www.libssh2.org/ - Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz Patch0: libssh2-1.4.2-utf8.patch Patch1: 0001-sftp-seek-Don-t-flush-buffers-on-same-offset.patch Patch2: 0002-sftp-statvfs-Along-error-path-reset-the-correct-stat.patch Patch3: 0003-sftp-Add-support-for-fsync-OpenSSH-extension.patch - +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: /usr/bin/man @@ -45,6 +45,7 @@ SECSH-DHGEX(04), and SECSH-NUMBERS(10). %package devel Summary: Development files for libssh2 +Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig @@ -54,6 +55,7 @@ developing applications that use libssh2. %package docs Summary: Documentation for libssh2 +Group: Development/Libraries Requires: %{name} = %{version}-%{release} %if %{noarch_docs_package} BuildArch: noarch @@ -93,6 +95,7 @@ make %{?_smp_mflags} sed -i -e 's|[[:space:]]-Wl,[^[:space:]]*||' libssh2.pc %install +rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" find %{buildroot} -name '*.la' -exec rm -f {} \; @@ -118,6 +121,9 @@ echo "exit 0" > tests/ssh2.sh %endif make -C tests check +%clean +rm -rf %{buildroot} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -140,6 +146,9 @@ make -C tests check %{_libdir}/pkgconfig/libssh2.pc %changelog +* Tue Apr 9 2013 Paul Howarth <paul@city-fan.org> 1.4.3-6 +- Revert 'Modernize the spec file' so as to retain EL-5 spec compatibility + * Tue Apr 9 2013 Richard W.M. Jones <rjones@redhat.com> 1.4.3-5 - Add three patches from upstream git required for qemu ssh block driver. - Modernize the spec file: |