mirror of
https://src.fedoraproject.org/rpms/module-build-service.git
synced 2026-06-18 09:27:26 +08:00
Add help before help2man to better diagnose build issues
This commit is contained in:
@@ -240,6 +240,7 @@ export PYTHONPATH=%{buildroot}%{python2_sitelib}
|
||||
%if 0%{?fedora}
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
for command in mbs-manager mbs-frontend mbs-upgradedb ; do
|
||||
%{buildroot}/%{_bindir}/$command --help
|
||||
help2man -N --version-string=%{version} \
|
||||
%{buildroot}/%{_bindir}/$command > \
|
||||
%{buildroot}/%{_mandir}/man1/$command.1
|
||||
|
||||
Reference in New Issue
Block a user