fix some OSCI dashboard failures
Related: rhbz#2019830 Signed-off-by: Davide Caratti <dcaratti@redhat.com>
This commit is contained in:
parent
e008a0d300
commit
ec3be71c86
13
hostapd.spec
13
hostapd.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: hostapd
|
||||
Version: 2.9
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
Summary: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
||||
License: BSD
|
||||
URL: http://w1.fi/hostapd
|
||||
@ -87,6 +87,7 @@ Logwatch scripts for hostapd.
|
||||
cd hostapd
|
||||
cat defconfig | sed \
|
||||
-e '$ a CONFIG_SAE=y' \
|
||||
-e '$ a CONFIG_SUITE192B=y' \
|
||||
-e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' \
|
||||
-e '/^#CONFIG_RADIUS_SERVER=y/s/^#//' \
|
||||
-e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \
|
||||
@ -101,7 +102,10 @@ cat defconfig | sed \
|
||||
> .config
|
||||
echo "CFLAGS += -I%{_includedir}/libnl3" >> .config
|
||||
echo "LIBS += -L%{_libdir}" >> .config
|
||||
make %{?_smp_mflags} EXTRA_CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CFLAGS="${CFLAGS:-%optflags} -fPIE -DPIE"
|
||||
export CXXFLAGS="${CXXFLAGS:-%optflags} -fPIE -DPIE"
|
||||
export LDFLAGS="${LDFLAGS:-%optflags} -pie -Wl,-z,now"
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||
@ -205,6 +209,11 @@ fi
|
||||
%{_sysconfdir}/logwatch/scripts/services/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Dec 20 2021 Davide Caratti <dcaratti@redhat.com> - 2.9.15
|
||||
- Disable 'badfuncs' in rpminspect tests
|
||||
- Build with -fPIE, and enable verbose build log
|
||||
- enable CONFIG_SUITE192B
|
||||
|
||||
* Fri Dec 17 2021 Tomas Pelka <tpelka@redhat.com> - 2.9-14
|
||||
- Bump release and rebuilt to trigger gating process
|
||||
|
||||
|
3
rpminspect.yaml
Normal file
3
rpminspect.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
inspections:
|
||||
badfuncs: off
|
Loading…
Reference in New Issue
Block a user