Avoid including compression format in man page globs

The recommendation in the Fedora packaging guidelines is to have:

%{_mandir}/man1/<command>.1*

which is more robust against future changes to the RPM scripts to
use different compression.
This commit is contained in:
Felipe Borges 2019-04-03 08:18:14 +00:00
parent 8507189141
commit 38fe6956dc

View File

@ -226,10 +226,10 @@ find %{buildroot} -name "*.a" -delete
%{_bindir}/winpr-makecert
%{_bindir}/wlfreerdp
%{_bindir}/xfreerdp
%{_mandir}/man1/winpr-hash.1.*
%{_mandir}/man1/winpr-makecert.1.*
%{_mandir}/man1/wlfreerdp.1.*
%{_mandir}/man1/xfreerdp.1.*
%{_mandir}/man1/winpr-hash.1*
%{_mandir}/man1/winpr-makecert.1*
%{_mandir}/man1/wlfreerdp.1*
%{_mandir}/man1/xfreerdp.1*
%files libs
%license LICENSE
@ -274,7 +274,7 @@ find %{buildroot} -name "*.a" -delete
%{?_with_server:
%files server
%{_bindir}/freerdp-shadow-cli
%{_mandir}/man1/freerdp-shadow-cli.1.*
%{_mandir}/man1/freerdp-shadow-cli.1*
}
%files -n libwinpr