[packages/lessphp] build with fixed php deps
glen
glen at pld-linux.org
Wed Dec 21 22:25:30 CET 2016
commit d9261acc19d60a86a11f114b4d02a821ad87d460
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Dec 21 23:25:18 2016 +0200
build with fixed php deps
lessphp.spec | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/lessphp.spec b/lessphp.spec
index 52c2dde..be87981 100644
--- a/lessphp.spec
+++ b/lessphp.spec
@@ -1,13 +1,21 @@
+%define php_min_version 5.1.0
+%include /usr/lib/rpm/macros.php
Summary: lessphp is a compiler for LESS written in PHP
Name: lessphp
Version: 0.5.0
-Release: 1
+Release: 2
License: MIT/GPL v3
Group: Applications
Source0: https://github.com/leafo/lessphp/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 85fc1d7734e4e146566681418c69ead6
Patch0: fixes.patch
URL: http://leafo.net/lessphp/
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: /usr/bin/php
+Requires: php(core) >= %{php_min_version}
+Requires: php(ctype)
+Requires: php(date)
+Requires: php(pcre)
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lessphp.git/commitdiff/d9261acc19d60a86a11f114b4d02a821ad87d460
More information about the pld-cvs-commit
mailing list