Name: nonstd-expected-lite-devel %define altname expected-lite Version: 0.6.2 Release: 1%{?dist} Summary: expected objects for C++11 and later License: BSL-1.0 URL: https://github.com/martinmoene/%{altname} Source0: https://github.com/martinmoene/%{altname}/archive/refs/tags/v%{version}.tar.gz#/%{altname}-%{version}.tar.gz BuildArch: noarch BuildRequires: cmake BuildRequires: gcc-c++ %description expected lite is a single-file header-only library to represent value objects that either contain a valid value or an error. The library is a partly implementation of the proposal for std::expected for use with C++11 and later. %prep %autosetup -n %{altname}-%{version} %build %cmake %cmake_build %install %cmake_install %check %ctest %files %{_includedir}/nonstd/*.hpp %{_libdir}/cmake/*/*.cmake %changelog * Mon Aug 8 2022 Jean Pierre Cimalando - 0.6.2-1 - Update to version 0.6.2 * Fri Jul 15 2022 Jean Pierre Cimalando - 0.6.1-1 - Initial version of the package