hostapd.spec: fix epel8 build

Wen Liang reports broken epel-8 build:

 warning: bogus date in %changelog: Wed Feb 10 2020 John W. Linville <linville@redhat.com> - 2.9-8
 error: %changelog not in descending chronological order
 Building target platforms: x86_64
 Building for target x86_64
 Child return code was: 1
 EXCEPTION: [Error()]
 Traceback (most recent call last):
   File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace
     result = func(*args, **kw)
   File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status
     raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
 mockbuild.exception.Error: Command failed:
  # /usr/bin/systemd-nspawn -q -M 4eae1262853849cb90a68b2530c56ec9 -D /var/lib/mock/epel-8-x86_64-1614259728.189540/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dwh8zvk0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hostapd.spec

fixing a bogus year (2020 -> 2021) proved to restore buildability.

Reported-by: Wen Liang <wenliang@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
This commit is contained in:
Davide Caratti 2021-02-25 15:01:17 +01:00
parent b4896ec838
commit 2692cea480

View File

@ -195,7 +195,7 @@ fi
%{_sysconfdir}/logwatch/scripts/services/%{name}
%changelog
* Wed Feb 10 2020 John W. Linville <linville@redhat.com> - 2.9-8
* Wed Feb 10 2021 John W. Linville <linville@redhat.com> - 2.9-8
- Add hostapd.conf.5 man file, with content borrowed from NetBSD
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-7