modify the %files in spec file

This commit is contained in:
markeryang 2022-01-20 10:11:39 +08:00
parent a041d7c68b
commit 36a861dae6

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