install manpages by hand; less datadir doc files to be removed
This commit is contained in:
parent
0443c657f3
commit
313eee0fc1
@ -183,10 +183,13 @@ touch %{buildroot}%{_bindir}/%{name}
|
||||
rm %{buildroot}%{_pkgdocdir}/COPYING
|
||||
%endif
|
||||
|
||||
rm %{buildroot}%{_datadir}/%{name}-%{version}/{BUGS,COPYRIGHT,INSTALL,README,changelog}
|
||||
rm %{buildroot}%{_datadir}/%{name}-%{version}/{COPYRIGHT,README}
|
||||
|
||||
ln -s pandoc %{buildroot}%{_bindir}/hsmarkdown
|
||||
|
||||
install -m 0644 -p -D man/man1/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
||||
install -m 0644 -p -D man/man5/pandoc_markdown.5 %{buildroot}%{_mandir}/man5/pandoc_markdown.5
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user