From 8d92ea6c6eb9030e510952da69cbcafd73524d77 Mon Sep 17 00:00:00 2001 From: Zhao Hang Date: Tue, 4 Jul 2023 21:28:02 +0800 Subject: [PATCH 1/2] update to openwsman-2.6.5-9.el8.src.rpm Signed-off-by: Zhao Hang --- dist | 2 +- openwsman.spec | 29 ++++++++++++----------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/dist b/dist index 0ee7539..9c0e36e 100644 --- a/dist +++ b/dist @@ -1 +1 @@ -an8_6 +an8 diff --git a/openwsman.spec b/openwsman.spec index 79c7247..6de7727 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -1,11 +1,9 @@ -%define anolis_release .0.1 - # RubyGems's macros expect gem_name to exist. %global gem_name %{name} Name: openwsman Version: 2.6.5 -Release: 8%{anolis_release}%{?dist} +Release: 9%{?dist} Summary: Open source Implementation of WS-Management License: BSD @@ -124,14 +122,6 @@ Requires: rubygem-%{gem_name} = %{version}-%{release} This is a command line tool for the Windows Remote Shell protocol. You can use it to send shell commands to a remote Windows hosts. -%package doc -Summary: Documents for %{name} -BuildArch: noarch -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description doc -Doc pages for %{name}. - %prep %setup -q @@ -235,21 +225,25 @@ rm -f /var/log/wsmand.log %postun client -p /sbin/ldconfig %files -n libwsman1 +%doc AUTHORS COPYING ChangeLog README.md TODO %{_libdir}/libwsman.so.* %{_libdir}/libwsman_client.so.* %{_libdir}/libwsman_curl_client_transport.so.* %files -n libwsman-devel +%doc AUTHORS COPYING ChangeLog README.md %{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/*.so %files python3 +%doc AUTHORS COPYING ChangeLog README.md %{python3_sitearch}/*.so %{python3_sitearch}/*.py %{python3_sitearch}/__pycache__/* %files -n rubygem-%{gem_name} +%doc AUTHORS COPYING ChangeLog README.md %dir %{gem_instdir} %{gem_libdir} %{gem_extdir_mri} @@ -260,10 +254,12 @@ rm -f /var/log/wsmand.log %doc %{gem_docdir} %files perl +%doc AUTHORS COPYING ChangeLog README.md %{perl_vendorarch}/openwsman.so %{perl_vendorlib}/openwsman.pm %files server +%doc AUTHORS COPYING ChangeLog README.md # Don't remove *.so files from the server package. # the server fails to start without these files. %dir %{_sysconfdir}/openwsman @@ -285,22 +281,21 @@ rm -f /var/log/wsmand.log %{_mandir}/man8/* %files client +%doc AUTHORS COPYING ChangeLog README.md %{_libdir}/libwsman_clientpp.so.* %config(noreplace) %{_sysconfdir}/openwsman/openwsman_client.conf %files winrs %{_bindir}/winrs -%files doc -%doc AUTHORS COPYING ChangeLog README.md TODO - %changelog -* Fri Oct 28 2022 Zhao Hang - 2.6.5-8.0.1 -- Add doc sub package +* Tue Sep 20 2022 Vitezslav Crhonek - 2.6.5-9 +- Rebuild + Related: #2124894 * Thu Sep 08 2022 Vitezslav Crhonek - 2.6.5-8 - Improve handling of HTTP 401 Unauthorized - Resolves: #2124893 + Resolves: #2124894 * Mon May 11 2020 Vitezslav Crhonek - 2.6.5-7 - Fix CVE-2019-3833 -- Gitee From b9332cd0a2677f23c201012c86f96cc3afc47b0e Mon Sep 17 00:00:00 2001 From: Zhao Hang Date: Wed, 20 Jul 2022 11:19:36 +0800 Subject: [PATCH 2/2] spec: add doc sub package Signed-off-by: Zhao Hang --- openwsman.spec | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/openwsman.spec b/openwsman.spec index 6de7727..1f7ae0b 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -1,9 +1,11 @@ +%define anolis_release .0.1 + # RubyGems's macros expect gem_name to exist. %global gem_name %{name} Name: openwsman Version: 2.6.5 -Release: 9%{?dist} +Release: 9%{anolis_release}%{?dist} Summary: Open source Implementation of WS-Management License: BSD @@ -122,6 +124,14 @@ Requires: rubygem-%{gem_name} = %{version}-%{release} This is a command line tool for the Windows Remote Shell protocol. You can use it to send shell commands to a remote Windows hosts. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -225,25 +235,21 @@ rm -f /var/log/wsmand.log %postun client -p /sbin/ldconfig %files -n libwsman1 -%doc AUTHORS COPYING ChangeLog README.md TODO %{_libdir}/libwsman.so.* %{_libdir}/libwsman_client.so.* %{_libdir}/libwsman_curl_client_transport.so.* %files -n libwsman-devel -%doc AUTHORS COPYING ChangeLog README.md %{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/*.so %files python3 -%doc AUTHORS COPYING ChangeLog README.md %{python3_sitearch}/*.so %{python3_sitearch}/*.py %{python3_sitearch}/__pycache__/* %files -n rubygem-%{gem_name} -%doc AUTHORS COPYING ChangeLog README.md %dir %{gem_instdir} %{gem_libdir} %{gem_extdir_mri} @@ -254,12 +260,10 @@ rm -f /var/log/wsmand.log %doc %{gem_docdir} %files perl -%doc AUTHORS COPYING ChangeLog README.md %{perl_vendorarch}/openwsman.so %{perl_vendorlib}/openwsman.pm %files server -%doc AUTHORS COPYING ChangeLog README.md # Don't remove *.so files from the server package. # the server fails to start without these files. %dir %{_sysconfdir}/openwsman @@ -281,14 +285,19 @@ rm -f /var/log/wsmand.log %{_mandir}/man8/* %files client -%doc AUTHORS COPYING ChangeLog README.md %{_libdir}/libwsman_clientpp.so.* %config(noreplace) %{_sysconfdir}/openwsman/openwsman_client.conf %files winrs %{_bindir}/winrs +%files doc +%doc AUTHORS COPYING ChangeLog README.md TODO + %changelog +* Tue Jul 04 2023 Zhao Hang - 2.6.5-9.0.1 +- Add doc sub package + * Tue Sep 20 2022 Vitezslav Crhonek - 2.6.5-9 - Rebuild Related: #2124894 -- Gitee