Do not package documentation for dracut module twice
This commit is contained in:
parent
a9ca3736dc
commit
52dfc3db3a
11
brltty.spec
11
brltty.spec
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
Name: brltty
|
Name: brltty
|
||||||
Version: %{pkg_version}
|
Version: %{pkg_version}
|
||||||
Release: 30%{?dist}
|
Release: 31%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://brltty.app/
|
URL: http://brltty.app/
|
||||||
Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz
|
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
|
/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
|
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
|
make install-dracut
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# drop documentation already instaled by the dracut subpackage
|
||||||
|
rm -f doc/Initramfs/Dracut/README*
|
||||||
|
rmdir doc/Initramfs/Dracut doc/Initramfs
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post brltty.service
|
%systemd_post brltty.service
|
||||||
|
|
||||||
@ -532,6 +536,9 @@ fi
|
|||||||
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline
|
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Dec 11 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 5.6-30
|
||||||
- Rebased dracut support to upstream version
|
- Rebased dracut support to upstream version
|
||||||
- Added requires to subpackages
|
- Added requires to subpackages
|
||||||
|
Loading…
Reference in New Issue
Block a user