Ver código fonte

libssh-0.9.6-1

Tomohiro "Tomo-p" KATO 3 anos atrás
pai
commit
beb44bec01
1 arquivos alterados com 7 adições e 16 exclusões
  1. 7 16
      lib/libs/libssh/libssh-vl.spec

+ 7 - 16
lib/libs/libssh/libssh-vl.spec

@@ -3,7 +3,7 @@
 Summary:        A library implementing the SSH2 protocol
 Summary(ja):    SSH2プロトコルを実装するためのライブラリ
 Name:           libssh
-Version:        0.9.5
+Version:        0.9.6
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -70,31 +70,19 @@ The SSH library with
 
 
 %build
-mkdir -p %{_target_platform}
-pushd %{_target_platform}
-%cmake ..
-popd
-
-make %{?_smp_mflags} -C %{_target_platform}
-
-#configure --disable-static --enable-shared
-#make # doesn't build with %{?_smp_mflags}
+%cmake
+%cmake_build
 
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
-make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+%cmake_install
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-
 %files
 %defattr(-,root,root,-)
 %license COPYING
@@ -115,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Thu Sep 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.6-1
+- new upstream release.
+
 * Wed Dec 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.5-1
 - new upstream release.
 - dropped Patch1000 and 1001: fixed in upstream.