[js-CodeMirror] Install JAR file into stapler-adjunct-codemirror/ subdir
Michal Srb
msrb at fedoraproject.org
Wed Apr 2 06:32:56 UTC 2014
commit c5c82bee69e7d5ba66643df012f4adb355e33f17
Author: Michal Srb <msrb at redhat.com>
Date: Wed Apr 2 08:31:51 2014 +0200
Install JAR file into stapler-adjunct-codemirror/ subdir
js-CodeMirror.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/js-CodeMirror.spec b/js-CodeMirror.spec
index c643be0..7622299 100644
--- a/js-CodeMirror.spec
+++ b/js-CodeMirror.spec
@@ -3,7 +3,7 @@
Name: js-CodeMirror
Version: 4.0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: In-browser code editor
License: MIT
@@ -41,11 +41,14 @@ Stapler Web Framework.
%prep
%setup -q -n %{uname}-%{version}
+
cmdest="src/main/resources/org/kohsuke/stapler/codemirror"
mkdir -p %{stapadj}/${cmdest}
cp -r lib/ mode/ theme/ %{stapadj}/${cmdest}
pushd %{stapadj}
+%mvn_file : %{stapadj}/%{stapadj}
+
# this special file header is needed by stapler
for modejs in ${cmdest}/mode/*/*.js
do
@@ -77,6 +80,9 @@ popd
%doc LICENSE
%changelog
+* Wed Apr 02 2014 Michal Srb <msrb at redhat.com> - 4.0.3-2
+- Install JAR file into stapler-adjunct-codemirror/ subdir
+
* Wed Mar 26 2014 Michal Srb <msrb at redhat.com> - 4.0.3-1
- Initial packaging
More information about the scm-commits
mailing list