From 52dfc3db3a90d4a059dfacb3e947f99a18742479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 12 Dec 2018 00:25:59 +0100 Subject: [PATCH] Do not package documentation for dracut module twice --- brltty.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/brltty.spec b/brltty.spec index 356773e..a884a58 100644 --- a/brltty.spec +++ b/brltty.spec @@ -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 - 5.6-31 +- Do not package documentation for dracut module twice + * Tue Dec 11 2018 Jaroslav Škarvada - 5.6-30 - Rebased dracut support to upstream version - Added requires to subpackages