[criu] added %{version} macro in Source and %setup

Andrey Vagin avagin at fedoraproject.org
Tue Dec 10 16:43:12 UTC 2013


commit 4af66918d708026d2d209038c9b10fe5eece7d31
Author: Adrian Reber <adrian at lisas.de>
Date:   Wed Jul 10 20:22:59 2013 +0200

    added %{version} macro in Source and %setup

 crtools.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/crtools.spec b/crtools.spec
index 932b441..e73845b 100644
--- a/crtools.spec
+++ b/crtools.spec
@@ -5,7 +5,7 @@ Summary: Tool for Checkpoint/Restore in User-space
 Group: System Environment/Base
 License: GPLv2
 URL: http://criu.org/
-Source0: http://download.openvz.org/criu/criu-0.6.tar.bz2
+Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2
 Patch0: 0001-arm-added-ARM-versions-of-the-POSIX-timer-syscalls.patch
 Patch1: 0001-posix-timers-don-t-call-ferror-for-NULL.patch
 Patch2: 0001-posix-times-don-t-fail-if-proc-PID-times-is-absent.patch
@@ -25,7 +25,7 @@ Linux in user-space.
 
 
 %prep
-%setup -q -n criu-0.6
+%setup -q -n criu-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1


More information about the scm-commits mailing list