Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cli11 for openSUSE:Factory checked in at 2021-11-25 23:05:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cli11 (Old) and /work/SRC/openSUSE:Factory/.cli11.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cli11" Thu Nov 25 23:05:42 2021 rev:2 rq:933715 version:2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cli11/cli11.changes 2020-10-10 00:28:50.745137978 +0200 +++ /work/SRC/openSUSE:Factory/.cli11.new.1895/cli11.changes 2021-11-25 23:06:02.821215493 +0100 @@ -0,0 +1,15 @@ +Mon Nov 22 15:00:24 UTC 2021 - Haochuan Chen <yjco...@mail.nankai.edu.cn> + +- Build doc package +- Include pkgconfig file +- Disable the build of examples +- Change the directory of cmake files to %{_datadir}/cmake +- Use the upstream name for source and building, and keep the + package name lowercase +- Update to version 2.1.2 + * Use main for the main branch of the repository + * Bugfix(cmake): Enforce at least C++11 when using CMake target + * Build: Don't run doxygen and CTest includes if a submodule + * Build: Avoid a warning on CMake 3.22 + * Build: Support compiling the tests with an external copy of Catch2 + Old: ---- cli11-1.9.1.0.5cb3efabce00.tar.gz New: ---- CLI11-2.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cli11.spec ++++++ --- /var/tmp/diff_new_pack.MqNtlM/_old 2021-11-25 23:06:03.333213726 +0100 +++ /var/tmp/diff_new_pack.MqNtlM/_new 2021-11-25 23:06:03.337213712 +0100 @@ -1,7 +1,7 @@ # # spec file for package cli11 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,23 @@ # -%define git_ver .0.5cb3efabce00 +%define upstream_name CLI11 + Name: cli11 -Version: 1.9.1 +Version: 2.1.2 Release: 0 Summary: Command line parser for C++11 License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://github.com/CLIUtils/CLI11 -Source: %{name}-%{version}%{git_ver}.tar.gz +Source: %{upstream_name}-%{version}.tar.gz BuildRequires: boost-devel BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: python3-devel - %description CLI11 is a command line parser for C++11 and beyond that provides a rich feature set. @@ -49,11 +49,26 @@ if it were unambiguous) * No wide strings/Unicode +%package doc +Summary: Documentation for CLI11 +Group: Documentation/Other + +%description doc +This package contains documentation for CLI11 + +CLI11 is a command line parser for C++11 and beyond that provides a +rich feature set. It is header only, and has a number of design +limits by choice: + + * No completion of partial options (like --ve for --version, + if it were unambiguous) + * No wide strings/Unicode + %prep -%autosetup -p1 -n %{name}-%{version}%{git_ver} +%autosetup -p1 -n %{upstream_name}-%{version} %build -%cmake -DCLI11_BUILD_TESTS:BOOL=FALSE -DCLI11_BUILD_DOCS:BOOL=TRUE +%cmake -DCLI11_BUILD_TESTS:BOOL=FALSE -DCLI11_BUILD_DOCS:BOOL=TRUE -DCLI11_BUILD_EXAMPLES:BOOL=FALSE %cmake_build all docs %install @@ -64,7 +79,11 @@ %doc CHANGELOG.md %dir %{_includedir}/CLI %{_includedir}/CLI/*.hpp -%dir %{_libdir}/cmake/CLI11/ -%{_libdir}/cmake/CLI11/*.cmake +%dir %{_datadir}/cmake/CLI11/ +%{_datadir}/cmake/CLI11/*.cmake +%{_datadir}/pkgconfig/CLI11.pc + +%files doc +%doc build/docs/html/ %changelog