remove redundant command argument and file

Signed-off-by: xiaofan <xiaofan@iscas.ac.cn>
This commit is contained in:
xiaofan 2023-09-04 21:06:21 +08:00
parent 2af80136fc
commit 26360a43b7
3 changed files with 6 additions and 9 deletions

View File

@ -1,3 +0,0 @@
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

View File

@ -8,7 +8,7 @@ After=dbus.service
Type=dbus
BusName=fi.w1.wpa_supplicant1
EnvironmentFile=-/etc/sysconfig/wpa_supplicant
ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS
ExecStart=/usr/sbin/wpa_supplicant -u $INTERFACES $DRIVERS $OTHER_ARGS
[Install]
WantedBy=multi-user.target

View File

@ -1,13 +1,12 @@
Name: wpa_supplicant
Epoch: 1
Version: 2.10
Release: 2
Release: 3
Summary: A WPA Supplicant with support for WPA and WPA2 (IEEE 802.11i / RSN)
License: BSD or GPLv2
Url: https://w1.fi/wpa_supplicant/
Source0: http://w1.fi/releases/%{name}-%{version}.tar.gz
Source1: build-config
Source2: %{name}.conf
Source3: %{name}.service
Source5: %{name}.logrotate
@ -59,7 +58,6 @@ cp -f %{SOURCE1} %{name}/.config
%{_build_cmd__ %{name}/doc/docbook man}
%install
install -Dm600 %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
install -Dm644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service
install -Dm644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
@ -83,7 +81,6 @@ install -m644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5
%files
%license COPYING
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%{_unitdir}/%{name}.service
%{_sysconfdir}/dbus-1/system.d/%{name}.conf
@ -92,7 +89,6 @@ install -m644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5
%{_sbindir}/wpa_supplicant
%{_sbindir}/wpa_cli
%{_sbindir}/eapol_test
%dir %{_sysconfdir}/%{name}
%files gui
%{_bindir}/wpa_gui
@ -103,6 +99,10 @@ install -m644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5
%{_mandir}/man5/*
%changelog
* Mon Sep 4 2023 xiaofan <xiaofan@iscas.ac.cn> - 1:2.10-3
- remove redundant command argument and file
* Sun May 14 2023 Guan Jun-Ming <gjunming@qq.com> - 1:2.10-2
- update build-config file to remove CONFIG_TLS_DEFAULT_CIPHERS