[packages/dokuwiki-plugin-data] Fix find lang
glen
glen at pld-linux.org
Sun Mar 26 23:18:36 CEST 2023
commit 76fb7000e4bf83c47ff77806b7fb7447657c9d64
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Mar 27 00:01:45 2023 +0300
Fix find lang
dokuwiki-plugin-data.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/dokuwiki-plugin-data.spec b/dokuwiki-plugin-data.spec
index 4b7b95a..3769de6 100644
--- a/dokuwiki-plugin-data.spec
+++ b/dokuwiki-plugin-data.spec
@@ -5,7 +5,7 @@
Summary: DokuWiki Structured Data Plugin
Name: dokuwiki-plugin-%{plugin}
Version: %{ver}
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/WWW
Source0: https://github.com/splitbrain/dokuwiki-plugin-%{plugin}/archive/%{subver}/%{plugin}-%{subver}.tar.gz
@@ -15,10 +15,11 @@ Patch2: separator-style.patch
Patch3: separate-rpmdb.patch
Patch4: cache-enable.patch
BuildRequires: rpm-php-pearprov
+BuildRequires: rpmbuild(find_lang) >= 1.41
BuildRequires: rpmbuild(macros) >= 1.520
-Requires: php(core) >= %{php_min_version}
Requires: dokuwiki >= 20090214b-5
Requires: dokuwiki-plugin-sqlite >= 20130508
+Requires: php(core) >= %{php_min_version}
Requires: php(pcre)
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,7 +28,6 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define dokudir /usr/share/dokuwiki
%define metadir /var/lib/dokuwiki/meta
%define plugindir %{dokudir}/lib/plugins/%{plugin}
-%define find_lang %{_usrlibrpm}/dokuwiki-find-lang.sh %{buildroot}
# no pear deps
%define _noautopear pear
@@ -77,7 +77,7 @@ touch $RPM_BUILD_ROOT%{metadir}/data.sqlite
touch $RPM_BUILD_ROOT%{metadir}/data.sqlite3
# find locales
-%find_lang %{name}.lang
+%find_lang %{name}.lang --with-dokuwiki
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki-plugin-data.git/commitdiff/76fb7000e4bf83c47ff77806b7fb7447657c9d64
More information about the pld-cvs-commit
mailing list