## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global date 20260109 %global commit d2058fd1d4800203e1ded1cfad74fa73fdbf622a %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: libunifex Version: 0.4.0^%{date}git%{shortcommit} Release: %autorelease Summary: A prototype implementation of the C++ sender/receiver async programming model License: Apache-2.0 WITH LLVM-exception URL: https://github.com/facebookexperimental/libunifex Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: gtest-devel BuildRequires: gmock-devel %description The 'libunifex' project is a prototype implementation of the C++ sender/receiver async programming model that is currently being considered for standardisation. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains development files for %{name}. %prep %autosetup -p1 -C %build export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized -Wno-error=template-body" %cmake \ -GNinja \ -DUNIFEX_USE_SYSTEM_GTEST=ON \ -DCMAKE_CXX_STANDARD=20 %cmake_build %install %cmake_install %check %ctest %files %license LICENSE.txt %doc README.md %{_libdir}/libunifex.so.0* %files devel %{_includedir}/unifex/ %{_libdir}/libunifex.so %{_libdir}/cmake/unifex/ %{_libdir}/pkgconfig/unifex.pc %changelog ## START: Generated by rpmautospec * Sun Jan 25 2026 topazus - 0.4.0^20260109gitd2058fd-1 - update d2058fd * Fri Jan 16 2026 Fedora Release Engineering - 0.4.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Oct 06 2025 Terje Røsten - 0.4.0-10 - Fix build with GCC 15 * Thu Jul 24 2025 Fedora Release Engineering - 0.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jan 20 2025 Fedora Release Engineering - 0.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 0.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jul 18 2024 Fedora Release Engineering - 0.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jan 30 2024 topazus - 0.4.0-5 - Change -Wmaybe-uninitialized errors into warnings * Thu Jan 25 2024 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jan 02 2024 topazus - 0.4.0-2 - fix packit * Sun Dec 17 2023 topazus - 0.4.0-1 - initial import; RHBZ#2254853 ## END: Generated by rpmautospec