Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qore-openldap-module for 
openSUSE:Factory checked in at 2023-07-25 11:51:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-openldap-module (Old)
 and      /work/SRC/openSUSE:Factory/.qore-openldap-module.new.1467 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore-openldap-module"

Tue Jul 25 11:51:10 2023 rev:2 rq:1100399 version:1.2.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/qore-openldap-module/qore-openldap-module.changes    
    2022-06-16 18:19:49.124046395 +0200
+++ 
/work/SRC/openSUSE:Factory/.qore-openldap-module.new.1467/qore-openldap-module.changes
      2023-07-25 11:52:59.506115932 +0200
@@ -1,0 +2,6 @@
+Mon Jul 24 15:05:58 UTC 2023 - Sarah Kriesch <sarah.krie...@opensuse.org>
+
+- Update to 1.2.3
+  * This releases updates the module to compile with qpp from Qore 1.12.4+
+
+-------------------------------------------------------------------

Old:
----
  qore-openldap-module-1.2.tar.bz2

New:
----
  qore-openldap-module-1.2.3.tar.bz2

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

Other differences:
------------------
++++++ qore-openldap-module.spec ++++++
--- /var/tmp/diff_new_pack.jKAh2B/_old  2023-07-25 11:53:00.166119797 +0200
+++ /var/tmp/diff_new_pack.jKAh2B/_new  2023-07-25 11:53:00.174119844 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qore-openldap-module
 #
-# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,10 +12,11 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define mod_ver 1.2.3
 %define module_api %(qore --latest-module-api 2>/dev/null)
 %define module_dir %{_libdir}/qore-modules
 
@@ -31,44 +32,35 @@
 # 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
+%if %suse_version
 %define dist .opensuse%{os_maj}_%{os_min}
-%else
-%define dist .suse%{os_maj}_%{os_min}
-%endif
-
-%endif
 %endif
 
-# see if we can determine the distribution type
-%if 0%{!?dist:1}
-%define rh_dist %(if [ -f /etc/redhat-release ];then cat 
/etc/redhat-release|sed "s/[^0-9.]*//"|cut -f1 -d.;fi)
-%if 0%{?rh_dist}
-%define dist .rhel%{rh_dist}
-%else
-%define dist .unknown
 %endif
 %endif
 
 Summary: OPENLDAP module for Qore
 Name: qore-openldap-module
-Version: 1.2
+Version:        %{mod_ver}
 Release: 1%{dist}
 License: GPL-2.0-or-later OR LGPL-2.1-or-later
 Group: Development/Languages
 URL: http://qore.org
 Source: 
https://github.com/qorelanguage/module-openldap/releases/download/v%{version}/%{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires: /usr/bin/env
 Requires: qore-module(abi)%{?_isa} = %{module_api}
 BuildRequires: gcc-c++
-BuildRequires: qore-devel >= 0.9
+BuildRequires:  qore-devel >= 1.12.4
+BuildRequires:  qore-stdlib >= 1.12.4
 %if 0%{?suse_version} || 0%{?sles_version}
 BuildRequires: openldap2-devel
 %else
 BuildRequires: openldap-devel
 %endif
-BuildRequires: qore
+BuildRequires:  cmake >= 3.5
+BuildRequires:  doxygen
+BuildRequires:  qore >= 1.12.4
 
 %description
 This package contains the openldap module for the Qore Programming Language.
@@ -76,7 +68,6 @@
 This module exposes functionality from the openldap library as a Qore API.
 
 %if 0%{?suse_version}
-%debug_package
 %endif
 
 %package doc
@@ -93,16 +84,16 @@
 
 %prep
 %setup -q
-./configure RPM_OPT_FLAGS="$RPM_OPT_FLAGS" --prefix=/usr --disable-debug
 
 %build
-%{__make}
+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
+sed -i 's/#!\/usr\/bin\/env qore/#!\/usr\/bin\/qore/' test/q*
 
 %install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/%{module_dir}
-mkdir -p $RPM_BUILD_ROOT/usr/share/doc/qore-openldap-module
-make install DESTDIR=$RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -110,6 +101,7 @@
 %files
 %defattr(-,root,root,-)
 %{module_dir}
-%doc COPYING.MIT COPYING.LGPL README RELEASE-NOTES AUTHORS
+%doc README RELEASE-NOTES AUTHORS
+%license COPYING.MIT COPYING.LGPL
 
 %changelog

++++++ qore-openldap-module-1.2.tar.bz2 -> qore-openldap-module-1.2.3.tar.bz2 
++++++
++++ 122203 lines of diff (skipped)

Reply via email to