[packages/python3-rst2pdf] - package more basic doc files; stop on gen_docs.sh error
qboosh
qboosh at pld-linux.org
Tue Jun 28 21:50:37 CEST 2022
commit bd0934be2c329b621a9ba92d68f1a8ac731f5c56
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jun 28 21:52:11 2022 +0200
- package more basic doc files; stop on gen_docs.sh error
python3-rst2pdf.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python3-rst2pdf.spec b/python3-rst2pdf.spec
index 7fe987b..081cb3d 100644
--- a/python3-rst2pdf.spec
+++ b/python3-rst2pdf.spec
@@ -60,7 +60,7 @@ Podręcznik do biblioteki rst2pdf.
%prep
%setup -q -n rst2pdf-%{version}
-%{__sed} -i -e 's,python ,%{__python3} ,' doc/gen_docs.sh
+%{__sed} -i -e '2iset -eu' -e 's,python ,%{__python3} ,' doc/gen_docs.sh
%build
%py3_build
@@ -88,7 +88,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.rst
+%doc CHANGES.rst Contributors.txt LICENSE.txt README.rst
%attr(755,root,root) %{_bindir}/rst2pdf
%attr(755,root,root) %{_bindir}/rst2pdf-3
%{py3_sitescriptdir}/rst2pdf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-rst2pdf.git/commitdiff/bd0934be2c329b621a9ba92d68f1a8ac731f5c56
More information about the pld-cvs-commit
mailing list