diff --git a/cpptoml-0.1.1-gcc-13.2.0.patch b/cpptoml-0.1.1-gcc-13.2.0.patch new file mode 100644 index 0000000..6ab767a --- /dev/null +++ b/cpptoml-0.1.1-gcc-13.2.0.patch @@ -0,0 +1,21 @@ +From c55a516e90133d89d67285429c6474241346d27a Mon Sep 17 00:00:00 2001 +From: Dirk Eddelbuettel +Date: Mon, 30 Nov 2020 09:41:49 -0600 +Subject: [PATCH] g++-11 requires limits header + +--- + include/cpptoml.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/cpptoml.h b/include/cpptoml.h +index 5a00da3..1dc9fd1 100644 +--- a/include/cpptoml.h ++++ b/include/cpptoml.h +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/cpptoml.spec b/cpptoml.spec index f51fb23..17e6eb2 100644 --- a/cpptoml.spec +++ b/cpptoml.spec @@ -1,21 +1,23 @@ Name: cpptoml -Version: 0.4.0 -Release: 1mamba +Epoch: 1 +Version: 0.1.1 +Release: 2mamba Summary: A header-only library for parsing TOML Group: Applications/Development Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan +Packager: Silvan Calarco URL: https://github.com/skystrife/cpptoml -## GITSOURCE https://github.com/skystrife/cpptoml.git toml-v0.4.0 -Source: https://github.com/skystrife/cpptoml.git/toml-v%{version}/cpptoml-%{version}.tar.bz2 +Source: https://github.com/skystrife/cpptoml.git/v%{version}/cpptoml-%{version}.tar.bz2 +Patch0: cpptoml-0.1.1-gcc-13.2.0.patch License: BSD ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 cpptoml' to get the list of build requirements. +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: gcc-c++ -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -28,8 +30,11 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. +%debug_package + %prep %setup -q +%patch 0 -p1 -b .gcc-13.2.0 %build %cmake -d build @@ -53,12 +58,17 @@ install -m 0644 include/cpptoml.h %{buildroot}%{_includedir}/ %{_bindir}/cpptoml-parser %doc LICENSE -## remove this block if there's no devel files %files devel %defattr(-,root,root) %{_includedir}/cpptoml.h -%doc README.md parse.cpp parse_stdin.cpp +%doc README.md %changelog +* Wed Feb 07 2024 Silvan Calarco 0.1.1-2mamba +- fix version; specfile fixes + +* Wed Feb 07 2024 Silvan Calarco 0.1.1-1mamba +- update to 0.1.1 + * Sun Mar 22 2015 Davide Madrisan 0.4.0-1mamba - package created by autospec