]> git.pld-linux.org Git - packages/hostapd.git/blobdiff - hostapd.spec
fix build flags application; rel 2
[packages/hostapd.git] / hostapd.spec
index c28235d44567440686bffdb98d181ba059069969..e49507746674555e94a8ea68233ee96d6e05a04a 100644 (file)
@@ -6,12 +6,12 @@ Summary:      HostAP - acts as an access point
 Summary(es.UTF-8):     HostAP - actĂșa como un punto de acceso
 Summary(pl.UTF-8):     HostAP - praca jako access point
 Name:          hostapd
-Version:       2.9
-Release:       1
+Version:       2.10
+Release:       2
 License:       BSD
 Group:         Daemons
-Source0:       http://w1.fi/releases/%{name}-%{version}.tar.gz
-# Source0-md5: f188fc53a495fe7af3b6d77d3c31dee8
+Source0:       https://w1.fi/releases/%{name}-%{version}.tar.gz
+# Source0-md5: 0be43e9e09ab94a7ebf82de0d1c57761
 Source1:       %{name}.init
 Source2:       %{name}.service
 Source3:       %{name}@.service
@@ -68,14 +68,12 @@ IBSS.
 %patch0 -p1
 %patch1 -p1
 
-%{__sed} '/CFLAGS =/{s/-g//; s/-O2/$(OPTCFLAGS)/}' -i hostapd/Makefile
-
 %build
+CFLAGS="%{rpmcflags} %{rpmcppflags}" \
+LDFLAGS="%{rpmldflags}" \
 %{__make} -C hostapd all nt_password_hash hlr_auc_gw \
        V=1 \
        CC="%{__cc}" \
-       OPTCFLAGS="%{rpmcflags} %{rpmcppflags}" \
-       LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.117353 seconds and 4 git commands to generate.