Accepting request 319712 from home:cbosdonnat:branches:devel:tools

- Fix version in criu.pc file.
  4c5b23e5-criu.pc.diff

OBS-URL: https://build.opensuse.org/request/show/319712
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=27
This commit is contained in:
Martin Pluskal
2015-07-31 08:05:09 +00:00
committed by Git OBS Bridge
parent 2b8d50c617
commit c980894723
3 changed files with 43 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package criu
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@ Url: http://criu.org/
Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
Patch1: crit-install-prefix.diff
Patch2: lsm-prototype-fix.diff
Patch3: 4c5b23e5-criu.pc.diff
BuildRequires: asciidoc
BuildRequires: pkg-config
BuildRequires: protobuf-c
@@ -68,6 +69,7 @@ to develop applications with CRIU library.
%setup -q -n %{name}-%{package_version}
%patch1 -p1
%patch2 -p1
%patch3 -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