Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lensfun for openSUSE:Factory checked 
in at 2023-07-26 13:22:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lensfun (Old)
 and      /work/SRC/openSUSE:Factory/.lensfun.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lensfun"

Wed Jul 26 13:22:01 2023 rev:49 rq:1100565 version:0.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/lensfun/lensfun.changes  2022-03-02 
18:20:25.120654493 +0100
+++ /work/SRC/openSUSE:Factory/.lensfun.new.15225/lensfun.changes       
2023-07-26 13:22:09.707387271 +0200
@@ -1,0 +2,9 @@
+Sat Jul 22 08:48:49 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update to 0.3.4
+  Check https://github.com/lensfun/lensfun/releases/tag/v0.3.4 for
+  the list of new cameras and lenses supported.
+  * Port apps/setup.py from Python distutils
+  * CMake: Numerous backports from master
+
+-------------------------------------------------------------------

Old:
----
  lensfun-0.3.3.tar.gz

New:
----
  lensfun-0.3.4.tar.gz

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

Other differences:
------------------
++++++ lensfun.spec ++++++
--- /var/tmp/diff_new_pack.iFS5zo/_old  2023-07-26 13:22:10.531391935 +0200
+++ /var/tmp/diff_new_pack.iFS5zo/_new  2023-07-26 13:22:10.535391957 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lensfun
 #
-# 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
@@ -18,11 +18,10 @@
 
 %define sonum   1
 Name:           lensfun
-Version:        0.3.3
+Version:        0.3.4
 Release:        0
 Summary:        A photographic lens database and a library for accessing it
 License:        CC-BY-SA-3.0 AND LGPL-3.0-only
-Group:          Development/Libraries/C and C++
 URL:            https://lensfun.github.io/
 Source:         
https://github.com/lensfun/lensfun/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # updated lens database, use "osc service dr" to update it.
@@ -36,6 +35,7 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3
 BuildRequires:  python3-docutils
+BuildRequires:  python3-setuptools
 BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(glib-2.0)
 
@@ -57,8 +57,7 @@
 and colour contribution index of the lens.
 
 %package data
-Summary:        Data files for %{name}/%{name}-devel
-Group:          System/Libraries
+Summary:        Data files for lensfun
 BuildArch:      noarch
 
 %description data
@@ -78,28 +77,25 @@
 transversal (also known as lateral) chromatic aberrations, vignetting
 and colour contribution index of the lens.
 
-%package -n lib%{name}%{sonum}
-Summary:        Library files for %{name}/%{name}-devel
-Group:          System/Libraries
-Requires:       %{name}-data
-Provides:       %{name} = %{version}
-Obsoletes:      %{name} < %{version}
+%package -n liblensfun%{sonum}
+Summary:        Library files for lensfun
+Requires:       lensfun-data
+Provides:       lensfun = %{version}
+Obsoletes:      lensfun < %{version}
 
-%description -n lib%{name}%{sonum}
-Library files needed by the use the %{name} library/database.
+%description -n liblensfun%{sonum}
+Library files needed by the use the lensfun library/database.
 
 %package -n python3-lensfun
 Summary:        Python3 lensfun bindings
-Group:          Development/Languages/Python
-Requires:       lib%{name}%{sonum} = %{version}
+Requires:       liblensfun%{sonum} = %{version}
 
 %description -n python3-lensfun
 Lensfun bindings for Python 3
 
 %package tools
-Summary:        Tools for managing %{name} data
-Group:          Development/Tools/Other
-Requires:       %{name}-data
+Summary:        Tools for managing lensfun data
+Requires:       lensfun-data
 Requires:       python3-lensfun = %{version}
 
 %description tools
@@ -107,22 +103,20 @@
 adapters in lensfun.
 
 %package doc
-Summary:        Documentation for %{name}
-Group:          Documentation/HTML
-Requires:       %{name}-data
+Summary:        Documentation for lensfun
+Requires:       lensfun-data
 
 %description doc
-Documentation and manual files for the %{name} library/database.
+Documentation and manual files for the lensfun library/database.
 
 %package devel
-Summary:        Header and library definition files for %{name}
-Group:          Development/Libraries/C and C++
-Requires:       %{name}-data = %{version}
-Requires:       lib%{name}%{sonum} = %{version}
+Summary:        Header and library definition files for lensfun
+Requires:       lensfun-data = %{version}
+Requires:       liblensfun%{sonum} = %{version}
 
 %description devel
 Header and library definition files for developing applications
