Accepting request 87271 from home:lnussel:branches:hardware
- use same exec line in fi.w1.wpa_supplicant1.service as in fi.epitest.hostap.WPASupplicant.service - fix build on older distros - fix not using RPM_OPT_FLAGS - use %_smp_mflags OBS-URL: https://build.opensuse.org/request/show/87271 OBS-URL: https://build.opensuse.org/package/show/hardware/wpa_supplicant?expand=0&rev=19
This commit is contained in:
parent
9228c2a255
commit
8476d82d25
@ -1,4 +1,4 @@
|
|||||||
[D-BUS Service]
|
[D-BUS Service]
|
||||||
Name=fi.w1.wpa_supplicant1
|
Name=fi.w1.wpa_supplicant1
|
||||||
Exec=/usr/sbin/wpa_supplicant -u
|
Exec=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log
|
||||||
User=root
|
User=root
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 10 13:28:43 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
- use same exec line in fi.w1.wpa_supplicant1.service as in
|
||||||
|
fi.epitest.hostap.WPASupplicant.service
|
||||||
|
- fix build on older distros
|
||||||
|
- fix not using RPM_OPT_FLAGS
|
||||||
|
- use %_smp_mflags
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 16 12:02:37 UTC 2011 - jengelh@medozas.de
|
Fri Sep 16 12:02:37 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -19,7 +19,12 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: wpa_supplicant
|
Name: wpa_supplicant
|
||||||
BuildRequires: dbus-1-devel libnl-1_1-devel libqt4 libqt4-devel openssl-devel pkg-config readline-devel
|
BuildRequires: dbus-1-devel libqt4 libqt4-devel openssl-devel pkg-config readline-devel
|
||||||
|
%if 0%{?suse_version} > 1140
|
||||||
|
BuildRequires: libnl-1_1-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: libnl-devel
|
||||||
|
%endif
|
||||||
Url: http://hostap.epitest.fi/wpa_supplicant/
|
Url: http://hostap.epitest.fi/wpa_supplicant/
|
||||||
Version: 0.7.3
|
Version: 0.7.3
|
||||||
Release: 6
|
Release: 6
|
||||||
@ -83,10 +88,10 @@ cp %{SOURCE1} wpa_supplicant/.config
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd wpa_supplicant
|
cd wpa_supplicant
|
||||||
CFLAGS="$RPM_OPT_FLAGS" make %{?jobs:-j%jobs}
|
CFLAGS="$RPM_OPT_FLAGS" make V=1 %{?_smp_mflags}
|
||||||
cd wpa_gui-qt4
|
cd wpa_gui-qt4
|
||||||
qmake QMAKE_CXXFLAGS="$RPM_OPT_FLAGS"
|
qmake QMAKE_CXXFLAGS="$RPM_OPT_FLAGS" QMAKE_CFLAGS="$RPM_OPT_FLAGS"
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}/%{_sbindir}
|
install -d %{buildroot}/%{_sbindir}
|
||||||
|
Loading…
Reference in New Issue
Block a user