specfile: use globbing in %files where possible

This commit is contained in:
David Kaspar [Dee'Kej] 2017-09-16 14:41:07 +02:00
parent 2f3792f560
commit bd6cd1a48f

View File

@ -218,10 +218,8 @@ fi
%{_mandir}/man3/* %{_mandir}/man3/*
%{_infodir}/*awk*.info* %{_infodir}/*awk*.info*
%{_libdir}/gawk %{_libdir}/gawk
%{_libexecdir}/awk %{_libexecdir}/*awk
%{_libexecdir}/gawk %{_datadir}/*awk
%{_datadir}/awk
%{_datadir}/gawk
%{_bindir}/*awk %{_bindir}/*awk
%doc NEWS README POSIX.STD README_d/README.multibyte %doc NEWS README POSIX.STD README_d/README.multibyte
@ -234,12 +232,10 @@ fi
# --------------- # ---------------
%files doc
# NOTE: For some reason, adding all files in one line causes RPM build to fail. # NOTE: For some reason, adding all files in one line causes RPM build to fail.
%doc %{_docdir}/%{name}/gawk.pdf %files doc
%doc %{_docdir}/%{name}/gawkinet.pdf %doc %{_docdir}/%{name}/gawk.{pdf,ps}
%doc %{_docdir}/%{name}/gawk.ps %doc %{_docdir}/%{name}/gawkinet.{pdf,ps}
%doc %{_docdir}/%{name}/gawkinet.ps
%doc %{_docdir}/%{name}/html %doc %{_docdir}/%{name}/html
# ============================================================================= # =============================================================================