forked from pool/libguestfs
- Include gconv modules for hivex (bnc#900530)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=320
This commit is contained in:
parent
aec0a02080
commit
5b20983ebf
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 14 10:34:12 CEST 2014 - ohering@suse.de
|
||||||
|
|
||||||
|
- Include gconv modules for hivex (bnc#900530)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 5 09:53:22 CEST 2014 - ohering@suse.de
|
Fri Sep 5 09:53:22 CEST 2014 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -2,6 +2,26 @@
|
|||||||
#%stage: block
|
#%stage: block
|
||||||
#
|
#
|
||||||
|
|
||||||
|
fdupes_s() {
|
||||||
|
local _target=""
|
||||||
|
local _file=
|
||||||
|
fdupes --quiet --noempty --recurse "$@" |
|
||||||
|
while read _file
|
||||||
|
do
|
||||||
|
if test -z "$_target"
|
||||||
|
then
|
||||||
|
_target="$_file"
|
||||||
|
else
|
||||||
|
if test -z "$_file"
|
||||||
|
then
|
||||||
|
_target=""
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
echo ln -fv "${_target##*/}" "$_file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
# copy daemon manually because it is located in RPM_BUILD_ROOT
|
# copy daemon manually because it is located in RPM_BUILD_ROOT
|
||||||
mkdir -vp $tmp_mnt/usr/sbin
|
mkdir -vp $tmp_mnt/usr/sbin
|
||||||
cp_bin $(type -p guestfsd) $tmp_mnt/usr/sbin
|
cp_bin $(type -p guestfsd) $tmp_mnt/usr/sbin
|
||||||
@ -37,6 +57,15 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for d in /usr/lib*/gconv
|
||||||
|
do
|
||||||
|
if test -e $d
|
||||||
|
then
|
||||||
|
cp -avL --parents $d $tmp_mnt/
|
||||||
|
fdupes_s $tmp_mnt$d
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
for t in \
|
for t in \
|
||||||
screen \
|
screen \
|
||||||
vt100 \
|
vt100 \
|
||||||
|
@ -166,6 +166,7 @@ BuildRequires: fuse-devel
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
%if %{with hivex}
|
%if %{with hivex}
|
||||||
|
BuildRequires: glibc-locale
|
||||||
BuildRequires: hivex-devel
|
BuildRequires: hivex-devel
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
@ -403,6 +404,7 @@ BuildRequires: e2fsprogs
|
|||||||
%if %{with ext4_writeable}
|
%if %{with ext4_writeable}
|
||||||
BuildRequires: ext4-writeable-kmp-default
|
BuildRequires: ext4-writeable-kmp-default
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: file
|
BuildRequires: file
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
|
Loading…
Reference in New Issue
Block a user