Fix build with rpm 4.20

rpm 4.20 now uses a build-specific %_builddir (previously %_topdir/BUILD),
but this directory change occurs by default even in older versions.

https://github.com/rpm-software-management/rpm/issues/2078
This commit is contained in:
Yaakov Selkowitz 2024-06-21 15:18:06 -04:00
parent 72cb54ec6a
commit 4299cf9076

View File

@ -52,10 +52,8 @@ It generates a bundled license file that gets the licenses in the runtime
dependency tarball
%prep
pushd %{_topdir}/BUILD
cp -da %{_sourcedir}/* .
tar xvf test.tar.gz
popd
%build