File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ BuildRequires: python3dist(grpcio[protobuf])
3333BuildRequires: python3dist(grpcio-tools)
3434BuildRequires: git-core
3535BuildRequires: gcc-c++
36- BuildRequires: (glibc-devel >= 2.38) or pkgconfig(libbsd-overlay)
3736BuildRequires: pkgconfig(yaml-cpp)
3837BuildRequires: pkgconfig(libgpiod)
3938BuildRequires: pkgconfig(bluez)
@@ -50,6 +49,13 @@ BuildRequires: pkgconfig(x11)
5049BuildRequires: pkgconfig(libinput)
5150BuildRequires: pkgconfig(xkbcommon-x11)
5251
52+ # libbsd is needed on older Fedora/RHEL to provide 'strlcpy'
53+ %if 0%{?fedora} >= 41 || 0%{?rhel} >= 9
54+ BuildRequires: glibc-devel >= 2.38
55+ %else
56+ BuildRequires: pkgconfig(libbsd-overlay)
57+ %endif
58+
5359Requires: systemd-udev
5460
5561%description
You can’t perform that action at this time.
0 commit comments