Installed /var/lib/brltty directory

Related: rhbz#2042412
This commit is contained in:
Jaroslav Škarvada 2022-01-20 19:31:25 +01:00
parent c64e069f8d
commit e83eee0d95

View File

@ -38,7 +38,7 @@
Name: brltty
Version: %{pkg_version}
Release: 3%{?dist}
Release: 4%{?dist}
License: LGPLv2+
URL: http://brltty.app/
Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz
@ -477,6 +477,9 @@ done
# don't want static lib
rm -rf %{buildroot}/%{_libdir}/libbrlapi.a
# create /var/lib/brltty directory
mkdir -p %{buildroot}%{_localstatedir}/lib/brltty
# ghost brlapi.key
touch %{buildroot}%{_sysconfdir}/brlapi.key
chmod 0640 %{buildroot}%{_sysconfdir}/brlapi.key
@ -533,6 +536,7 @@ fi
%ldconfig_postun -n brlapi
%files -f %{name}.lang
%dir %{_localstatedir}/lib/brltty
%config(noreplace) %{_sysconfdir}/brltty.conf
%{_sysconfdir}/brltty/
%exclude %{_sysconfdir}/brltty/Initramfs
@ -644,6 +648,10 @@ fi
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline
%changelog
* Thu Jan 20 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.4-4
- Installed /var/lib/brltty directory
Related: rhbz#2042412
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild