Include local state dir (RHEL-66427)

This commit is contained in:
Link Dupont 2024-11-07 11:39:45 -05:00
parent bee19bdaf9
commit 000dedb734

View File

@ -65,6 +65,7 @@ export %gomodulesmode
%meson_install %meson_install
%__install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.toml %__install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.toml
%__install -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf %__install -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
%__install -d -m 0755 %{buildroot}%{_localstatedir}/lib/yggdrasil
%if %{with check} %if %{with check}
%check %check
@ -101,6 +102,7 @@ export %gomodulesmode
%{_datadir}/dbus-1/{interfaces,system-services,system.d}/* %{_datadir}/dbus-1/{interfaces,system-services,system.d}/*
%{_datadir}/doc/%{name}/* %{_datadir}/doc/%{name}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%attr(0755, yggdrasil, yggdrasil) %{_localstatedir}/lib/yggdrasil
%files devel %files devel
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc