Accepting request 294782 from home:tiwai

- Fix build failure on FACTORY due to comment-in-comment in
  google/protobuf/descriptor.proto
- update to version 1.5.1:
  * fix crash with 4.0 kernel
  * legalize swrk API and add the ability for inheriting fds via it
  * cgroup yard destruction and properties restore

OBS-URL: https://build.opensuse.org/request/show/294782
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=21
This commit is contained in:
Tomas Cech
2015-04-07 14:04:40 +00:00
committed by Git OBS Bridge
parent 8d7e8a844e
commit 946dbbeb01
4 changed files with 18 additions and 5 deletions

View File

@@ -16,9 +16,9 @@
#
%define package_version 1.5
%define package_version 1.5.1
Name: criu
Version: 1.5
Version: 1.5.1
Release: 0
Summary: Checkpoint/Restore In Userspace Tools
License: GPL-2.0
@@ -66,6 +66,9 @@ to develop applications with CRIU library.
%prep
%setup -q -n %{name}-%{package_version}
%patch1 -p1
# fix up the broken protobuf descriptor.proto (comment-in-comment)
rm -f protobuf/google/protobuf/descriptor.proto
sed -e's@/\*@@g' -e's@\*/@@g' /usr/include/google/protobuf/descriptor.proto > protobuf/google/protobuf/descriptor.proto
%build
export CFLAGS="%{optflags}"