[criu] Update to 1.2

Adrian Reber adrian at fedoraproject.org
Fri Feb 28 15:26:47 UTC 2014


commit a31ea74fdc7bf6778931eb0363b86fc220aab40c
Author: Adrian Reber <adrian at lisas.de>
Date:   Fri Feb 28 16:27:39 2014 +0100

    Update to 1.2
    
    - Dropped all upstreamed patches

 .gitignore |    1 +
 criu.spec  |   25 +++++++++----------------
 sources    |    2 +-
 3 files changed, 11 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a59eda7..3f19fd1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /criu-0.8.tar.bz2
 /criu-1.0.tar.bz2
 /criu-1.1.tar.bz2
+/criu-1.2.tar.bz2
diff --git a/criu.spec b/criu.spec
index 61893b1..6fb4a4c 100644
--- a/criu.spec
+++ b/criu.spec
@@ -1,6 +1,6 @@
 Name: criu	
-Version: 1.1
-Release: 4%{?dist}
+Version: 1.2
+Release: 1%{?dist}
 Provides: crtools = %{version}-%{release}
 Obsoletes: crtools <= 1.0-2
 Summary: Tool for Checkpoint/Restore in User-space
@@ -8,12 +8,6 @@ Group: System Environment/Base
 License: GPLv2
 URL: http://criu.org/
 Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2
-Patch0: ptrace_peeksiginfo_args.patch
-Patch1: http://git.criu.org/?p=criu.git;a=patch;h=48b22f0d9578561660ae67c0cfdd66040362c9cf
-Patch2: http://git.criu.org/?p=criu.git;a=patch;h=f5f9fb9c0007a613273064626b87ad62ad4b5923
-Patch3: http://git.criu.org/?p=criu.git;a=patch;h=b0e6ebc1c7a529dfc3073c26f2a18733a1088458
-Patch4: 0001-Makefile-fix-libcriu.so-links-and-man-page-installat.patch
-
 
 BuildRequires: protobuf-c-devel asciidoc xmlto
 
@@ -39,13 +33,6 @@ This package contains header files and libraries for %{name}.
 
 %prep
 %setup -q -n criu-%{version}
-%if 0%{fedora} > 20
-%patch0 -p1
-%endif
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 %build
 # %{?_smp_mflags} does not work
@@ -55,7 +42,8 @@ make docs V=1
 
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LIBDIR=%{_libdir}
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LIBDIR=%{_libdir} LOGROTATEDIR=%{_sysconfdir}/logrotate.d
 
 # upstream renamed to binary to criu
 ln -s %{_sbindir}/criu $RPM_BUILD_ROOT%{_sbindir}/crtools
@@ -70,6 +58,7 @@ ln -s %{_sbindir}/criu $RPM_BUILD_ROOT%{_sbindir}/crtools
 %{_unitdir}/criu.service
 %{_unitdir}/criu.socket
 %{_libdir}/*.so.*
+%{_sysconfdir}/logrotate.d/%{name}-service
 %doc README COPYING
 
 %files devel
@@ -78,6 +67,10 @@ ln -s %{_sbindir}/criu $RPM_BUILD_ROOT%{_sbindir}/crtools
 
 
 %changelog
+* Fri Feb 28 2014 Adrian Reber <adrian at lisas.de> - 1.2-1
+- Update to 1.2
+- Dropped all upstreamed patches
+
 * Tue Feb 04 2014 Adrian Reber <adrian at lisas.de> - 1.1-4
 - Create -devel subpackage
 
diff --git a/sources b/sources
index f52938f..86a4f7e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c22838ad6cd85117b77c792517d9a608  criu-1.1.tar.bz2
+fb0a264245da1eb2f6c63fbc04af89fa  criu-1.2.tar.bz2


More information about the scm-commits mailing list