[packages/dokuwiki-plugin-revlink] update for rpm5
glen
glen at pld-linux.org
Sat Dec 22 15:03:53 CET 2018
commit b2ec9857ff622ccd28420fc34d6aa1c5fd11e28e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Dec 22 16:03:47 2018 +0200
update for rpm5
dokuwiki-plugin-revlink.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/dokuwiki-plugin-revlink.spec b/dokuwiki-plugin-revlink.spec
index ddcb101..32bfa86 100644
--- a/dokuwiki-plugin-revlink.spec
+++ b/dokuwiki-plugin-revlink.spec
@@ -1,13 +1,15 @@
%define plugin revlink
+%define php_min_version 5.3.0
+%include /usr/lib/rpm/macros.php
Summary: DokuWiki revlink plugin
Name: dokuwiki-plugin-%{plugin}
Version: 20090125
Release: 1
License: GPL v2
Group: Applications/WWW
-Source0: http://www.dokuwiki.org/_export/code/plugin:revlink?codeblock=0#/syntax.php
+Source0: http://www.dokuwiki.org/_export/code/plugin:revlink?codeblock=0&/syntax.php
# Source0-md5: dc4cb942df8aeda0c22753f7901478f2
-URL: http://www.dokuwiki.org/plugin:revlink
+URL: https://www.dokuwiki.org/plugin:revlink
BuildRequires: rpmbuild(macros) >= 1.520
Requires: dokuwiki >= 20090125
BuildArch: noarch
@@ -23,8 +25,9 @@ of page.
%prep
%setup -qcT
-cp -a %{SOURCE0} .
+cp -p %{SOURCE0} .
+%build
version=$(awk -F"'" '/date/&&/=>/{print $4}' syntax.php)
if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
: %%{version} mismatch
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki-plugin-revlink.git/commitdiff/b2ec9857ff622ccd28420fc34d6aa1c5fd11e28e
More information about the pld-cvs-commit
mailing list