From 36a861dae6a59e26e643889e66ad35ffb50672b1 Mon Sep 17 00:00:00 2001 From: markeryang Date: Thu, 20 Jan 2022 10:11:39 +0800 Subject: [PATCH] modify the %files in spec file --- usbredir.spec | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/usbredir.spec b/usbredir.spec index 96ab52c..b33e09b 100644 --- a/usbredir.spec +++ b/usbredir.spec @@ -1,6 +1,6 @@ Name: usbredir Version: 0.12.0 -Release: 1 +Release: 2 Summary: network protocol libraries for sending USB device traffic License: LGPLv2+ and GPLv2+ 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. -%package server -Summary: Simple USB host TCP server -License: GPLv2+ -Requires: usbredir = %{version}-%{release} +%package help +Summary: Including man files for usbredir +Requires: man +BuildArch: noarch -%description server -A simple USB host TCP server, using libusbredirhost. +%description help +This contains man files for the using of usbredir. %prep @@ -53,6 +53,7 @@ A simple USB host TCP server, using libusbredirhost. %files %license COPYING COPYING.LIB %{_libdir}/libusbredir*.so.* +%{_bindir}/usbredirect %{_sbindir}/usbredirserver %files devel @@ -61,15 +62,15 @@ A simple USB host TCP server, using libusbredirhost. %{_libdir}/libusbredir*.so %{_libdir}/pkgconfig/libusbredir*.pc -%files server -%license COPYING -%{_bindir}/usbredirect -%{_sbindir}/usbredirserver +%files help %{_mandir}/man1/usbredirect.1* %{_mandir}/man1/usbredirserver.1* %changelog +* Thu Jan 20 2022 yanglongkang - 0.12.0-2 +- modify the %files in spec file + * Tue Nov 23 2021 yanglongkang - 0.12.0-1 - update to 0.12.0