diff --git a/python-cryptography.spec b/python-cryptography.spec index 4c9dd1b..e71c676 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -90,8 +90,8 @@ export RUSTFLAGS=%{rustflags} export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build -%if !%{with test} %install +%if !%{with test} export RUSTFLAGS=%{rustflags} # Actually other *.c and *.h are appropriate # see https://github.com/pyca/cryptography/issues/1463