strip binary file

This commit is contained in:
shirely16 2021-09-04 15:20:12 +08:00
parent 5b58605819
commit d6559e9e7e

View File

@ -1,7 +1,7 @@
%bcond_with pcp
Name: cockpit
Version: 178
Release: 10
Release: 11
Summary: A easy-to-use, integrated, glanceable, and open web-based interface for Linux servers
License: LGPLv2+
URL: https://cockpit-project.org/
@ -100,6 +100,7 @@ man help files.
make install-tests DESTDIR=%{buildroot}
install -Dpm644 tools/cockpit.pam %{buildroot}%{_sysconfdir}/pam.d/cockpit
strip %{buildroot}/%{_prefix}/lib/cockpit-test-assets/mock-pam-conv-mod.so
echo '{ "linguas": null }' > %{buildroot}%{_datadir}/cockpit/shell/override.json
@ -178,6 +179,9 @@ test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
%doc %{_mandir}/man8/{cockpit-ws.8.gz,remotectl.8.gz,pam_ssh_add.8.gz}
%changelog
* Sat Sep 4 2021 hanhui <hanhui15@huawei.com> - 178-11
- strip binary file
* Thu Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 178-10
- delete gdb in buildrequires