[packages/dokuwiki-plugin-editx] Up to 20160207
arekm
arekm at pld-linux.org
Thu Jul 18 11:30:25 CEST 2024
commit 9addd41e9293970d99ffb2cae0444ab0f65c7816
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jul 18 10:23:27 2024 +0200
Up to 20160207
dokuwiki-plugin-editx.spec | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/dokuwiki-plugin-editx.spec b/dokuwiki-plugin-editx.spec
index 92e121a..c44bda1 100644
--- a/dokuwiki-plugin-editx.spec
+++ b/dokuwiki-plugin-editx.spec
@@ -2,12 +2,12 @@
%define php_min_version 5.0.0
Summary: DokuWiki editx plugin
Name: dokuwiki-plugin-%{plugin}
-Version: 20140919
+Version: 20160207
Release: 1
License: GPL v2
Group: Applications/WWW
Source0: https://github.com/danny0838/dw-editx/tarball/master/%{plugin}-%{version}.tar.gz
-# Source0-md5: ea5edbf984caf7ed901979bb8051a94b
+# Source0-md5: dbc337cf034cefb1ecd9a686c0de97d4
URL: https://www.dokuwiki.org/plugin:editx
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.553
@@ -22,7 +22,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define dokuconf /etc/webapps/dokuwiki
%define dokudir /usr/share/dokuwiki
%define plugindir %{dokudir}/lib/plugins/%{plugin}
-%define find_lang %{_usrlibrpm}/dokuwiki-find-lang.sh %{buildroot}
+%define find_lang %{_prefix}/lib/rpm/dokuwiki-find-lang.sh %{buildroot}
%description
Extended edit functions such as renaming or deleting a page.
@@ -32,11 +32,12 @@ Extended edit functions such as renaming or deleting a page.
mv *%{plugin}*/* .
%undos -f php
-version=$(awk '/^date/{print $2}' plugin.info.txt)
-if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
- : %%{version} mismatch
- exit 1
-fi
+# using date from latest commit
+#version=$(awk '/^date/{print $2}' plugin.info.txt)
+#if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
+# : %%{version} mismatch
+# exit 1
+#fi
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki-plugin-editx.git/commitdiff/9addd41e9293970d99ffb2cae0444ab0f65c7816
More information about the pld-cvs-commit
mailing list