]> git.pld-linux.org Git - packages/dokuwiki-plugin-note.git/commitdiff
attempt to fix toc conflict auto/th/dokuwiki-plugin-note-20090615-2
authorElan Ruusamäe <glen@delfi.ee>
Mon, 24 Aug 2015 06:46:46 +0000 (09:46 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 24 Aug 2015 06:46:46 +0000 (09:46 +0300)
https://www.dokuwiki.org/plugin:note#conflict_with_toc

dokuwiki-plugin-note.spec
toc-fix.patch [new file with mode: 0644]

index ee7e9edab15d189488cb8d22e39ae0696142b917..28b0d2a7aba5f459e59280c8b2daa550dd98404a 100644 (file)
@@ -2,11 +2,12 @@
 Summary:       DokuWiki note plugin
 Name:          dokuwiki-plugin-%{plugin}
 Version:       20090615
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-%{plugin}-%{version}.tgz
 # Source0-md5: 9121176dcb0c83ebd1d9008e949191ec
+Patch0:                toc-fix.patch
 URL:           http://www.dokuwiki.org/plugin:note
 BuildRequires: rpmbuild(macros) >= 1.520
 Requires:      dokuwiki >= 20090214
@@ -24,6 +25,7 @@ This plugin allows you to create nice notes in your DokuWiki pages.
 %setup -qc
 mv %{plugin}/* .
 rm %{plugin}/.gitignore
+%patch0 -p1
 
 version=$(awk '/date/{print $2}' info.txt)
 if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
diff --git a/toc-fix.patch b/toc-fix.patch
new file mode 100644 (file)
index 0000000..5cdb034
--- /dev/null
@@ -0,0 +1,14 @@
+--- note/style.css~    2015-08-24 09:44:10.000000000 +0300
++++ note/style.css     2015-08-24 09:44:11.880672429 +0300
+@@ -1,10 +1,7 @@
+ .noteclassic, .noteimportant, .notewarning, .notetip {
+   margin: 2em;
+-  margin-left: auto;
+-  margin-right: auto;
+-  width: 70% !important;
++  width: 65% !important;
+   min-height: 40px;
+-  clear: both;
+   text-align: justify;
+   vertical-align: middle;
+   border-collapse: collapse;
This page took 0.066461 seconds and 4 git commands to generate.