[packages/php-markdown] php deps

glen glen at pld-linux.org
Tue Oct 30 17:20:02 CET 2012


commit 4c6658db835cc497aa313ae65587bbd363872742
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 30 18:20:00 2012 +0200

    php deps

 php-markdown.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/php-markdown.spec b/php-markdown.spec
index 07dfc0e..9cd54a0 100644
--- a/php-markdown.spec
+++ b/php-markdown.spec
@@ -1,8 +1,9 @@
 %define		php_min_version 5.0.0
+%include	/usr/lib/rpm/macros.php
 Summary:	Markdown text-to-html converter
 Name:		php-markdown
 Version:	1.0.1o
-Release:	1
+Release:	2
 License:	BSD-Style License
 Group:		Development/Languages/PHP
 Source0:	http://littoral.michelf.ca/code/php-markdown/%{name}-%{version}.zip
@@ -11,10 +12,14 @@ URL:		http://michelf.ca/projects/php-markdown/
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.610
 BuildRequires:	unzip
-Requires:	php-common >= 4:%{php_min_version}
+Requires:	php(core) >= %{php_min_version}
+Requires:	php(pcre)
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noautopear	pear
+%define		_noautoreq	%{?_noautophp} %{?_noautopear}
+
 %description
 PHP Markdown is a port to PHP of the Markdown program written by John
 Gruber. Markdown is two things: a plain text markup syntax, and a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-markdown.git/commitdiff/4c6658db835cc497aa313ae65587bbd363872742



More information about the pld-cvs-commit mailing list