From: Thierry Parmentelat Date: Thu, 2 Dec 2010 13:43:52 +0000 (+0100) Subject: could not get the tarball to contain a decent 'configure' X-Git-Tag: f12-bbox-f14~1 X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=commitdiff_plain;h=a843358da4e3f1e894dcf2efc5f5db22d5b4739f could not get the tarball to contain a decent 'configure' so now the tarball we point at is the bare svn repo, and we regenerate configure (make -f Makefile.svn) as part of the build stage --- diff --git a/sources b/sources index 17b3ccc..234443c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5ae3afafcd980d8fb4ac3df18012e08c8bc5c8cb http://mirror.onelab.eu/third-party/util-vserver-0.30.216-pre2926.tar.bz2 +33ebef4e25720b05272201cda1d15e9f6d9804af http://mirror.onelab.eu/third-party/util-vserver-0.30.216-pre2926.tar.bz2 diff --git a/util-vserver.spec b/util-vserver.spec index 6e21ccd..0d7c0f4 100644 --- a/util-vserver.spec +++ b/util-vserver.spec @@ -19,6 +19,7 @@ %global fullver 0.30.216-pre2926 %global ver %( echo %fullver | sed 's/-.*//' ) %global subver %( s=`echo %fullver | grep -- - | sed 's/.*-/./'`; echo ${s:-.1} ) +%global release %( echo %subver | sed -e 's,\.,,' ) # Mandriva does funky stuff that break us. @@ -33,9 +34,6 @@ %endif -%global release pre2926 -#%{!?release_func:%global release_func() %1%{?dist}} - Summary: Linux virtual server utilities Name: util-vserver Version: %ver @@ -206,6 +204,7 @@ Linux-VServer API from Python. %build +make -f Makefile.svn %configure --with-initrddir=%_initrddir --enable-release \ %{?_without_dietlibc:--disable-dietlibc} \ %{?_with_legacy:--enable-apis=NOLEGACY} \