!25 [sync] PR-24: 更改%file阶段的打包方式,将sever包替换为原来的help包

Merge pull request !25 from openeuler-sync-bot/sync-pr24-master-to-openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2022-01-20 03:02:25 +00:00 committed by Gitee
commit be198a85ef
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: usbredir Name: usbredir
Version: 0.12.0 Version: 0.12.0
Release: 1 Release: 2
Summary: network protocol libraries for sending USB device traffic Summary: network protocol libraries for sending USB device traffic
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
URL: https://www.spice-space.org/usbredir.html URL: https://www.spice-space.org/usbredir.html
@ -26,13 +26,13 @@ Requires: usbredir = %{version}-%{release}
This contains dynamic libraries and header files for the developing of usbredir. This contains dynamic libraries and header files for the developing of usbredir.
%package server %package help
Summary: Simple USB host TCP server Summary: Including man files for usbredir
License: GPLv2+ Requires: man
Requires: usbredir = %{version}-%{release} BuildArch: noarch
%description server %description help
A simple USB host TCP server, using libusbredirhost. This contains man files for the using of usbredir.
%prep %prep
@ -53,6 +53,7 @@ A simple USB host TCP server, using libusbredirhost.
%files %files
%license COPYING COPYING.LIB %license COPYING COPYING.LIB
%{_libdir}/libusbredir*.so.* %{_libdir}/libusbredir*.so.*
%{_bindir}/usbredirect
%{_sbindir}/usbredirserver %{_sbindir}/usbredirserver
%files devel %files devel
@ -61,15 +62,15 @@ A simple USB host TCP server, using libusbredirhost.
%{_libdir}/libusbredir*.so %{_libdir}/libusbredir*.so
%{_libdir}/pkgconfig/libusbredir*.pc %{_libdir}/pkgconfig/libusbredir*.pc
%files server %files help
%license COPYING
%{_bindir}/usbredirect
%{_sbindir}/usbredirserver
%{_mandir}/man1/usbredirect.1* %{_mandir}/man1/usbredirect.1*
%{_mandir}/man1/usbredirserver.1* %{_mandir}/man1/usbredirserver.1*
%changelog %changelog
* Thu Jan 20 2022 yanglongkang <yanglongkang@huawei.com> - 0.12.0-2
- modify the %files in spec file
* Tue Nov 23 2021 yanglongkang <yanglongkang@huawei.com> - 0.12.0-1 * Tue Nov 23 2021 yanglongkang <yanglongkang@huawei.com> - 0.12.0-1
- update to 0.12.0 - update to 0.12.0