Blame SPECS/wireless-regdb.spec

9110e8
%global         _firmwarepath    /usr/lib/firmware
9110e8
9110e8
Name:           wireless-regdb
9110e8
Version:        2020.11.20
9110e8
Release:        6%{?dist}
9110e8
Summary:        Regulatory database for 802.11 wireless networking
9110e8
9110e8
License:        ISC
9110e8
URL:            https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb
9110e8
BuildArch:      noarch
9110e8
9110e8
Requires:       udev, iw
9110e8
Requires:       systemd >= 190
9110e8
9110e8
BuildRequires: make
9110e8
BuildRequires:  systemd-devel
9110e8
9110e8
Provides:       crda = 3.19-1
9110e8
Obsoletes:      crda < 3.19-1
9110e8
9110e8
Source0:        http://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-%{version}.tar.xz
9110e8
Source1:        setregdomain
9110e8
Source2:        setregdomain.1
9110e8
Source3:        85-regulatory.rules
9110e8
9110e8
9110e8
%description
9110e8
The wireless-regdb package provides the regulatory rules database
9110e8
used by the kernels 802.11 networking stack in order to comply 
9110e8
with radio frequency regulatory rules around the world.
9110e8
9110e8
9110e8
%prep
9110e8
%setup -q
9110e8
9110e8
9110e8
%build
9110e8
: # Package installs a firmware-like, prebuilt binary from upstream...
9110e8
9110e8
9110e8
%install
9110e8
make install DESTDIR=%{buildroot} MANDIR=%{_mandir} \
9110e8
	FIRMWARE_PATH=%{_firmwarepath}
9110e8
9110e8
install -D -pm 0755 %SOURCE1 %{buildroot}%{_sbindir}/setregdomain
9110e8
install -D -pm 0644 %SOURCE2 %{buildroot}%{_mandir}/man1/setregdomain.1
9110e8
install -D -pm 0644 %SOURCE3 %{buildroot}%{_udevrulesdir}/85-regulatory.rules
9110e8
9110e8
rm -rf %{buildroot}/usr/lib/crda
9110e8
9110e8
9110e8
%files
9110e8
%{_sbindir}/setregdomain
9110e8
%{_udevrulesdir}/85-regulatory.rules
9110e8
%{_firmwarepath}/regulatory.db
9110e8
%{_firmwarepath}/regulatory.db.p7s
9110e8
%{_mandir}/man1/setregdomain.1*
9110e8
%{_mandir}/man5/regulatory.db.5*
9110e8
%{_mandir}/man5/regulatory.bin.5*
9110e8
%license LICENSE
9110e8
%doc README
9110e8
9110e8
9110e8
%changelog
9110e8
* Mon Nov 22 2021 Michal Schmidt <mschmidt@redhat.com> - 2020.11.20-6
9110e8
- To let the Obsoletes fix land, enable gating, bump release.
9110e8
- Resolves: rhbz#1997398
9110e8
9110e8
* Thu Nov 18 2021 Michal Schmidt <mschmidt@redhat.com> - 2020.11.20-5
9110e8
- Update crda Provides/Obsoletes to cover the version in RHEL 8.
9110e8
- Resolves: rhbz#1997398
9110e8
9110e8
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2020.11.20-4
9110e8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9110e8
  Related: rhbz#1991688
9110e8
9110e8
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2020.11.20-3
9110e8
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9110e8
9110e8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.11.20-2
9110e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9110e8
9110e8
* Wed Dec 09 2020 John W. Linville <linville@redhat.com> - 2020.11.20-1
9110e8
- Update to version 2020.11.20 from upstream
9110e8
9110e8
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2020.04.29-2
9110e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9110e8
9110e8
* Thu May 21 2020 John W. Linville <linville@redhat.com> - 2020.04.29-1
9110e8
- Update to version 2020.04.29 from upstream
9110e8
9110e8
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.06.03-6
9110e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9110e8
9110e8
* Wed Aug 28 2019 John W. Linville <linville@redhat.com> - 2019.06.03-5
9110e8
- Remove patch preventing install of regulatory.bin.5 man page
9110e8
- Include regulatory.bin.5 man page in distributed files
9110e8
9110e8
* Mon Aug 26 2019 John W. Linville <linville@redhat.com> - 2019.06.03-4
9110e8
- Bump crda Provides and Obsoletes to ensure proper upgrades
9110e8
9110e8
* Mon Aug 05 2019 John W. Linville <linville@redhat.com> - 2019.06.03-3
9110e8
- remove Requires for kernel
9110e8
9110e8
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.06.03-2
9110e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9110e8
9110e8
* Thu Jun 06 2019 John W. Linville <linville@redhat.com> - 2019.06.03-1
9110e8
- Update to version 2019.06.03 from upstream
9110e8
9110e8
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2018.05.31-5
9110e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9110e8
9110e8
* Thu Aug 02 2018 John W. Linville <linville@redhat.com> - 2018.05.31-4
9110e8
- Enable Provides for crda so as to promote automated upgrades
9110e8
9110e8
* Wed Jul 18 2018 John W. Linville <linville@redhat.com> - 2018.05.31-3
9110e8
- Fix-up changelog typos and bump Release
9110e8
9110e8
* Wed Jul 18 2018 John W. Linville <linville@redhat.com> - 2018.05.31-2
9110e8
- Add BuildRequires for systemd-devel to provide _udevrulesdir definition
9110e8
9110e8
* Fri Jul 06 2018 John W. Linville <linville@redhat.com> - 2018.05.31-1
9110e8
- Initial build