fix version; specfile fixes [release 0.1.1-2mamba;Wed Feb 07 2024]
This commit is contained in:
parent
2c242ac990
commit
69ea84484d
21
cpptoml-0.1.1-gcc-13.2.0.patch
Normal file
21
cpptoml-0.1.1-gcc-13.2.0.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From c55a516e90133d89d67285429c6474241346d27a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dirk Eddelbuettel <edd@debian.org>
|
||||||
|
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 <cstring>
|
||||||
|
#include <fstream>
|
||||||
|
#include <iomanip>
|
||||||
|
+#include <limits>
|
||||||
|
#include <map>
|
||||||
|
#include <memory>
|
||||||
|
#include <sstream>
|
28
cpptoml.spec
28
cpptoml.spec
@ -1,21 +1,23 @@
|
|||||||
Name: cpptoml
|
Name: cpptoml
|
||||||
Version: 0.4.0
|
Epoch: 1
|
||||||
Release: 1mamba
|
Version: 0.1.1
|
||||||
|
Release: 2mamba
|
||||||
Summary: A header-only library for parsing TOML
|
Summary: A header-only library for parsing TOML
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/skystrife/cpptoml
|
URL: https://github.com/skystrife/cpptoml
|
||||||
## GITSOURCE https://github.com/skystrife/cpptoml.git toml-v0.4.0
|
Source: https://github.com/skystrife/cpptoml.git/v%{version}/cpptoml-%{version}.tar.bz2
|
||||||
Source: https://github.com/skystrife/cpptoml.git/toml-v%{version}/cpptoml-%{version}.tar.bz2
|
Patch0: cpptoml-0.1.1-gcc-13.2.0.patch
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## 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
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -28,8 +30,11 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch 0 -p1 -b .gcc-13.2.0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build
|
||||||
@ -53,12 +58,17 @@ install -m 0644 include/cpptoml.h %{buildroot}%{_includedir}/
|
|||||||
%{_bindir}/cpptoml-parser
|
%{_bindir}/cpptoml-parser
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
## remove this block if there's no devel files
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/cpptoml.h
|
%{_includedir}/cpptoml.h
|
||||||
%doc README.md parse.cpp parse_stdin.cpp
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
|
||||||
|
- fix version; specfile fixes
|
||||||
|
|
||||||
|
* Wed Feb 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
||||||
|
- update to 0.1.1
|
||||||
|
|
||||||
* Sun Mar 22 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
|
* Sun Mar 22 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
|
||||||
- package created by autospec
|
- package created by autospec
|
||||||
|
Loading…
Reference in New Issue
Block a user