diff --git a/rust-sequoia-sq.spec b/rust-sequoia-sq.spec index a96e60b..43ddbf6 100644 --- a/rust-sequoia-sq.spec +++ b/rust-sequoia-sq.spec @@ -119,14 +119,16 @@ rm -vr subplot/ mkdir -p bundled_capnproto pushd bundled_capnproto tar --strip-components=1 -xf %{SOURCE2} -%cmake -DBUILD_TESTING=OFF -%cmake_build popd %endif %build %if %{with bundled_capnproto} -export PATH="$PWD/bundled_capnproto/%{__cmake_builddir}/src/capnp:$PATH" +pushd bundled_capnproto +%cmake -DBUILD_TESTING=OFF +%cmake_build +export PATH="$PWD/%{__cmake_builddir}/src/capnp:$PATH" +popd %endif %cargo_build %{cargo_license_summary}