/usr/share/doc/packages/%{name}/

OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=258
This commit is contained in:
Dr. Werner Fink 2018-03-16 06:54:20 +00:00 committed by Git OBS Bridge
parent ab94dc8352
commit e999f6ca71
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 16 06:22:31 UTC 2018 - werner@suse.de
- Correct documentation path
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 12 15:28:24 UTC 2018 - werner@suse.de Mon Mar 12 15:28:24 UTC 2018 - werner@suse.de

View File

@ -366,7 +366,7 @@ done
--mandir=%{_mandir} \ --mandir=%{_mandir} \
--infodir=%{_infodir} \ --infodir=%{_infodir} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--docdir=%{_docdir} \ --docdir=%{_docdir}/%{name} \
--with-curses \ --with-curses \
--with-afs \ --with-afs \
$SYSMALLOC \ $SYSMALLOC \
@ -427,16 +427,16 @@ done
ln -sf ../../bin/bash %{buildroot}%{_bindir}/sh ln -sf ../../bin/bash %{buildroot}%{_bindir}/sh
%endif %endif
ln -sf ../../bin/bash %{buildroot}%{_bindir}/rbash ln -sf ../../bin/bash %{buildroot}%{_bindir}/rbash
install -m 644 COMPAT NEWS %{buildroot}%{_docdir}/ install -m 644 COMPAT NEWS %{buildroot}%{_docdir}/%{name}
install -m 644 COPYING %{buildroot}%{_docdir}/ install -m 644 COPYING %{buildroot}%{_docdir}/%{name}
install -m 644 doc/FAQ %{buildroot}%{_docdir}/ install -m 644 doc/FAQ %{buildroot}%{_docdir}/%{name}
install -m 644 doc/INTRO %{buildroot}%{_docdir}/ install -m 644 doc/INTRO %{buildroot}%{_docdir}/%{name}
install -m 644 doc/*.html %{buildroot}%{_docdir}/ install -m 644 doc/*.html %{buildroot}%{_docdir}/%{name}
install -m 644 doc/builtins.1 %{buildroot}%{_mandir}/man1/bashbuiltins.1 install -m 644 doc/builtins.1 %{buildroot}%{_mandir}/man1/bashbuiltins.1
install -m 644 doc/rbash.1 %{buildroot}%{_mandir}/man1/rbash.1 install -m 644 doc/rbash.1 %{buildroot}%{_mandir}/man1/rbash.1
gzip -9f %{buildroot}%{_infodir}/*.inf*[^z] || true gzip -9f %{buildroot}%{_infodir}/*.inf*[^z] || true
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
sed 's/^|//' > %{buildroot}%{_docdir}/BUGS <<\EOF sed 's/^|//' > %{buildroot}%{_docdir}/%{name}/BUGS <<\EOF
Known problems Known problems
-------------- --------------
| |
@ -500,7 +500,7 @@ ldd -u -r %{buildroot}/bin/bash || true
%doc %{_mandir}/man1/bashbuiltins.1* %doc %{_mandir}/man1/bashbuiltins.1*
%doc %{_mandir}/man1/bashbug.1* %doc %{_mandir}/man1/bashbug.1*
%doc %{_mandir}/man1/rbash.1* %doc %{_mandir}/man1/rbash.1*
%doc %{_docdir}/ %doc %{_docdir}/%{name}
%if 0%suse_version >= 1020 %if 0%suse_version >= 1020
%files devel %files devel