Skip to content

Commit ec5e795

Browse files
authored
Don't trust the AI! (#8659)
Read the docs instead
1 parent 438e170 commit ec5e795

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

meshtasticd.spec.rpkg

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ BuildRequires: python3dist(grpcio[protobuf])
3333
BuildRequires: python3dist(grpcio-tools)
3434
BuildRequires: git-core
3535
BuildRequires: gcc-c++
36-
BuildRequires: (glibc-devel >= 2.38) or pkgconfig(libbsd-overlay)
3736
BuildRequires: pkgconfig(yaml-cpp)
3837
BuildRequires: pkgconfig(libgpiod)
3938
BuildRequires: pkgconfig(bluez)
@@ -50,6 +49,13 @@ BuildRequires: pkgconfig(x11)
5049
BuildRequires: pkgconfig(libinput)
5150
BuildRequires: 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+
5359
Requires: systemd-udev
5460

5561
%description

0 commit comments

Comments
 (0)