Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libssh2_org for openSUSE:Factory 
checked in at 2025-12-27 11:28:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libssh2_org (Old)
 and      /work/SRC/openSUSE:Factory/.libssh2_org.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libssh2_org"

Sat Dec 27 11:28:47 2025 rev:47 rq:1324449 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libssh2_org/libssh2_org.changes  2024-11-14 
16:07:44.588407574 +0100
+++ /work/SRC/openSUSE:Factory/.libssh2_org.new.1928/libssh2_org.changes        
2025-12-27 11:28:51.575587135 +0100
@@ -1,0 +2,6 @@
+Tue Dec 23 20:41:26 UTC 2025 - Andreas Stieger <[email protected]>
+
+- use cmake build system so that cmake build files are generated,
+  as needed by daggy
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libssh2_org.spec ++++++
--- /var/tmp/diff_new_pack.wPHnVa/_old  2025-12-27 11:28:52.251614763 +0100
+++ /var/tmp/diff_new_pack.wPHnVa/_new  2025-12-27 11:28:52.255614927 +0100
@@ -2,6 +2,7 @@
 # spec file for package libssh2_org
 #
 # Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +17,7 @@
 #
 
 
+%define sover 1
 %define pkg_name libssh2
 Name:           libssh2_org
 Version:        1.11.1
@@ -29,9 +31,9 @@
 Source2:        baselibs.conf
 Source3:        libssh2_org.keyring
 Patch0:         libssh2-ocloexec.patch
-BuildRequires:  libtool
-BuildRequires:  openssl-devel
+BuildRequires:  cmake
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libcrypto)
 BuildRequires:  pkgconfig(zlib)
 # drops build cycle in Factory
 #!BuildIgnore:  groff-full
@@ -42,11 +44,11 @@
 SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
 SECSH-PUBLICKEY.
 
-%package -n libssh2-1
+%package -n libssh2-%{sover}
 Summary:        A library implementing the SSH2 protocol
 Group:          Development/Libraries/C and C++
 
-%description -n libssh2-1
+%description -n libssh2-%{sover}
 libssh2 is a library implementing the SSH2 protocol as defined by
 Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION,
 SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
@@ -56,7 +58,7 @@
 Summary:        A library implementing the SSH2 protocol
 Group:          Development/Libraries/C and C++
 Requires:       glibc-devel
-Requires:       libssh2-1 = %{version}
+Requires:       libssh2-%{sover} = %{version}
 
 %description -n libssh2-devel
 libssh2 is a library implementing the SSH2 protocol as defined by
@@ -68,38 +70,33 @@
 %autosetup -p1 -n %{pkg_name}-%{version}
 
 %build
-sed -i -e 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g' configure.ac
-# remove m4 macro files for libtool as they should be picked up by
-rm -v m4/libtool.m4 m4/lt*
-autoreconf -fiv
-export CFLAGS="%{optflags} -DOPENSSL_LOAD_CONF"
-%configure \
-    --disable-silent_rules \
-    --enable-shared \
-    --disable-rpath \
-    --disable-docker-tests \
-    --with-libssl-prefix=%{_prefix} \
-    --with-libz=%{_prefix}
+%cmake \
+       -DCRYPTO_BACKEND=OpenSSL \
+       -DBUILD_EXAMPLES:BOOL=OFF \
+       -DBUILD_TESTING:BOOL=OFF \
+       %{nil}
+%cmake_build
 
-%make_build
+%install
+%cmake_install
+# installed via %%license
+rm %{buildroot}%{_docdir}/%{name}/COPYING
 
 %check
-%make_build check
-
-%install
-%make_install
-rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/*.a
+%ctest
 
-%post -n libssh2-1 -p /sbin/ldconfig
-%postun -n libssh2-1 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libssh2-%{sover}
 
-%files -n libssh2-1
-%{_libdir}/libssh2.so.1*
+%files -n libssh2-%{sover}
+%license COPYING
+%{_libdir}/libssh2.so.%{sover}{,.*}
 
 %files -n libssh2-devel
-%doc NEWS docs/BINDINGS.md docs/HACKING.md docs/TODO
+%license COPYING
+%{_docdir}/libssh2_org
 %{_libdir}/libssh2.so
 %{_includedir}/*.h
-%{_mandir}/man3/*
+%{_mandir}/man3/*.3%{?ext_man}
 %{_libdir}/pkgconfig/libssh2.pc
+%{_libdir}/cmake/libssh2
 

Reply via email to