Author Login
Post Reply
fwang wrote:
> Log:
> New version 1.0.6
Incomplete log entry. See below.
> -# (fc) 1.0.5-3mdv fix support for LUKS encrypted CD/DVD (Fedora)
> -Patch0: cryptsetup-1.0.5-readonly_detection.patch
Patch removed without explanation.
> %build
> # static build for security reasons, and disable selinux
> export ac_cv_lib_selinux_is_selinux_enabled=no
> autoconf
> -%configure2_5x --enable-static
> +%configure2_5x --enable-static --sbindir=/sbin --libdir=/%{_lib}
Library moved to /lib without explanation.
> %make
>
> %install
> rm -rf $RPM_BUILD_ROOT
> -%makeinstall
> +%makeinstall_std
> +
> +# move libcryptsetup.so to %{_libdir}
> +pushd $RPM_BUILD_ROOT/%{_lib}
> +rm libcryptsetup.so
> +mkdir -p $RPM_BUILD_ROOT/%{_libdir}
> +ln -s ../../%{_lib}/$(ls libcryptsetup.so.?.?.?) $RPM_BUILD_ROOT/%{_libdir}/libcryptsetup.so
Fails e.g. with libcryptsetup.so.1.2.34, '?' only matches single character.
--
Anssi Hannula