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-11-16 15:43:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xtl (Old) and /work/SRC/openSUSE:Factory/.xtl.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xtl" Wed Nov 16 15:43:16 2022 rev:5 rq:1035885 version:0.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/xtl/xtl.changes 2022-08-02 22:10:03.509922376 +0200 +++ /work/SRC/openSUSE:Factory/.xtl.new.1597/xtl.changes 2022-11-16 15:43:29.759860590 +0100 @@ -1,0 +2,7 @@ +Tue Oct 18 19:15:36 UTC 2022 - Matwey Kornilov <matwey.korni...@gmail.com> + +- Enable unit test at package build +- Declare -devel and -doc packages as noarch + - Drop fix_cmake_install_directory.patch + +------------------------------------------------------------------- Old: ---- fix_cmake_install_directory.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtl.spec ++++++ --- /var/tmp/diff_new_pack.jMTYkR/_old 2022-11-16 15:43:30.231862301 +0100 +++ /var/tmp/diff_new_pack.jMTYkR/_new 2022-11-16 15:43:30.235862316 +0100 @@ -24,9 +24,8 @@ Group: Development/Languages/C and C++ URL: https://github.com/xtensor-stack/xtl 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: doctest-devel BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: make @@ -37,11 +36,28 @@ %description Basic tools (containers, algorithms) used by other quantstack packages. +%package devel +Summary: The x template library +Group: Development/Languages/C and C++ +Requires: cmake(nlohmann_json) +BuildArch: noarch + +%description devel +Basic tools (containers, algorithms) used by other quantstack packages. + +%package doc +Summary: Documentation for xtl +Group: Documentation/HTML +BuildArch: noarch + +%description doc +Basic tools (containers, algorithms) used by other quantstack packages. + %prep %autosetup %build -%cmake +%cmake -DBUILD_TESTS:BOOL=ON %cmake_build #build documentation @@ -55,27 +71,15 @@ 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. +%check +%ctest %files devel %license LICENSE %doc README.md %{_includedir}/xtl/ -%{_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. +%{_datadir}/cmake/xtl/ +%{_datadir}/pkgconfig/xtl.pc %files doc %doc %{_docdir}/%{name}