Do not package documentation for dracut module twice

This commit is contained in:
Jaroslav Škarvada 2018-12-12 00:25:59 +01:00
parent a9ca3736dc
commit 52dfc3db3a

View File

@ -33,7 +33,7 @@
Name: brltty
Version: %{pkg_version}
Release: 30%{?dist}
Release: 31%{?dist}
License: LGPLv2+
URL: http://brltty.app/
Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz
@ -403,11 +403,15 @@ cp -p %{name}.lang ../
/usr/bin/2to3 -wn ${RPM_BUILD_ROOT}/etc/brltty/Contraction/latex-access.ctb
sed -i 's|/usr/bin/python|%{__python3}|g' ${RPM_BUILD_ROOT}/etc/brltty/Contraction/latex-access.ctb
#install dracut module
# install dracut module
make install-dracut
popd
# drop documentation already instaled by the dracut subpackage
rm -f doc/Initramfs/Dracut/README*
rmdir doc/Initramfs/Dracut doc/Initramfs
%post
%systemd_post brltty.service
@ -532,6 +536,9 @@ fi
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline
%changelog
* Tue Dec 11 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 5.6-31
- Do not package documentation for dracut module twice
* Tue Dec 11 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 5.6-30
- Rebased dracut support to upstream version
- Added requires to subpackages