rpmlint: hardlink docs to address warnings

This commit is contained in:
Neil Hanlon 2024-09-16 19:31:01 -04:00 committed by Neil Hanlon
parent a87d5de355
commit c51a7d2a4e
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -73,7 +73,6 @@ sed -i -e 's|HTML_FOOTER|HTML_FOOTER=no_date_footer.html\n\#|g' doc/Doxyfile
make doxygen make doxygen
%install %install
install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_bindir}
install -p -m 0755 tinyows %{buildroot}%{_bindir}/ install -p -m 0755 tinyows %{buildroot}%{_bindir}/
install -d %{buildroot}%{_datadir}/%{name} 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}/ 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 # 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 # https://github.com/MapServer/tinyows/blob/f1dc7bc86fc4d69faddd79ed2804d98c11802ba8/.github/workflows/linux.sh#L19-L22
%dnl %check %dnl %check
@ -96,7 +99,7 @@ ln -s --relative %{buildroot}%{_sysconfdir}/%{name}/config.xml %{buildroot}%{_da
%files doc %files doc
%doc README.md VERSION.md %doc README.md VERSION.md
%doc doc/doxygen %doc %{_pkgdocdir}/doxygen
%changelog %changelog
%autochangelog %autochangelog