Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dnf/dnf-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ context_new (void)
{
DnfContext *ctx = dnf_context_new ();

#define CACHEDIR "/var/cache/yum"
#define CACHEDIR "/var/cache/microdnf"
dnf_context_set_cache_dir (ctx, CACHEDIR"/metadata");
dnf_context_set_solv_dir (ctx, CACHEDIR"/solv");
dnf_context_set_lock_dir (ctx, CACHEDIR"/lock");
Expand Down
2 changes: 2 additions & 0 deletions microdnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ minimal environment possible so you can build up to exactly what you need.

%install
%meson_install
mkdir -p %{buildroot}/var/cache/microdnf

%check
%meson_test
Expand All @@ -51,5 +52,6 @@ minimal environment possible so you can build up to exactly what you need.
%doc README.md
%{_mandir}/man8/microdnf.8*
%{_bindir}/%{name}
%dir /var/cache/microdnf

%changelog