[criu] import

Andrey Vagin avagin at fedoraproject.org
Tue Dec 10 16:42:27 UTC 2013


commit 158a5c857167f821bfd3e94506ffd8c085516fff
Author: Adrian Reber <adrian at lisas.de>
Date:   Tue Jan 22 16:48:42 2013 +0100

    import

 .gitignore   |    1 +
 crtools.spec |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..76835e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/crtools-0.3.tar.bz2
diff --git a/crtools.spec b/crtools.spec
new file mode 100644
index 0000000..90d8f9c
--- /dev/null
+++ b/crtools.spec
@@ -0,0 +1,65 @@
+Name: crtools	
+Version: 0.3	
+Release: 3%{?dist}
+Summary: Tool for Checkpoint/Restore in User-space
+Group: System Environment/Base
+License: GPLv2
+URL: http://criu.org/
+Source0: http://download.openvz.org/criu/crtools-0.3.tar.bz2
+
+BuildRequires: protobuf-c-devel asciidoc xmlto
+
+# user-space and kernel changes are only available for x86_64
+# code is very architecture specific
+# once imported in RCS it needs a bug openend explaining the ExclusiveArch
+# https://bugzilla.redhat.com/show_bug.cgi?id=902875
+ExclusiveArch: x86_64
+
+%description
+crtools is the user-space part of Checkpoint/Restore in User-space
+(CRIU), a project to implement checkpoint/restore functionality for
+Linux in user-space. 
+
+
+%prep
+%setup -q
+# quick fix for broken Makefile in Documentation/
+sed -i -e 's,$(E),echo,g' Documentation/Makefile
+# allow our CLFAGS to enhance the existing
+sed -i -e "s,CFLAGS\t\t=,CFLAGS\t\t+=,g" Makefile
+
+%build
+# %{?_smp_mflags} does not work
+# -fstack-protector breaks build
+CFLAGS+=`echo %{optflags} | sed -e 's,-fstack-protector,,g'` make V=1 WERROR=0
+make -C Documentation V=1
+
+
+%install
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
+install -m 644 Documentation/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%files
+%{_bindir}/%{name}
+%{_mandir}/man1/*
+%doc README COPYING
+
+%changelog
+* Tue Jan 22 2013 Adrian Reber <adrian at lisas.de> - 0.3-3
+- added ExclusiveArch blocker bug
+
+* Fri Jan 18 2013 Adrian Reber <adrian at lisas.de> - 0.3-2
+- improved Summary and Description
+
+* Mon Jan 14 2013 Adrian Reber <adrian at lisas.de> - 0.3-1
+- updated to 0.3
+- fix building Documentation/
+
+* Tue Aug 21 2012 Adrian Reber <adrian at lisas.de> - 0.2-2
+- remove macros like %%{__mkdir_p} and %%{__install}
+- add comment why it is only x86_64
+
+* Tue Aug 21 2012 Adrian Reber <adrian at lisas.de> - 0.2-1
+- initial release
diff --git a/sources b/sources
index e69de29..d46a148 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2d026e736466e52e1cac24405f2b0124  crtools-0.3.tar.bz2


More information about the scm-commits mailing list