[packages/stikked] requires pcre and mysql ext to even start

glen glen at pld-linux.org
Fri Mar 28 23:23:40 CET 2014


commit 92beeb7507c20b1ac93f5d1c34ca69c745150c71
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 29 00:23:36 2014 +0200

    requires pcre and mysql ext to even start

 stikked.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/stikked.spec b/stikked.spec
index c77afd3..ff8ea30 100644
--- a/stikked.spec
+++ b/stikked.spec
@@ -1,3 +1,6 @@
+# TODO
+# - system geshi
+%define		php_min_version 5.2.4
 Summary:	Stikked is an Open-Source PHP Pastebin
 Name:		stikked
 Version:	0.8.6
@@ -11,6 +14,9 @@ Source2:	lighttpd.conf
 Patch0:		config.patch
 URL:		https://github.com/claudehohl/Stikked
 BuildRequires:	rpmbuild(macros) >= 1.553
+Requires:	php(core) >= %{php_min_version}
+Requires:	php(mysql)
+Requires:	php(pcre)
 Requires:	webapps
 Requires:	webserver(access)
 Requires:	webserver(alias)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/stikked.git/commitdiff/92beeb7507c20b1ac93f5d1c34ca69c745150c71



More information about the pld-cvs-commit mailing list