From 388f84d7faa5b4e1254bcf722bc4a5b4cc54cd76 Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Tue, 6 Sep 2022 10:51:27 +0800 Subject: [PATCH] seperate doc sub packages Signed-off-by: Chunmei Xu --- wpa_supplicant.spec | 45 +++++++++++++++++++-------------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index 7ebb06f..1e0fa3b 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global _hardened_build 1 Summary: WPA/WPA2/IEEE 802.1X Supplicant @@ -13,19 +13,6 @@ Source2: wpa_supplicant.service Source3: wpa_supplicant.sysconfig Source4: wpa_supplicant.logrotate -# distro specific customization and not suitable for upstream, -# Fedora-specific updates to defconfig -#Patch0: wpa_supplicant-config.patch -# works around busted drivers -#Patch1: wpa_supplicant-assoc-timeout.patch -# ensures that debug output gets flushed immediately to help diagnose driver -# bugs, not suitable for upstream -#Patch2: wpa_supplicant-flush-debug-output.patch -# quiet an annoying and frequent syslog message -#Patch3: wpa_supplicant-quiet-scan-results-message.patch -# distro specific customization for Qt4 build tools, not suitable for upstream -#Patch4: wpa_supplicant-gui-qt4.patch - URL: http://w1.fi/wpa_supplicant/ BuildRequires: openssl-devel @@ -39,13 +26,6 @@ Requires(post): systemd-sysv Requires(post): systemd Requires(preun): systemd Requires(postun): systemd -# libeap used to be built from wpa_supplicant with some fairly horrible -# hackery, solely for use by WiMAX. We dropped all WiMAX support around -# F21. This is here so people don't wind up with obsolete libeap packages -# lying around. If it's ever resurrected for any reason, this needs -# dropping. -Obsoletes: libeap < %{epoch}:%{version}-%{release} -Obsoletes: libeap-devel < %{epoch}:%{version}-%{release} %description wpa_supplicant is a WPA Supplicant for Linux, BSD and Windows with support @@ -54,6 +34,14 @@ component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver. +%package doc +Summary: Doc files for wpa_supplicant +Requires: %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +Doc files for wpa_supplicant + %prep %autosetup -p1 -n %{name}-%{version} @@ -143,14 +131,19 @@ chmod -R 0644 wpa_supplicant/examples/*.py %{_mandir}/man8/wpa_background.8.gz %{_mandir}/man8/eapol_test.8.gz %{_mandir}/man5/* -%doc README -%doc wpa_supplicant/ChangeLog %doc wpa_supplicant/eap_testing.txt -%doc wpa_supplicant/todo.txt %doc wpa_supplicant/wpa_supplicant.conf %doc wpa_supplicant/examples %license COPYING +%files doc +%doc README +%doc wpa_supplicant/ChangeLog +%doc wpa_supplicant/todo.txt + %changelog -* Sat Jan 22 2022 Fedora Release Engineering - 1:2.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild +* Tue Sep 06 2022 Chunmei Xu - 1:2.10-2 +- seperate doc sub packages + +* Fri Apr 15 2022 Chunmei Xu - 1:2.10-1 +- init from upstream -- Gitee