[packages/criu] - updated to 1.7 - updated python patch

qboosh qboosh at pld-linux.org
Sat Sep 12 21:09:04 CEST 2015


commit e7b45b13604406bc04aef3fca24137176269421b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 12 21:10:43 2015 +0200

    - updated to 1.7
    - updated python patch

 criu-python.patch | 12 ++++++------
 criu.spec         |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/criu.spec b/criu.spec
index d5d297e..0a7e628 100644
--- a/criu.spec
+++ b/criu.spec
@@ -1,12 +1,12 @@
 Summary:	Checkpoint/restore functionality for Linux in userspace
 Summary(pl.UTF-8):	Funkcja checkpoint/restore w przestrzeni użytkownika dla Linuksa
 Name:		criu
-Version:	1.5.1
+Version:	1.7
 Release:	1
 License:	GPL v2 (tools), LGPL v2.1 (library)
 Group:		Applications/System
 Source0:	http://download.openvz.org/criu/%{name}-%{version}.tar.bz2
-# Source0-md5:	b63a42e9b1195eea8c68b80aa3ff0fc0
+# Source0-md5:	317a2c303f445824c640d5665a40d778
 Patch0:		%{name}-python.patch
 URL:		http://criu.org/
 BuildRequires:	autoconf >= 2.50
@@ -14,10 +14,10 @@ BuildRequires:	protobuf-c-devel
 BuildRequires:	python >= 2
 BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRequires:	sed >= 4.0
+Requires(post,preun,postun):	systemd-units >= 38
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	iproute2 >= 3.6
 Requires:	uname(release) >= 3.9
-Requires(post,preun,postun):	systemd-units >= 38
 Requires:	systemd-units >= 38
 ExclusiveArch:	%{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -131,7 +131,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS README
+%doc CREDITS README.md
 %attr(755,root,root) %{_sbindir}/criu
 %{_mandir}/man8/criu.8*
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/criu-service
diff --git a/criu-python.patch b/criu-python.patch
index 1cb313e..fd3add3 100644
--- a/criu-python.patch
+++ b/criu-python.patch
@@ -1,11 +1,11 @@
---- criu-1.5.1/Makefile.orig	2015-04-05 17:59:01.846070466 +0200
-+++ criu-1.5.1/Makefile	2015-04-05 18:08:00.123965069 +0200
-@@ -289,7 +289,7 @@
+--- criu-1.7/Makefile.orig	2015-09-12 20:13:41.777088038 +0200
++++ criu-1.7/Makefile	2015-09-12 20:54:17.423652491 +0200
+@@ -351,7 +351,7 @@
  
  install-crit: crit
  	$(E) "  INSTALL crit"
--	$(Q) python scripts/crit-setup.py install --prefix=$(DESTDIR)
-+	$(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --optimize=2
+-	$(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)
++	$(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX) --optimize=2
  
- .PHONY: install install-man install-crit
+ .PHONY: install install-man install-crit install-criu
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/criu.git/commitdiff/e7b45b13604406bc04aef3fca24137176269421b



More information about the pld-cvs-commit mailing list