Set correct permission on createrepo_c cache

This commit is contained in:
Ozan Unsal 2022-01-26 11:42:01 +01:00 committed by Lubomír Sedlář
parent 10f729f0c8
commit 1b81bd4693

View File

@ -99,7 +99,7 @@ gzip _build/man/pungi.1
%install
%py3_install
%{__install} -d %{buildroot}/var/cache/pungi
%{__install} -d %{buildroot}/var/cache/pungi/createrepo_c
%{__install} -d %{buildroot}%{_mandir}/man1
%{__install} -m 0644 doc/_build/man/pungi.1.gz %{buildroot}%{_mandir}/man1
@ -119,6 +119,7 @@ rm %{buildroot}%{_bindir}/pungi
%{_mandir}/man1/pungi.1.gz
%{_datadir}/pungi
/var/cache/pungi
%dir %attr(1777, root, root) /var/cache/pungi/createrepo_c
%files -n python3-%{name}
%{python3_sitelib}/%{name}