summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rpm')
-rw-r--r--pkg/rpm/Makefile.jsc114
-rw-r--r--pkg/rpm/Makefile.jsc84
2 files changed, 8 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.jsc11 b/pkg/rpm/Makefile.jsc11
index d0f80b9b..1dadaba0 100644
--- a/pkg/rpm/Makefile.jsc11
+++ b/pkg/rpm/Makefile.jsc11
@@ -27,6 +27,8 @@ define MODULE_PREINSTALL_jsc11
%{buildroot}%{_datadir}/doc/unit-jsc11/examples/jsc-app/index.jsp
%{__install} -m 644 -p %{SOURCE101} \
%{buildroot}%{_datadir}/doc/unit-jsc11/examples/unit.config
+%{__install} -m 644 -p %{bdir}/src/java/README.JSR-340 \
+ %{buildroot}%{_datadir}/doc/unit-jsc8/
endef
export MODULE_PREINSTALL_jsc11
@@ -59,6 +61,8 @@ To check out the sample app, run these commands:
Online documentation is available at https://unit.nginx.org
+`cat /usr/share/doc/unit-jsc11/README.JSR-340`
+
----------------------------------------------------------------------
BANNER
endef
diff --git a/pkg/rpm/Makefile.jsc8 b/pkg/rpm/Makefile.jsc8
index 80c06427..919e8f06 100644
--- a/pkg/rpm/Makefile.jsc8
+++ b/pkg/rpm/Makefile.jsc8
@@ -27,6 +27,8 @@ define MODULE_PREINSTALL_jsc8
%{buildroot}%{_datadir}/doc/unit-jsc8/examples/jsc-app/index.jsp
%{__install} -m 644 -p %{SOURCE101} \
%{buildroot}%{_datadir}/doc/unit-jsc8/examples/unit.config
+%{__install} -m 644 -p %{bdir}/src/java/README.JSR-340 \
+ %{buildroot}%{_datadir}/doc/unit-jsc8/
endef
export MODULE_PREINSTALL_jsc8
@@ -59,6 +61,8 @@ To check out the sample app, run these commands:
Online documentation is available at https://unit.nginx.org
+`cat /usr/share/doc/unit-jsc8/README.JSR-340`
+
----------------------------------------------------------------------
BANNER
endef