Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spglib for openSUSE:Factory checked in at 2024-01-07 21:41:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spglib (Old) and /work/SRC/openSUSE:Factory/.spglib.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spglib" Sun Jan 7 21:41:11 2024 rev:8 rq:1137406 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/spglib/spglib.changes 2022-12-04 14:59:40.928729244 +0100 +++ /work/SRC/openSUSE:Factory/.spglib.new.28375/spglib.changes 2024-01-07 21:41:24.778443172 +0100 @@ -1,0 +2,37 @@ +Sat Jan 6 12:53:47 UTC 2024 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- update to 2.2.0: + * Breaking Changes: + + refactor(database): standardize Hall symbols + * New Features: + + Increase max attempts for reduced cells + * Bug fixes: + fix: Fortran pkg-config file + * Documentation + + Improve release documentation +- update to 2.1.0: + * Breaking Changes: + + Fortran spg get symmetry with site tensors + * New Features: + + Add setup.cfg for python interface + + Add layer group python interface + + Improve cmake build + + Move to pyproject.toml build + + Add fortran tests and clean cmake + + Add fortran interface test + + Readthedocs + + Change SPGCONST to const + + Initial refactor for layer group implementation + + tests: Refactor testing framework + * Bug fixes: + + Fix a bug in layer groups + + fix(layergroup): fix unique axis of monocli system + + Validate type of MSG + + Ensure thread-safety + + Various fixes + * Documentation: + + Update examples in C and Fortran + + Clean up and documentation fix +- Enable unit tests + +------------------------------------------------------------------- Old: ---- spglib-2.0.2.tar.gz New: ---- spglib-2.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spglib.spec ++++++ --- /var/tmp/diff_new_pack.uJEa4Q/_old 2024-01-07 21:41:25.202458596 +0100 +++ /var/tmp/diff_new_pack.uJEa4Q/_new 2024-01-07 21:41:25.206458741 +0100 @@ -1,7 +1,7 @@ # # spec file for package spglib # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,15 @@ # -%define shlib libsymspg1 +%if 0%{?suse_version} >= 1600 +%bcond_without tests +%else +%bcond_with tests +%endif + +%define shlib libsymspg2 Name: spglib -Version: 2.0.2 +Version: 2.2.0 Release: 0 Summary: Find and handle crystal symmetries License: BSD-3-Clause @@ -26,9 +32,15 @@ URL: https://spglib.github.io/spglib/ Source0: https://github.com/spglib/spglib/archive/v%{version}.tar.gz#/spglib-%{version}.tar.gz BuildRequires: cmake +BuildRequires: c++_compiler BuildRequires: python3-devel BuildRequires: python3-numpy-devel BuildRequires: python3-setuptools +%if %{with tests} +BuildRequires: python3-pytest +BuildRequires: python3-PyYAML +BuildRequires: pkgconfig(gtest) +%endif %description Spglib is a C library to find and handle crystal symmetries. @@ -69,27 +81,28 @@ %autopatch -p1 %build -pushd . -%cmake +%cmake \ + -DSPGLIB_WITH_Python:BOOL=ON \ + -DSPGLIB_WITH_TESTS:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \ + %{nil} %cmake_build -popd - -pushd python -%python3_build -popd %install -pushd . %cmake_install -rm %{buildroot}%{_libdir}/lib*.a -popd # Fix "env-script-interpreter" rpmlint warning chmod 644 ruby/*.rb -pushd python -%python3_install -popd +# Remove shared library and header copies from python directory +rm -Rf %{python3_sitearch}/spglib/include +rm -Rf %{python3_sitearch}/spglib/libsymspg.so* + +%check +%if %{with tests} +export PYTHONPATH=%{buildroot}%{python_sitearch} +export PYTHONDONTWRITEBYTECODE=1 +%ctest +%endif %post -n %{shlib} -p /sbin/ldconfig %postun -n %{shlib} -p /sbin/ldconfig @@ -101,11 +114,10 @@ %files devel %doc example ruby %{_includedir}/spglib.h -%{_includedir}/spglib_f08.f90 %{_libdir}/libsymspg.so +%{_libdir}/cmake/Spglib %{_libdir}/pkgconfig/spglib.pc %files -n python3-spglib %{python3_sitearch}/spglib -%{python3_sitearch}/spglib*.egg-info ++++++ spglib-2.0.2.tar.gz -> spglib-2.2.0.tar.gz ++++++ ++++ 339490 lines of diff (skipped)