diff --git a/man.changes b/man.changes index b9dcd96..aa42380 100644 --- a/man.changes +++ b/man.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 29 12:44:41 UTC 2017 - werner@suse.de + +- Make /var/ache/man a real directory as in system-user-man the + directory is gone + ------------------------------------------------------------------- Thu Nov 23 13:40:41 UTC 2017 - rbrown@suse.com diff --git a/man.spec b/man.spec index ac6bf42..a7d5a83 100644 --- a/man.spec +++ b/man.spec @@ -195,7 +195,6 @@ fi %if %suse_version <= 1030 export MKDIR_P="mkdir -p" %endif - rm -rf %{buildroot}%{_localstatedir}/cache/man mkdir -p %{buildroot}%{_datadir}/doc/packages/man mkdir -p %{buildroot}%{_libexecdir}/man-db mkdir -p %{buildroot}%{_bindir} @@ -240,6 +239,7 @@ fi install -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir} install -m 0744 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-do_mandb install -m 0744 %{SOURCE3} %{buildroot}/etc/cron.daily/suse-clean_catman + %find_lang man-db --all-name --with-man %pre @@ -292,6 +292,7 @@ mandb --quiet --create %doc %{_mandir}/man8/*.8.gz %dir %{_mandir}/id %{_fillupdir}/sysconfig.cron-man +%dir %verify(not mode group) %attr(0755,man,man) %{_localstatedir}/cache/man/ %defattr(-,man,man) %ghost %{_localstatedir}/cache/man/*