aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-local/scripts/build_pkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rpm-local/scripts/build_pkg.sh')
-rwxr-xr-xrpm-local/scripts/build_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm-local/scripts/build_pkg.sh b/rpm-local/scripts/build_pkg.sh
index 5d94a76..d7e83d3 100755
--- a/rpm-local/scripts/build_pkg.sh
+++ b/rpm-local/scripts/build_pkg.sh
@@ -29,7 +29,7 @@ cd /home/user/rpmbuild/SPECS
# Install systemd-rpm-macros if needed, so the .spec can be parsed
if grep "^BuildRequires:" "$1.spec" | grep -q systemd-rpm-macros; then
- dnf -y install systemd-rpm-macros
+ dnf --setopt=keepcache=1 -y install systemd-rpm-macros
fi
# keepcache: /var/cache/dnf is mounted from outside docker dir, so downloaded rpm depends are cached