diff --git a/libssh2.spec b/libssh2.spec index 380e41d..93d4666 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -1,18 +1,18 @@ Name: libssh2 -Version: 1.2 +Version: 1.2 Release: 2%{?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 +Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: transport_c_7a9d369.patch BuildRequires: openssl-devel -BuildRequires: zlib-devel +BuildRequires: zlib-devel %description libssh2 is a library implementing the SSH2 protocol as defined by @@ -30,7 +30,7 @@ Requires: %{name} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package docs +%package docs Summary: Documentation for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} @@ -60,15 +60,15 @@ 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 +rm -rf example/simple/.deps find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} + %check -# tests are currently not doing so well under rpmbuild +# tests are currently not doing so well under rpmbuild #(cd tests && make check) %clean @@ -92,7 +92,7 @@ rm -rf %{buildroot} %files devel %defattr(-,root,root,-) -%doc COPYING +%doc COPYING %{_includedir}/* %{_libdir}/*.so