Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Ondrej Kozina
d98ed58c34 Remove rpath before rebuilding for python3 api. 2018-05-29 15:06:27 +02:00

View file

@ -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 <okozina@redhat.com> - 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 <releng@fedoraproject.org> - 1.7.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild