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:
Cristian Rodríguez 2011-10-10 15:19:43 +00:00 committed by Git OBS Bridge
parent 9228c2a255
commit 8476d82d25
3 changed files with 19 additions and 5 deletions

View File

@ -1,4 +1,4 @@
[D-BUS Service]
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

View File

@ -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

View File

@ -19,7 +19,12 @@
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/
Version: 0.7.3
Release: 6
@ -83,10 +88,10 @@ cp %{SOURCE1} wpa_supplicant/.config
%build
cd wpa_supplicant
CFLAGS="$RPM_OPT_FLAGS" make %{?jobs:-j%jobs}
CFLAGS="$RPM_OPT_FLAGS" make V=1 %{?_smp_mflags}
cd wpa_gui-qt4
qmake QMAKE_CXXFLAGS="$RPM_OPT_FLAGS"
make %{?jobs:-j%jobs}
qmake QMAKE_CXXFLAGS="$RPM_OPT_FLAGS" QMAKE_CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
install -d %{buildroot}/%{_sbindir}