convert groff-doc to noarch package

This commit is contained in:
Jan Vcelak 2011-09-16 20:13:49 +02:00
parent c26a2e5ef8
commit 0f1a26405c

View File

@ -78,6 +78,7 @@ xtotroff (converts X font metrics into groff font metrics).
%package doc
Summary: Documentation for groff document formatting system
Group: Documentation
BuildArch: noarch
Requires: groff = %{version}-%{release}
Requires(post): info
Requires(preun): info
@ -142,6 +143,13 @@ rm -f %{buildroot}%{_infodir}/dir
chmod 755 %{buildroot}%{_datadir}/groff/%{version}/groffer/version.sh
chmod 755 %{buildroot}%{_datadir}/groff/%{version}/font/devlj4/generate/special.awk
# remove CreationDate from documentation
pushd %{buildroot}%{_docdir}/%{name}-%{version}
find -name "*.html" | xargs sed -i "/^<!-- CreationDate: /d"
find -name "*.ps" | xargs sed -i "/^%%%%CreationDate: /d"
popd
%clean
rm -rf %{buildroot}
@ -405,6 +413,7 @@ fi
- new subpackage: groff-base (minimal for manual page rendering)
- move shared data used by gxditview to groff-x11 subpackage
- move groff reference manual to groff-doc subpackage
- make groff-doc an architecture independent package
* Fri Jun 17 2011 Jan Vcelak <jvcelak@redhat.com> 1.21-3
- fix #678572: groffer libdir is incorrect