summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-03-01 18:16:57 +0300
committerAndrei Belov <defan@nginx.com>2019-03-01 18:16:57 +0300
commit1b0595c74c62a73741f96794651fe284e4c1ec86 (patch)
tree9728d2487b28756bccc83eb32b19216e910a6940 /pkg/rpm
parent754b85c3eedc6717b9bb94fe82a80f36f25a3e9f (diff)
downloadunit-1b0595c74c62a73741f96794651fe284e4c1ec86.tar.gz
unit-1b0595c74c62a73741f96794651fe284e4c1ec86.tar.bz2
Packages: added JSR-340 compatibility notice to unit-jsc packages.
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