Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package qore-ssh2-module for
openSUSE:Factory checked in at 2023-09-02 22:07:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-ssh2-module (Old)
and /work/SRC/openSUSE:Factory/.qore-ssh2-module.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qore-ssh2-module"
Sat Sep 2 22:07:51 2023 rev:9 rq:1108567 version:1.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/qore-ssh2-module/qore-ssh2-module.changes
2022-03-26 22:31:18.889974078 +0100
+++
/work/SRC/openSUSE:Factory/.qore-ssh2-module.new.1766/qore-ssh2-module.changes
2023-09-02 22:08:39.585422059 +0200
@@ -1,0 +2,5 @@
+Sat Sep 2 13:23:51 UTC 2023 - Sarah Kriesch <[email protected]>
+
+- fixed a bug where the sftp connection scheme was unusable (issue 4755)
+
+-------------------------------------------------------------------
Old:
----
qore-ssh2-module-1.4.1.tar.bz2
New:
----
qore-ssh2-module-1.4.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qore-ssh2-module.spec ++++++
--- /var/tmp/diff_new_pack.NYNU7z/_old 2023-09-02 22:08:40.693461654 +0200
+++ /var/tmp/diff_new_pack.NYNU7z/_new 2023-09-02 22:08:40.697461796 +0200
@@ -1,7 +1,7 @@
#
# spec file for package qore-ssh2-module
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,42 @@
%define qore_version 0.9.15
-%define mod_ver 1.4.1
+%define mod_ver 1.4.2
+%if 0%{?sles_version}
+
+%define dist .sles%{?sles_version}
+
+%else
+%if 0%{?suse_version}
+
+# get *suse release major version
+%define os_maj %(echo %suse_version|rev|cut -b3-|rev)
+# get *suse release minor version without trailing zeros
+%define os_min %(echo %suse_version|rev|cut -b-2|rev|sed s/0*$//)
+
+%if %suse_version > 1010
+%define dist .opensuse%{os_maj}_%{os_min}
+%else
+%define dist .suse%{os_maj}_%{os_min}
+%endif
+
+%endif
+%endif
+
%define src_name module-ssh2-ssh2-release-%{version}
%define module_api %(qore --latest-module-api 2>/dev/null)
%define module_dir %{_libdir}/qore-modules
%define user_module_dir /usr/share/qore-modules
Name: qore-ssh2-module
-Version: 1.4.1
-Release: 0
+Version: %{mod_ver}
+Release: 1%{dist}
Summary: SSH2 module for Qore
-License: LGPL-2.1-or-later OR MIT
+License: GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT
Group: Development/Languages/Misc
URL: https://www.qore.org/
Source:
https://github.com/qorelanguage/module-ssh2/releases/download/ssh2-release-%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: cmake
+BuildRequires: cmake >= 3.5
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -39,8 +60,9 @@
BuildRequires: libssh2-devel >= 1.1
BuildRequires: openssl-devel
BuildRequires: pkgconfig
-BuildRequires: qore
-BuildRequires: qore-devel >= 0.9.0
+BuildRequires: qore >= 1.18
+BuildRequires: qore-devel >= 1.18
+BuildRequires: qore-stdlib >= 1.18
Requires: /usr/bin/env
Requires: qore-module(abi)%{?_isa} = %{module_api}
Suggests: %{name}-doc = %{version}
@@ -49,34 +71,41 @@
This module provides access to ssh2 sessions and the sftp protocol
via libssh2 in the Qore programming language.
+
+%if 0%{?suse_version}
+%endif
+
%package doc
Summary: Documentation and examples for the Qore SSH2 module
Group: Development/Languages/Misc
-Requires: %{name} = %{version}
%description doc
SSH2 module for the Qore Programming Language.
This RPM provides API documentation, test and example programs
+%files doc
+%defattr(-,root,root,-)
+%doc docs/ssh2/ docs/SftpPoller/ docs/SftpPollerUtil/ docs/Ssh2Connections/
test/
+
%prep
%setup -q
-./configure RPM_OPT_FLAGS="$RPM_OPT_FLAGS" --prefix=/usr --disable-debug
%build
-%{__make}
-%make_build docs
+export CXXFLAGS="%{?optflags}"
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=RELWITHDEBINFO
-DCMAKE_SKIP_RPATH=1 -DCMAKE_SKIP_INSTALL_RPATH=1 -DCMAKE_SKIP_BUILD_RPATH=1
-DCMAKE_PREFIX_PATH=${_prefix}/lib64/cmake/Qore .
+make %{?_smp_mflags}
+make %{?_smp_mflags} docs
%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/%{module_dir}
-mkdir -p $RPM_BUILD_ROOT/%{user_module_dir}
-mkdir -p $RPM_BUILD_ROOT/usr/share/doc/qore-ssh2-module
-make install DESTDIR=$RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
%fdupes %{buildroot}%{_datadir}
# Fix docs installed by RPM
%fdupes -s build/docs
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%files
%defattr(-,root,root,-)
%{module_dir}
@@ -84,8 +113,4 @@
%license COPYING.LGPL COPYING.MIT README RELEASE-NOTES AUTHORS
%{_libdir}/qore-modules/*
-%files doc
-%defattr(-,root,root,-)
-%doc docs/ssh2/ docs/SftpPoller/ test/
-
%changelog
++++++ qore-ssh2-module-1.4.1.tar.bz2 -> qore-ssh2-module-1.4.2.tar.bz2 ++++++
++++ 113472 lines of diff (skipped)