Skip to content

Commit 6c248cf

Browse files
committed
Fix cp error on Ubuntu focal
1 parent 0ec4284 commit 6c248cf

File tree

1 file changed

+2
-1
lines changed
  • ldnp/templates/rpm

1 file changed

+2
-1
lines changed

ldnp/templates/rpm/spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ true
7272

7373
%install
7474
# variable is defined during rpmbuild call and points to the temporary install root dir in the context
75-
cp -rfa %{_install_root}/* %{buildroot}
75+
mkdir -p %{buildroot}/
76+
cp -rfa %{_install_root}/* %{buildroot}/
7677

7778
%files
7879
# install all the files we just copied

0 commit comments

Comments
 (0)