-that use the %{name} library/database.
+that use the lensfun library/database.
 
 %prep
 %autosetup -p1 -a 2
@@ -134,53 +128,64 @@
   apps/lensfun-update-data \
   apps/lensfun/__init__.py.in
 
+sed -i 's#/usr/bin/env sh#/usr/bin/sh#' apps/g-lensfun-update-data
+
 %build
 %cmake \
-    -DBUILD_STATIC=OFF \
-    -DBUILD_TESTS=ON \
-    -DBUILD_DOC=ON \
-    -DDOCDIR=%{_defaultdocdir}/%{name} \
-    -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name} \
-    -DINSTALL_HELPER_SCRIPTS=ON \
-    -DPYTHON_EXECUTABLE=%{_bindir}/python3
-make %{?_smp_mflags} lensfun doc
+    -DBUILD_LENSTOOL:BOOL=ON \
+    -DBUILD_STATIC:BOOL=OFF \
+    -DBUILD_TESTS:BOOL=ON \
+    -DBUILD_DOC:BOOL=ON \
+    -DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/lensfun \
+    -DINSTALL_HELPER_SCRIPTS:BOOL=ON \
+    -DPYTHON_EXECUTABLE:STRING=python3
+
+%cmake_build
 
 %install
 %cmake_install
-# drop test cases, we should run them here instead
-rm -rf %{buildroot}%{_datadir}/lensfun/tests
+
+pushd build/apps
+python3 setup.py install --root="%{buildroot}" --skip-build
+popd
+
+# Unneeded
+%if 0%{?suse_version} > 1500
+rm %{buildroot}%{python3_sitelib}/lensfun-*.egg
+%endif
+
 # Create udate folder for lensfun data
 mkdir -p %{buildroot}%{_localstatedir}/lib/lensfun-updates
-# Regererate pyc files to not contain buildroot
-%py3_compile %{buildroot}/%{python3_sitelib}/lensfun/
 
 %fdupes %{buildroot}
 
 %check
+# ERROR: lensfun-0.3.4/tests/test_database.cpp:29:void 
test_DB_lens_search(lfFixture*, gconstpointer): 'lenses' should not be nullptr
+%ifnarch %ix86 armv7hl
 export 
LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
 %ctest
+%endif
 
-%post   -n lib%{name}%{sonum} -p /sbin/ldconfig
-%postun -n lib%{name}%{sonum} -p /sbin/ldconfig
+%ldconfig_scriptlets -n liblensfun%{sonum}
 
 %files doc
 %doc README.md
 %doc docs/*
-%doc %{_defaultdocdir}/%{name}
+%doc %{_defaultdocdir}/lensfun
 
 %files data
-%{_datadir}/%{name}/
+%{_datadir}/lensfun/
 %dir %{_localstatedir}/lib/lensfun-updates/
 
-%files -n lib%{name}%{sonum}
+%files -n liblensfun%{sonum}
 %{_libdir}/*.so.*
 
 %files -n python3-lensfun
 %{python3_sitelib}/lensfun/
-%{python3_sitelib}/lensfun*.egg-info
+%{python3_sitelib}/lensfun-*.egg-info
 
 %files devel
-%{_includedir}/lensfun
+%{_includedir}/lensfun/
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/lensfun.pc
 
@@ -188,6 +193,7 @@
 %{_bindir}/g-lensfun-update-data
 %{_bindir}/lensfun-add-adapter
 %{_bindir}/lensfun-update-data
+%{_bindir}/lenstool
 %{_mandir}/man?/g-lensfun-update-data*
 %{_mandir}/man?/lensfun-add-adapter*
 %{_mandir}/man?/lensfun-update-data*

++++++ data-master.obscpio ++++++
++++ 7781 lines of diff (skipped)

++++++ data.obsinfo ++++++
--- /var/tmp/diff_new_pack.iFS5zo/_old  2023-07-26 13:22:10.823393587 +0200
+++ /var/tmp/diff_new_pack.iFS5zo/_new  2023-07-26 13:22:10.827393610 +0200
@@ -1,5 +1,5 @@
 name: data
 version: master
-mtime: 1646081372
-commit: 53fd708582d196303a2f167bfbcac64389b80f69
+mtime: 1689180325
+commit: 645bfdd5df50da92023a4f9158b0717ebcc47e81
 

++++++ lensfun-0.3.3.tar.gz -> lensfun-0.3.4.tar.gz ++++++
++++ 8712 lines of diff (skipped)

Reply via email to