Compare commits
No commits in common. "rawhide" and "f19" have entirely different histories.
5 changed files with 29 additions and 272 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -3,10 +3,3 @@ yaml-cpp-0.2.5.tar.gz
|
||||||
/yaml-cpp-0.2.7.tar.gz
|
/yaml-cpp-0.2.7.tar.gz
|
||||||
/yaml-cpp-0.3.0.tar.gz
|
/yaml-cpp-0.3.0.tar.gz
|
||||||
/yaml-cpp-0.5.1.tar.gz
|
/yaml-cpp-0.5.1.tar.gz
|
||||||
/yaml-cpp-0.5.3.tar.gz
|
|
||||||
/yaml-cpp-0.6.0.tar.gz
|
|
||||||
/yaml-cpp-0.6.1.tar.gz
|
|
||||||
/yaml-cpp-0.6.2.tar.gz
|
|
||||||
/yaml-cpp-0.6.3.tar.gz
|
|
||||||
/yaml-cpp-0.7.0.tar.gz
|
|
||||||
/yaml-cpp-0.8.0.tar.gz
|
|
||||||
|
|
|
||||||
29
1211.patch
29
1211.patch
|
|
@ -1,29 +0,0 @@
|
||||||
From 8153a1add19018f65527faad3c4d3941705baf39 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Craig Scott <craig.scott@crascit.com>
|
|
||||||
Date: Wed, 16 Aug 2023 15:55:44 +1000
|
|
||||||
Subject: [PATCH] Specify CMake policy range to avoid deprecation warning
|
|
||||||
|
|
||||||
CMake 3.27 started issuing a deprecation warning for any
|
|
||||||
cmake_minimum_required() call that specified a minimum
|
|
||||||
version older than 3.5. Specifying a version range instead of
|
|
||||||
a simple minimum version avoids that warning without
|
|
||||||
raising the minimum supported CMake version. The NEW
|
|
||||||
policy behavior will be used for all policies introduced up to
|
|
||||||
CMake 3.14 with this change.
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 5 +++--
|
|
||||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 46dc18059..1ae92e2b7 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -1,5 +1,6 @@
|
|
||||||
-# 3.5 is actually available almost everywhere, but this a good minimum
|
|
||||||
-cmake_minimum_required(VERSION 3.4)
|
|
||||||
+# 3.5 is actually available almost everywhere, but this a good minimum.
|
|
||||||
+# 3.14 as the upper policy limit avoids CMake deprecation warnings.
|
|
||||||
+cmake_minimum_required(VERSION 3.4...3.14)
|
|
||||||
|
|
||||||
# enable MSVC_RUNTIME_LIBRARY target property
|
|
||||||
# see https://cmake.org/cmake/help/latest/policy/CMP0091.html
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (yaml-cpp-0.8.0.tar.gz) = aae9d618f906117d620d63173e95572c738db518f4ff1901a06de2117d8deeb8045f554102ca0ba4735ac0c4d060153a938ef78da3e0da3406d27b8298e5f38e
|
0fa47a5ed8fedefab766592785c85ee7 yaml-cpp-0.5.1.tar.gz
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
Index: yaml-cpp-0.8.0/src/emitterutils.cpp
|
|
||||||
===================================================================
|
|
||||||
--- yaml-cpp-0.8.0.orig/src/emitterutils.cpp
|
|
||||||
+++ yaml-cpp-0.8.0/src/emitterutils.cpp
|
|
||||||
@@ -1,3 +1,4 @@
|
|
||||||
+#include <cstdint>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <iomanip>
|
|
||||||
#include <sstream>
|
|
||||||
256
yaml-cpp.spec
256
yaml-cpp.spec
|
|
@ -1,262 +1,64 @@
|
||||||
%global sover 0.8
|
|
||||||
|
|
||||||
Name: yaml-cpp
|
Name: yaml-cpp
|
||||||
Version: 0.8.0
|
Version: 0.5.1
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: MIT
|
|
||||||
Summary: A YAML parser and emitter for C++
|
Summary: A YAML parser and emitter for C++
|
||||||
URL: https://github.com/jbeder/yaml-cpp
|
Group: Development/Libraries
|
||||||
Source0: https://github.com/jbeder/yaml-cpp/archive/%{version}/%{name}-%{version}.tar.gz
|
License: MIT
|
||||||
|
URL: http://code.google.com/p/yaml-cpp/
|
||||||
Patch0: yaml-cpp-include.patch
|
Source0: http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
# Allow CMake 4.0 build
|
|
||||||
Patch1: https://github.com/jbeder/yaml-cpp/pull/1211.patch
|
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc
|
BuildRequires: boost-devel
|
||||||
BuildRequires: gcc-c++
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
|
yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Group: Development/Libraries
|
||||||
Requires: libstdc++-devel%{?_isa}
|
License: MIT
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
Requires: boost-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%package static
|
|
||||||
Summary: Static library for %{name}
|
|
||||||
Requires: %{name}-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
||||||
|
|
||||||
%description static
|
|
||||||
The %{name}-static package contains the static library for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q
|
||||||
|
# Fix eol
|
||||||
|
sed -i 's/\r//' license.txt
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Define separate build directories for static and shared
|
# ask cmake to not strip binaries
|
||||||
%global _vpath_builddir %{_target_platform}-${variant}
|
%cmake . -DYAML_CPP_BUILD_TOOLS=0
|
||||||
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
variant=static
|
|
||||||
%cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DYAML_CPP_BUILD_TOOLS:BOOL=OFF \
|
|
||||||
-DYAML_CPP_FORMAT_SOURCE:BOOL=OFF \
|
|
||||||
-DYAML_CPP_INSTALL:BOOL=ON \
|
|
||||||
-DYAML_BUILD_SHARED_LIBS:BOOL=OFF \
|
|
||||||
-DYAML_CPP_BUILD_TESTS:BOOL=OFF
|
|
||||||
|
|
||||||
variant=shared
|
|
||||||
%cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DYAML_CPP_BUILD_TOOLS:BOOL=OFF \
|
|
||||||
-DYAML_CPP_FORMAT_SOURCE:BOOL=OFF \
|
|
||||||
-DYAML_CPP_INSTALL:BOOL=ON \
|
|
||||||
-DYAML_BUILD_SHARED_LIBS:BOOL=ON \
|
|
||||||
-DYAML_CPP_BUILD_TESTS:BOOL=OFF
|
|
||||||
|
|
||||||
for variant in static shared; do
|
|
||||||
%cmake_build
|
|
||||||
done
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
variant=static
|
%make_install
|
||||||
%cmake_install
|
|
||||||
|
|
||||||
# Move files so they don't get trampled
|
|
||||||
mv %{buildroot}%{_libdir}/cmake/%{name} \
|
|
||||||
%{buildroot}%{_libdir}/cmake/%{name}-static
|
|
||||||
mv %{buildroot}%{_libdir}/pkgconfig/%{name}.pc \
|
|
||||||
%{buildroot}%{_libdir}/pkgconfig/%{name}-static.pc
|
|
||||||
|
|
||||||
variant=shared
|
%post -p /sbin/ldconfig
|
||||||
%cmake_install
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CONTRIBUTING.md README.md
|
%doc license.txt
|
||||||
%license LICENSE
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/lib%{name}.so.%{sover}*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/yaml-cpp/
|
%{_includedir}/yaml-cpp/
|
||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/cmake/%{name}
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
|
||||||
|
|
||||||
%files static
|
|
||||||
%license LICENSE
|
|
||||||
%{_libdir}/lib%{name}.a
|
|
||||||
%{_libdir}/cmake/%{name}-static
|
|
||||||
%{_libdir}/pkgconfig/%{name}-static.pc
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu May 15 2025 Cristian Le <git@lecris.dev> - 0.8.0-3
|
|
||||||
- Allow to build with CMake 4.0 and Ninja generator
|
|
||||||
|
|
||||||
* Sun Jan 26 2025 Richard Shaw <hobbes1069@gmail.com> - 0.8.0-2
|
|
||||||
- Added patch for FTBFS, BZ#2341591.
|
|
||||||
|
|
||||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Oct 21 2024 Orion Poplawski <orion@nwra.com> - 0.8.0-1
|
|
||||||
- Update to 0.8.0
|
|
||||||
|
|
||||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Apr 19 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.0-3
|
|
||||||
- Fixed broken CMake configs (rhbz#2188009).
|
|
||||||
- Backported CMake fixes from upstream.
|
|
||||||
- Converted license tag to SPDX.
|
|
||||||
- Performed minor SPEC cleanup.
|
|
||||||
|
|
||||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Sep 06 2022 Richard Shaw <hobbes1069@gmail.com> - 0.7.0-1
|
|
||||||
- Update to 0.7.0.
|
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Oct 15 2019 Richard Shaw <hobbes1069@gmail.com> - 0.6.3-1
|
|
||||||
- Update to 0.6.3.
|
|
||||||
|
|
||||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jun 09 2019 Till Hofmann <thofmann@fedoraproject.org> - 0.6.2-2
|
|
||||||
- Remove unused boost dependency
|
|
||||||
|
|
||||||
* Sun Jun 09 2019 Till Hofmann <thofmann@fedoraproject.org> - 0.6.2-1
|
|
||||||
- Update to 0.6.2
|
|
||||||
|
|
||||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 0.6.1-5
|
|
||||||
- Rebuilt for Boost 1.69
|
|
||||||
|
|
||||||
* Sun Sep 16 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.1-4
|
|
||||||
- Add patch for CVE-2017-5950.
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Apr 09 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.1-2
|
|
||||||
- Fixes improperly generated cmake config files, RHBZ#1558637.
|
|
||||||
|
|
||||||
* Sun Feb 18 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.1-1
|
|
||||||
- Update to 0.6.1.
|
|
||||||
|
|
||||||
* Sun Feb 11 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.0-1
|
|
||||||
- Update to 0.6.0.
|
|
||||||
- Add static library subpackage.
|
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 31 2018 Richard Shaw <hobbes1069@gmail.com> - 0.5.3-9
|
|
||||||
- Install yaml cmake files, fixes RHBZ#1509421.
|
|
||||||
|
|
||||||
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-8
|
|
||||||
- Rebuilt for Boost 1.66
|
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-6
|
|
||||||
- Rebuilt for s390x binutils bug
|
|
||||||
|
|
||||||
* Tue Jul 04 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-5
|
|
||||||
- Rebuilt for Boost 1.64
|
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-3
|
|
||||||
- Rebuilt for Boost 1.63
|
|
||||||
|
|
||||||
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-2
|
|
||||||
- Rebuilt for Boost 1.63
|
|
||||||
|
|
||||||
* Tue Aug 23 2016 Richard Shaw <hobbes1069@gmail.com> - 0.5.3-1
|
|
||||||
- Update to latest upstream release.
|
|
||||||
|
|
||||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-12
|
|
||||||
- Rebuilt for Boost 1.60
|
|
||||||
|
|
||||||
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-11
|
|
||||||
- Rebuilt for Boost 1.59
|
|
||||||
|
|
||||||
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
||||||
|
|
||||||
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.5.1-9
|
|
||||||
- rebuild for Boost 1.58
|
|
||||||
|
|
||||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.5.1-7
|
|
||||||
- Rebuilt for GCC 5 C++11 ABI change
|
|
||||||
|
|
||||||
* Thu Feb 26 2015 Guido Grazioli <guido.grazioli@gmail.com> - 0.5.1-6
|
|
||||||
- Rebuild for gcc switching default to -std=gnu11
|
|
||||||
|
|
||||||
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.5.1-5
|
|
||||||
- Rebuild for boost 1.57.0
|
|
||||||
|
|
||||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.5.1-2
|
|
||||||
- Rebuild for boost 1.55.0
|
|
||||||
|
|
||||||
* Thu Nov 14 2013 Richard Shaw <hobbes1069@gmail.com> - 0.5.1-1
|
* Thu Nov 14 2013 Richard Shaw <hobbes1069@gmail.com> - 0.5.1-1
|
||||||
- Update to latest upstream release.
|
- Update to latest upstream release.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue