rpmlint: hardlink docs to address warnings
This commit is contained in:
parent
a87d5de355
commit
c51a7d2a4e
@ -73,7 +73,6 @@ sed -i -e 's|HTML_FOOTER|HTML_FOOTER=no_date_footer.html\n\#|g' doc/Doxyfile
|
||||
make doxygen
|
||||
|
||||
%install
|
||||
|
||||
install -d %{buildroot}%{_bindir}
|
||||
install -p -m 0755 tinyows %{buildroot}%{_bindir}/
|
||||
install -d %{buildroot}%{_datadir}/%{name}
|
||||
@ -83,6 +82,10 @@ install -p -m 0644 ms4w/apps/tinyows-svn/config.xml %{buildroot}%{_sysconfdir}/%
|
||||
|
||||
ln -s --relative %{buildroot}%{_sysconfdir}/%{name}/config.xml %{buildroot}%{_datadir}/%{name}/
|
||||
|
||||
mkdir -p %{buildroot}%{_pkgdocdir}
|
||||
cp -a doc/doxygen %{buildroot}%{_pkgdocdir}/
|
||||
hardlink --ignore-time --reflink=never %{buildroot}%{_pkgdocdir}/
|
||||
|
||||
# NOTE(neil): 2024-08-25 tests require a postgres database running; unable to run in check
|
||||
# https://github.com/MapServer/tinyows/blob/f1dc7bc86fc4d69faddd79ed2804d98c11802ba8/.github/workflows/linux.sh#L19-L22
|
||||
%dnl %check
|
||||
@ -96,7 +99,7 @@ ln -s --relative %{buildroot}%{_sysconfdir}/%{name}/config.xml %{buildroot}%{_da
|
||||
|
||||
%files doc
|
||||
%doc README.md VERSION.md
|
||||
%doc doc/doxygen
|
||||
%doc %{_pkgdocdir}/doxygen
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
Loading…
Reference in New Issue
Block a user