* Mon May 09 2011 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.6-1

- Upstream 0.2.6
This commit is contained in:
Guido Grazioli 2011-05-09 14:13:44 +02:00
parent d3cc924fd8
commit 5eefe9c85a
4 changed files with 34 additions and 5 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
yaml-cpp-0.2.5.tar.gz
/yaml-cpp-0.2.6.tar.gz

View File

@ -0,0 +1,22 @@
diff -ru yaml-cpp-0.2.6//src/ptr_stack.h yaml-cpp//src/ptr_stack.h
--- a/src/ptr_stack.h 2011-03-03 09:11:14.000000000 +0100
+++ b/src/ptr_stack.h 2011-05-09 13:59:18.039965165 +0200
@@ -8,6 +8,7 @@
#include "yaml-cpp/noncopyable.h"
#include <memory>
#include <vector>
+#include <cstdlib>
template <typename T>
class ptr_stack: private YAML::noncopyable
diff -ru yaml-cpp-0.2.6//src/ptr_vector.h yaml-cpp//src/ptr_vector.h
--- a/src/ptr_vector.h 2011-03-16 02:13:41.000000000 +0100
+++ b/src/ptr_vector.h 2011-05-09 13:58:46.607892700 +0200
@@ -8,6 +8,7 @@
#include "yaml-cpp/noncopyable.h"
#include <memory>
#include <vector>
+#include <cstdlib>
namespace YAML {

View File

@ -1 +1 @@
b17dc36055cd2259c88b2602601415d9 yaml-cpp-0.2.5.tar.gz
ddfa5e8d409d9dafbeb6d190cd68dbcb yaml-cpp-0.2.6.tar.gz

View File

@ -1,11 +1,13 @@
Name: yaml-cpp
Version: 0.2.5
Release: 2%{?dist}
Version: 0.2.6
Release: 1%{?dist}
Summary: A YAML parser and emitter for C++
Group: Development/Libraries
License: MIT
URL: http://code.google.com/p/yaml-cpp/
Source0: http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
# fix build with g++ 4.6; notified upstream
Patch0: 001_yaml-cpp_fixbuildgcc46.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake
@ -26,14 +28,15 @@ developing applications that use %{name}.
%prep
%setup -q
%setup -q -n yaml-cpp
%patch0 -p1
# Fix eol
sed -i 's/\r//' license.txt
%build
# ask cmake to not strip binaries
%cmake .
%cmake . -DYAML_CPP_BUILD_TOOLS=0
make VERBOSE=1 %{?_smp_mflags}
@ -67,6 +70,9 @@ rm -rf %{buildroot}
%changelog
* Mon May 09 2011 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.6-1
- Upstream 0.2.6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild