From d98ed58c34d09635ce9bd4c42a90f4815bdb1094 Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Tue, 29 May 2018 15:06:27 +0200 Subject: [PATCH] Remove rpath before rebuilding for python3 api. --- cryptsetup.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/cryptsetup.spec b/cryptsetup.spec index ee91891..c63ef6c 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -3,7 +3,7 @@ Summary: A utility for setting up encrypted disks Name: cryptsetup Version: 1.7.5 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ and LGPLv2+ Group: Applications/System URL: https://gitlab.com/cryptsetup/cryptsetup @@ -95,14 +95,17 @@ chmod -x misc/dracut_90reencrypt/* cp -a . %{py3dir} %build -%configure --enable-python --enable-fips --enable-cryptsetup-reencrypt --enable-pwquality %{?configure_pbkdf2} +%configure --enable-python --enable-fips --enable-cryptsetup-reencrypt --enable-pwquality # remove rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} pushd %{py3dir} -%configure --enable-python --with-python_version=3 +%configure --enable-python --with-python_version=3 --enable-fips --enable-cryptsetup-reencrypt --enable-pwquality +# remove rpath +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} popd @@ -168,6 +171,10 @@ popd %clean %changelog +* Tue May 29 2018 Ondrej Kozina - 1.7.5-4 +- Remove rpath before rebuilding for python3 api. +- Rebuild for python3 with same configure options. + * Wed Aug 02 2017 Fedora Release Engineering - 1.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild