Change in system-user-man

OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=82
This commit is contained in:
Dr. Werner Fink 2017-11-29 13:23:20 +00:00 committed by Git OBS Bridge
parent b6d0ceea3a
commit 445c4d21c7
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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/*