Add BuildRequire for systemd-devel to provide _udevrulesdir definition

This commit is contained in:
John W. Linville 2018-07-18 14:15:28 -04:00
parent d45b7d49bb
commit f62c3b8b1f

View File

@ -2,7 +2,7 @@
Name: wireless-regdb
Version: 2018.05.31
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Regulatory database for 802.11 wireless networking
Group: System Environment/Base
@ -14,6 +14,8 @@ Requires: udev, iw
Requires: systemd >= 190
Requires: kernel >= 4.15
BuildRequires: systemd-devel
# Temporarily disable Provides so as to prevent unintended upgrades
#Provides: crda = 3.18_2018.05.31-3
Obsoletes: crda <= 3.18_2018.05.31-2
@ -64,5 +66,8 @@ install -D -pm 0644 %SOURCE3 %{buildroot}%{_udevrulesdir}/85-regulatory.rules
%changelog
* Fri Jul 06 2018 John W. Linville <linville@redhat.com> - 2018.05.31-2
- Add BuildRequire for systemd-devel to provide _udevrulesdir definition
* Fri Jul 06 2018 John W. Linville <linville@redhat.com> - 2018.05.31-1
- Initial build