[packages/dokuwiki-plugin-prosemirror] remove "script", replace with bundle.js
glen
glen at pld-linux.org
Mon Jan 21 12:34:22 CET 2019
commit bbd5decefb6480ae117561120f0cd907fa8aa9df
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Jan 21 13:14:32 2019 +0200
remove "script", replace with bundle.js
bundle.js obtained from "release" branch:
- https://github.com/cosmocode/dokuwiki-plugin-prosemirror/tree/release
which seems to be uploaded by travis release job:
- https://github.com/cosmocode/dokuwiki-plugin-prosemirror/blob/2018-10-19/.travis.yml#L37-L46
dokuwiki-plugin-prosemirror.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/dokuwiki-plugin-prosemirror.spec b/dokuwiki-plugin-prosemirror.spec
index 39d0bb6..9c0e207 100644
--- a/dokuwiki-plugin-prosemirror.spec
+++ b/dokuwiki-plugin-prosemirror.spec
@@ -11,6 +11,8 @@ License: GPL v2
Group: Applications/WWW
Source0: https://github.com/cosmocode/dokuwiki-plugin-prosemirror/archive/%{subver}/%{plugin}-%{subver}.tar.gz
# Source0-md5: 1dec404a752dea552c6ec5558aaaa456
+Source1: https://github.com/cosmocode/dokuwiki-plugin-prosemirror/raw/release/lib/bundle.js
+# Source1-md5: fa014eb4bc9a97759aded6ebcc6b468f
URL: https://www.dokuwiki.org/plugin:prosemirror
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.553
@@ -38,8 +40,9 @@ A WYSIWYG editor for DokuWiki based on ProseMirror.
%prep
%setup -qc
-# for github urls:
mv *-%{plugin}-*/{.??*,*} .
+install -d lib
+cp -p %{SOURCE1} lib
# nothing to do with tests
# and other development cruft
@@ -56,6 +59,8 @@ mv *-%{plugin}-*/{.??*,*} .
%{__rm} stylelint.config.js
%{__rm} webpack.config.js
%{__rm} yarn.lock
+# sources, confuses dokuwiki
+%{__rm} -r script
%build
version=$(awk '/^date/{print $2}' plugin.info.txt)
@@ -91,6 +96,6 @@ fi
%{plugindir}/*.txt
%{plugindir}/action
%{plugindir}/conf
+%{plugindir}/lib
%{plugindir}/parser
%{plugindir}/schema
-%{plugindir}/script
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki-plugin-prosemirror.git/commitdiff/bbd5decefb6480ae117561120f0cd907fa8aa9df
More information about the pld-cvs-commit
mailing list