Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xtl for openSUSE:Factory checked in at 2022-08-02 22:09:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xtl (Old) and /work/SRC/openSUSE:Factory/.xtl.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xtl" Tue Aug 2 22:09:23 2022 rev:4 rq:992173 version:0.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/xtl/xtl.changes 2020-09-16 19:38:56.382772228 +0200 +++ /work/SRC/openSUSE:Factory/.xtl.new.1533/xtl.changes 2022-08-02 22:10:03.509922376 +0200 @@ -1,0 +2,37 @@ +Sun Jul 17 19:17:39 UTC 2022 - Matwey Kornilov <[email protected]> + +- Version 0.7.4 + - check _HAS_STD_BYTE MSVC macro in xspan implementation + - fixed line endings in xhalf_float_impl.hpp + +------------------------------------------------------------------- +Fri Mar 26 02:32:11 UTC 2021 - Daniel Weatherill <[email protected]> + +- add HTML documentation to build + +- add patch to revert upstream changes to install locations + - upstream is now installing CMake and pkg-config files in /usr/share + fix_cmake_install_directory.patch + +- update to 0.7.2 + - Removed C++14 code from xbase_fixed_string + - test/test_xsystem.cpp: Allow for ctest executable names + - Fixed return type in xbasic_fixed_string to be compatible with C++11 + - Added missing FreeBSD headers + - Fixed call to sysctl + - Added meta switch + - Implement partial dispatch + - Improve xbasic fixed string + - Added xtl::executable_path and xtl::prefix_path + - Handle complex promote type w/ different T1 and T2 + - Install as arch dependent for cmake > 3.14 + - CMake: Modernized GTest integration + - Add support for xtl::endianness + - Added xtraits for future simple specialization + - Added half_float implementation + - Improved mpl::contains implementation + - Added are_equivalent_sequences + - Various minor improvements + + +------------------------------------------------------------------- Old: ---- xtl-0.6.18.tar.gz New: ---- fix_cmake_install_directory.patch xtl-0.7.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtl.spec ++++++ --- /var/tmp/diff_new_pack.rLx5S8/_old 2022-08-02 22:10:04.037923898 +0200 +++ /var/tmp/diff_new_pack.rLx5S8/_new 2022-08-02 22:10:04.041923911 +0200 @@ -1,7 +1,7 @@ # # spec file for package xtl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,26 @@ Name: xtl -Version: 0.6.18 +Version: 0.7.4 Release: 0 Summary: The x template library License: BSD-3-Clause +Group: Development/Languages/C and C++ URL: https://github.com/xtensor-stack/xtl -Source: https://github.com/xtensor-stack/xtl/archive/%{version}.tar.gz#/xtl-%{version}.tar.gz +Source0: https://github.com/xtensor-stack/xtl/archive/refs/tags/%{version}/xtl-%{version}.tar.gz +#PATCH-FIX-OPENSUSE fix_cmake_install_directory.patch change install directories of cmake and pkgconfig files +Patch0: fix_cmake_install_directory.patch BuildRequires: cmake +BuildRequires: doxygen BuildRequires: gcc-c++ +BuildRequires: make BuildRequires: pkg-config +BuildRequires: python3-breathe BuildRequires: cmake(nlohmann_json) %description Basic tools (containers, algorithms) used by other quantstack packages. -%package devel -Summary: The x template library -Requires: cmake(nlohmann_json) - -%description devel -Basic tools (containers, algorithms) used by other quantstack packages. - %prep %autosetup @@ -45,9 +44,25 @@ %cmake %cmake_build +#build documentation +cd %{_builddir}/%{name}-%{version}/docs +make html + %install %cmake_install +#install documentation +mkdir -p %{buildroot}/%{_docdir}/%{name} +cp -r %{_builddir}/%{name}-%{version}/docs/build/html/* %{buildroot}/%{_docdir}/%{name} + +%package devel +Summary: The x template library +Group: Development/Languages/C and C++ +Requires: cmake(nlohmann_json) + +%description devel +Basic tools (containers, algorithms) used by other quantstack packages. + %files devel %license LICENSE %doc README.md @@ -55,4 +70,14 @@ %{_libdir}/cmake/xtl/ %{_libdir}/pkgconfig/xtl.pc +%package doc +Summary: Documentation for xtl +Group: Documentation/HTML + +%description doc +Basic tools (containers, algorithms) used by other quantstack packages. + +%files doc +%doc %{_docdir}/%{name} + %changelog ++++++ fix_cmake_install_directory.patch ++++++ Index: xtl-0.7.2/CMakeLists.txt =================================================================== --- xtl-0.7.2.orig/CMakeLists.txt +++ xtl-0.7.2/CMakeLists.txt @@ -122,9 +122,9 @@ install(FILES ${XTL_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/xtl) endif() -set(XTL_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_DATAROOTDIR}/cmake/${PROJECT_NAME}" CACHE - STRING "install path for xtlConfig.cmake") +set(XTL_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" CACHE STRING "install path for xtlConfig.cmake") + configure_package_config_file(${PROJECT_NAME}Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake" INSTALL_DESTINATION ${XTL_CMAKECONFIG_INSTALL_DIR}) @@ -157,4 +157,4 @@ configure_file(${PROJECT_NAME}.pc.in "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc" @ONLY) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc" - DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig/") + DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/") ++++++ xtl-0.6.18.tar.gz -> xtl-0.7.4.tar.gz ++++++ ++++ 7223 lines of diff (skipped)
