|
@@ -18,7 +18,7 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
BuildRequires: sed
|
|
BuildRequires: sed
|
|
Requires: bash, apt
|
|
Requires: bash, apt
|
|
-%if %{?_dist_release} >= "vl7"
|
|
|
|
|
|
+%if "%{?_dist_release}" >= "vl7"
|
|
Requires: aufs-util
|
|
Requires: aufs-util
|
|
%else
|
|
%else
|
|
Requires: unionfs-utils
|
|
Requires: unionfs-utils
|
|
@@ -57,13 +57,13 @@ vbuilder は vbootstrap を利用して chroot 環境の構築し、
|
|
|
|
|
|
%build
|
|
%build
|
|
%__make \
|
|
%__make \
|
|
- %if %{?_dist_release} == "vl6"
|
|
|
|
|
|
+ %if "%{?_dist_release}" == "vl6"
|
|
VBUILDER_DEFAULT_VERSION=6.5
|
|
VBUILDER_DEFAULT_VERSION=6.5
|
|
%endif
|
|
%endif
|
|
- %if %{?_dist_release} == "vl5"
|
|
|
|
|
|
+ %if "%{?_dist_release}" == "vl5"
|
|
VBUILDER_DEFAULT_VERSION=5.2
|
|
VBUILDER_DEFAULT_VERSION=5.2
|
|
%endif
|
|
%endif
|
|
- %if %{?_dist_release} == "vl4"
|
|
|
|
|
|
+ %if "%{?_dist_release}" == "vl4"
|
|
VBUILDER_DEFAULT_VERSION=4.2
|
|
VBUILDER_DEFAULT_VERSION=4.2
|
|
%endif
|
|
%endif
|
|
|
|
|