* Mon May 09 2011 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.6-1
- Upstream 0.2.6
This commit is contained in:
parent
d3cc924fd8
commit
5eefe9c85a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
yaml-cpp-0.2.5.tar.gz
|
yaml-cpp-0.2.5.tar.gz
|
||||||
|
/yaml-cpp-0.2.6.tar.gz
|
||||||
|
22
001_yaml-cpp_fixbuildgcc46.patch
Normal file
22
001_yaml-cpp_fixbuildgcc46.patch
Normal 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 {
|
||||||
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
b17dc36055cd2259c88b2602601415d9 yaml-cpp-0.2.5.tar.gz
|
ddfa5e8d409d9dafbeb6d190cd68dbcb yaml-cpp-0.2.6.tar.gz
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
Name: yaml-cpp
|
Name: yaml-cpp
|
||||||
Version: 0.2.5
|
Version: 0.2.6
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A YAML parser and emitter for C++
|
Summary: A YAML parser and emitter for C++
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://code.google.com/p/yaml-cpp/
|
URL: http://code.google.com/p/yaml-cpp/
|
||||||
Source0: http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
||||||
@ -26,14 +28,15 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n yaml-cpp
|
||||||
|
%patch0 -p1
|
||||||
# Fix eol
|
# Fix eol
|
||||||
sed -i 's/\r//' license.txt
|
sed -i 's/\r//' license.txt
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# ask cmake to not strip binaries
|
# ask cmake to not strip binaries
|
||||||
%cmake .
|
%cmake . -DYAML_CPP_BUILD_TOOLS=0
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -67,6 +70,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user